6 .include <bsd.sysdir.mk>
8 COMMON_GENERATED= proto.h \
15 GENERATED?= ${COMMON_GENERATED:S/^/${GENERATED_PREFIX}/}
16 SYSENT_FILE?= syscalls.master
17 SYSENT_CONF?= syscalls.conf
19 # Including Makefile should override SYSENT_FILE and SYSENT_CONF as needed,
24 MAKESYSCALLS_INTERP?= sh
25 MAKESYSCALLS_SCRIPT?= ${SYSDIR}/kern/makesyscalls.sh
26 MAKESYSCALLS= ${MAKESYSCALLS_INTERP} ${MAKESYSCALLS_SCRIPT}
29 @echo "make sysent only"
31 # We .ORDER these explicitly so that we only run MAKESYSCALLS once, rather than
32 # potentially once for each ${GENERATED} file.
36 ${GENERATED}: ${MAKESYSCALLS_SCRIPT} ${SRCS}
37 ${MAKESYSCALLS} ${SYSENT_FILE} ${SYSENT_CONF}