1 # Makefile for syscall tables
3 # $DragonFly: src/sys/emulation/svr4/Attic/Makefile.misc,v 1.1 2003/08/21 20:08:38 dillon Exp $
6 @echo "make sysent only"
8 # This regenerates the system calls
10 sysent: ${.CURDIR}/svr4_sysent.c
12 ${.CURDIR}/svr4_sysent.c ${.CURDIR}/svr4_syscall.h ${.CURDIR}/svr4_proto.h ${.CURDIR}/svr4_union.h: ${.CURDIR}/../../kern/makesyscalls.sh \
13 ${.CURDIR}/syscalls.master ${.CURDIR}/syscalls.conf
14 -mv -f ${.CURDIR}/svr4_sysent.c ${.CURDIR}/svr4_sysent.c.bak
15 -mv -f ${.CURDIR}/svr4_syscall.h ${.CURDIR}/svr4_syscall.h.bak
16 -mv -f ${.CURDIR}/svr4_proto.h ${.CURDIR}/svr4_proto.h.bak
17 -mv -f ${.CURDIR}/svr4_union.h ${.CURDIR}/svr4_union.h.bak
18 cd ${.CURDIR} && sh ../../kern/makesyscalls.sh syscalls.master syscalls.conf