1#! /bin/sh -
2# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
3# $Id: makesyscalls.sh,v 1.10 1994/11/06 21:57:16 ats Exp $
4
5set -e
6
7# name of compat option:
8compat=COMPAT_43
9
10# output files:
11sysnames="syscalls.c"
--- 38 unchanged lines hidden (view full) ---
50 printf "/*\n * System call numbers.\n *\n" > syshdr
51 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
52 printf "/*\n * System call hiders.\n *\n" > syshide
53 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshide
54 }
55 NR == 1 {
56 printf " * created from%s\n */\n\n", $0 > sysdcl
57 printf "#include <sys/param.h>\n" > sysdcl
58 printf "#include <sys/systm.h>\n" > sysdcl
59 printf "#include <sys/sysent.h>\n\n" > sysdcl
60
61 printf "struct sysent sysent[] = {\n" > sysent
62
63 printf " * created from%s\n */\n\n", $0 > sysnames
64 printf "char *syscallnames[] = {\n" > sysnames
65
66 printf " * created from%s\n */\n\n", $0 > syshdr
--- 127 unchanged lines hidden ---
2# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
3# $Id: makesyscalls.sh,v 1.10 1994/11/06 21:57:16 ats Exp $
4
5set -e
6
7# name of compat option:
8compat=COMPAT_43
9
10# output files:
11sysnames="syscalls.c"
--- 38 unchanged lines hidden (view full) ---
50 printf "/*\n * System call numbers.\n *\n" > syshdr
51 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
52 printf "/*\n * System call hiders.\n *\n" > syshide
53 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshide
54 }
55 NR == 1 {
56 printf " * created from%s\n */\n\n", $0 > sysdcl
57 printf "#include <sys/param.h>\n" > sysdcl
58 printf "#include <sys/systm.h>\n" > sysdcl
59 printf "#include <sys/sysent.h>\n\n" > sysdcl
60
61 printf "struct sysent sysent[] = {\n" > sysent
62
63 printf " * created from%s\n */\n\n", $0 > sysnames
64 printf "char *syscallnames[] = {\n" > sysnames
65
66 printf " * created from%s\n */\n\n", $0 > syshdr
--- 127 unchanged lines hidden ---