Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk use bsd.syscall.mk



details:   https://anonhg.NetBSD.org/src/rev/2114cf2b25c3
branches:  trunk
changeset: 325976:2114cf2b25c3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 14 18:51:45 2014 +0000

description:
use bsd.syscall.mk

diffstat:

 share/mk/Makefile       |   4 ++--
 share/mk/bsd.README     |   7 ++++++-
 share/mk/bsd.syscall.mk |  17 +++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diffs (60 lines):

diff -r ece91a26422c -r 2114cf2b25c3 share/mk/Makefile
--- a/share/mk/Makefile Tue Jan 14 18:51:24 2014 +0000
+++ b/share/mk/Makefile Tue Jan 14 18:51:45 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.47 2012/11/15 23:51:53 joerg Exp $
+#      $NetBSD: Makefile,v 1.48 2014/01/14 18:51:45 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/8/93
 
 NOOBJ= # defined
@@ -13,7 +13,7 @@
        bsd.kmodule.mk bsd.lib.mk bsd.links.mk bsd.lua.mk \
        bsd.man.mk bsd.nls.mk \
        bsd.obj.mk bsd.own.mk bsd.prog.mk bsd.rpc.mk bsd.shlib.mk \
-       bsd.subdir.mk bsd.sys.mk bsd.test.mk bsd.x11.mk sys.mk
+       bsd.subdir.mk bsd.sys.mk bsd.syscall.mk bsd.test.mk bsd.x11.mk sys.mk
 
 FILESDIR=/usr/share/mk
 .endif
diff -r ece91a26422c -r 2114cf2b25c3 share/mk/bsd.README
--- a/share/mk/bsd.README       Tue Jan 14 18:51:24 2014 +0000
+++ b/share/mk/bsd.README       Tue Jan 14 18:51:45 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.README,v 1.324 2014/01/14 11:32:35 apb Exp $
+#      $NetBSD: bsd.README,v 1.325 2014/01/14 18:51:45 christos Exp $
 #      @(#)bsd.README  8.2 (Berkeley) 4/2/94
 
 This is the README file for the make "include" files for the NetBSD
@@ -1123,6 +1123,11 @@
 Please see <bsd.kinc.mk> for more details, and keep the documentation
 in that file up to date.
 
+=-=-=-=-=   bsd.syscall.mk =-=-=-=-=
+
+The include file <bsd.syscall.mk> contains the logic to create syscall
+files for various emulations. It includes <bsd.kinc.mk> to handle the
+rest of the targets.
 
 =-=-=-=-=   bsd.lib.mk   =-=-=-=-=
 
diff -r ece91a26422c -r 2114cf2b25c3 share/mk/bsd.syscall.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/mk/bsd.syscall.mk   Tue Jan 14 18:51:45 2014 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: bsd.syscall.mk,v 1.1 2014/01/14 18:51:45 christos Exp $
+#
+.include <bsd.own.mk>
+.include <bsd.sys.mk>
+
+SYSCALL_OBJS?= ${SYSCALL_PREFIX}_sysent.c ${SYSCALL_PREFIX}_syscalls.c \
+       ${SYSCALL_PREFIX}_syscall.h ${SYSCALL_PREFIX}_syscallargs.h
+
+SYSCALL_DEPS?= ${NETBSDSRCDIR}/sys/kern/makesyscalls.sh \
+       syscalls.conf syscalls.master
+
+all: ${SYSCALL_OBJS}
+
+${SYSCALL_OBJS}: ${SYSCALL_DEPS}
+       ${HOST_SH} ${.ALLSRC}
+
+.include <bsd.kinc.mk>



Home | Main Index | Thread Index | Old Index