1 # Makefile for syscall tables
2 #
3 # $FreeBSD$
4
5 all:
6 @echo "make sysent, isc_sysent or xenix_sysent only"
7
8 sysent: ibcs2_sysent.c ibcs2_syscall.h ibcs2_proto.h
9
10 ibcs2_sysent.c ibcs2_syscall.h ibcs2_proto.h: ../../kern/makesyscalls.sh \
11 syscalls.master syscalls.conf
12 -mv -f ibcs2_sysent.c ibcs2_sysent.c.bak
13 -mv -f ibcs2_syscall.h ibcs2_syscall.h.bak
14 -mv -f ibcs2_proto.h ibcs2_proto.h.bak
15 sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf
16
17 isc_sysent: ibcs2_isc_sysent.c ibcs2_isc_syscall.h
18
19 ibcs2_isc_sysent.c ibcs2_isc_syscall.h : ../../kern/makesyscalls.sh \
20 syscalls.isc syscalls.isc.conf
21 -mv -f ibcs2_isc_sysent.c ibcs2_isc_sysent.c.bak
22 -mv -f ibcs2_isc_syscall.h ibcs2_isc_syscall.h.bak
23 sh ../../kern/makesyscalls.sh syscalls.isc syscalls.isc.conf
24
25 xenix_sysent: ibcs2_xenix_sysent.c ibcs2_xenix_syscall.h ibcs2_xenix.h
26
27 ibcs2_xenix_sysent.c ibcs2_xenix_syscall.h ibcs2_xenix.h: \
28 ../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf
29 -mv -f ibcs2_xenix_sysent.c ibcs2_xenix_sysent.c.bak
30 -mv -f ibcs2_xenix_syscall.h ibcs2_xenix_syscall.h.bak
31 -mv -f ibcs2_xenix.h ibcs2_xenix.h.bak
32 sh ../../kern/makesyscalls.sh syscalls.xenix syscalls.xenix.conf
Cache object: 9abc6eb91ea359fb4c661a6fd81893b6
|