summaryrefslogtreecommitdiff
path: root/sys/compat/netbsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/netbsd/Makefile')
-rw-r--r--sys/compat/netbsd/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/compat/netbsd/Makefile b/sys/compat/netbsd/Makefile
new file mode 100644
index 00000000000..994cb4cd64c
--- /dev/null
+++ b/sys/compat/netbsd/Makefile
@@ -0,0 +1,13 @@
+# $OpenBSD: Makefile,v 1.1 1999/09/12 14:15:16 kstailey Exp $
+
+SYS= ../..
+DEP= syscalls.conf syscalls.master ${SYS}/kern/makesyscalls.sh
+OBJS= netbsd_sysent.c netbsd_syscalls.c \
+ netbsd_syscall.h netbsd_syscallargs.h
+
+${OBJS}: ${DEP}
+ -mv -f netbsd_sysent.c netbsd_sysent.c.bak
+ -mv -f netbsd_syscalls.c netbsd_syscalls.c.bak
+ -mv -f netbsd_syscall.h netbsd_syscall.h.bak
+ -mv -f netbsd_syscallargs.h netbsd_syscallargs.h.bak
+ sh ${SYS}/kern/makesyscalls.sh syscalls.conf syscalls.master