put RCS ids in the output files. Not essential, but useful.

This commit is contained in:
perry 1998-01-05 18:09:44 +00:00
parent a69b5af889
commit 4dc846816b
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#! /bin/sh -
# $NetBSD: makesyscalls.sh,v 1.21 1996/12/22 06:45:14 cgd Exp $
# $NetBSD: makesyscalls.sh,v 1.22 1998/01/05 18:09:44 perry Exp $
#
# Copyright (c) 1994,1996 Christopher G. Demetriou
# All rights reserved.
@ -129,6 +129,7 @@ BEGIN {
printf "/*\n * System call switch table.\n *\n" > sysdcl
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysdcl
printf " * $NetBSD: makesyscalls.sh,v 1.22 1998/01/05 18:09:44 perry Exp $\n" > sysdcl
ncompat = split(compatopts,compat)
for (i = 1; i <= ncompat; i++) {
@ -147,14 +148,17 @@ BEGIN {
printf "/*\n * System call names.\n *\n" > sysnames
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames
printf " * $NetBSD: makesyscalls.sh,v 1.22 1998/01/05 18:09:44 perry Exp $\n" > sysnames
printf "\n/*\n * System call prototypes.\n */\n\n" > sysprotos
printf "/*\n * System call numbers.\n *\n" > sysnumhdr
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnumhdr
printf " * $NetBSD: makesyscalls.sh,v 1.22 1998/01/05 18:09:44 perry Exp $\n" > sysnumhdr
printf "/*\n * System call argument lists.\n *\n" > sysarghdr
printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarghdr
printf " * $NetBSD: makesyscalls.sh,v 1.22 1998/01/05 18:09:44 perry Exp $\n" > sysarghdr
}
NR == 1 {
printf " * created from%s\n */\n\n", $0 > sysdcl