1 # Makefile for syscall tables
2 #
3 # $FreeBSD$
4
5 # Don't use an OBJDIR
6 .OBJDIR: ${.CURDIR}
7
8 MAKESYSCALLS= ../../kern/makesyscalls.sh
9 BASE_GENERATED= ibcs2_syscall.h \
10 ibcs2_sysent.c \
11 ibcs2_proto.h
12 ISC_GENERATED= ibcs2_isc_syscall.h \
13 ibcs2_isc_sysent.c
14 XENIX_GENERATED= ibcs2_xenix_syscall.h \
15 ibcs2_xenix_sysent.c \
16 ibcs2_xenix_proto.h
17
18 all:
19 @echo "make sysent, isc_sysent or xenix_sysent only"
20
21 .ORDER: ${BASE_GENERATED}
22 .ORDER: ${ISC_GENERATED}
23 .ORDER: ${XENIX_GENERATED}
24
25 sysent: ${BASE_GENERATED}
26 isc_sysent: ${ISC_GENERATED}
27 xenix_sysent: ${XENIX_GENERATED}
28
29 ${BASE_GENERATED}: ${MAKESYSCALLS} syscalls.master syscalls.conf
30 sh ${MAKESYSCALLS} syscalls.master syscalls.conf
31
32 ${ISC_GENERATED}: ${MAKESYSCALLS} syscalls.isc syscalls.isc.conf
33 sh ${MAKESYSCALLS} syscalls.isc syscalls.isc.conf
34
35 ${XENIX_GENERATED}: ${MAKESYSCALLS} syscalls.xenix syscalls.xenix.conf
36 sh ${MAKESYSCALLS} syscalls.xenix syscalls.xenix.conf
Cache object: 61a19cd6235623487796958809bc7036
|