NetBSD/sys/compat/svr4_32/Makefile

17 lines
645 B
Makefile

# $NetBSD: Makefile,v 1.2 2003/10/26 07:25:38 lukem Exp $
.include <bsd.sys.mk> # for HOST_SH
DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
OBJS= svr4_32_sysent.c svr4_32_syscalls.c svr4_32_syscall.h svr4_32_syscallargs.h
#syscalls.master: ../svr4/syscalls.master sed.script
# sed -f sed.script < ../svr4/syscalls.master > syscalls.master
${OBJS}: ${DEP}
-mv -f svr4_32_sysent.c svr4_32_sysent.c.bak
-mv -f svr4_32_syscalls.c svr4_32_syscalls.c.bak
-mv -f svr4_32_syscall.h svr4_32_syscall.h.bak
-mv -f svr4_32_syscallargs.h svr4_32_syscallargs.h.bak
${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master