summaryrefslogtreecommitdiffstats
path: root/sys/kern/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-10-02 21:35:33 +0000
committerimp <imp@FreeBSD.org>2010-10-02 21:35:33 +0000
commit1c2f641b98e83d03b535dcd74d1157f0c51fcf9c (patch)
tree59106576c02ccf4ec944fbcb9802adf883615485 /sys/kern/Makefile
parentff3fbc640db9a79b87a17e1d16c3577429252093 (diff)
downloadFreeBSD-src-1c2f641b98e83d03b535dcd74d1157f0c51fcf9c.zip
FreeBSD-src-1c2f641b98e83d03b535dcd74d1157f0c51fcf9c.tar.gz
Turns out this file was how we make sysent stuff, so add that part only back...
Diffstat (limited to 'sys/kern/Makefile')
-rw-r--r--sys/kern/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile
new file mode 100644
index 0000000..060623b
--- /dev/null
+++ b/sys/kern/Makefile
@@ -0,0 +1,20 @@
+# @(#)Makefile 8.2 (Berkeley) 3/21/94
+# $FreeBSD$
+
+# Makefile for init_sysent
+
+all:
+ @echo "make tags, make links or make sysent only"
+
+sysent: init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscall.mk \
+../sys/sysproto.h
+
+init_sysent.c syscalls.c systrace_args.c ../sys/syscall.h \
+../sys/syscall.mk ../sys/sysproto.h: makesyscalls.sh syscalls.master
+ -mv -f init_sysent.c init_sysent.c.bak
+ -mv -f syscalls.c syscalls.c.bak
+ -mv -f systrace_args.c systrace_args.c.bak
+ -mv -f ../sys/syscall.h ../sys/syscall.h.bak
+ -mv -f ../sys/syscall.mk ../sys/syscall.mk.bak
+ -mv -f ../sys/sysproto.h ../sys/sysproto.h.bak
+ sh makesyscalls.sh syscalls.master
OpenPOWER on IntegriCloud