Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat use new bsd.syscall.mk
details: https://anonhg.NetBSD.org/src/rev/ece91a26422c
branches: trunk
changeset: 325975:ece91a26422c
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 14 18:51:24 2014 +0000
description:
use new bsd.syscall.mk
diffstat:
sys/compat/aoutm68k/Makefile | 15 +++------------
sys/compat/freebsd/Makefile | 15 +++------------
sys/compat/ibcs2/Makefile | 14 +++-----------
sys/compat/linux/Makefile.inc | 12 +++---------
sys/compat/linux32/Makefile.inc | 12 +++---------
sys/compat/netbsd32/Makefile | 12 +++---------
sys/compat/osf1/Makefile | 14 +++-----------
sys/compat/sunos/Makefile | 14 +++-----------
sys/compat/sunos32/Makefile | 15 +++------------
sys/compat/svr4/Makefile | 14 +++-----------
sys/compat/svr4_32/Makefile | 17 +++--------------
sys/compat/ultrix/Makefile | 14 +++-----------
12 files changed, 36 insertions(+), 132 deletions(-)
diffs (240 lines):
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/aoutm68k/Makefile
--- a/sys/compat/aoutm68k/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/aoutm68k/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,14 +1,5 @@
-# $NetBSD: Makefile,v 1.6 2006/05/04 22:27:51 tsutsui Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
+# $NetBSD: Makefile,v 1.7 2014/01/14 18:51:24 christos Exp $
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= aoutm68k_sysent.c aoutm68k_syscalls.c \
- aoutm68k_syscall.h aoutm68k_syscallargs.h
+SYSCALL_PREFIX=aoutm68k
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/freebsd/Makefile
--- a/sys/compat/freebsd/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/freebsd/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,14 +1,5 @@
-# $NetBSD: Makefile,v 1.7 2005/12/11 12:20:02 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
+# $NetBSD: Makefile,v 1.8 2014/01/14 18:51:24 christos Exp $
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= freebsd_sysent.c freebsd_syscalls.c \
- freebsd_syscall.h freebsd_syscallargs.h
+SYSCALL_PREFIX=freebsd
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/ibcs2/Makefile
--- a/sys/compat/ibcs2/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/ibcs2/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,13 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2005/12/11 12:20:02 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= ibcs2_sysent.c ibcs2_syscalls.c ibcs2_syscall.h ibcs2_syscallargs.h
+# $NetBSD: Makefile,v 1.6 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
+SYSCALL_PREFIX=ibcs2
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/linux/Makefile.inc
--- a/sys/compat/linux/Makefile.inc Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/linux/Makefile.inc Tue Jan 14 18:51:24 2014 +0000
@@ -1,11 +1,5 @@
-# $NetBSD: Makefile.inc,v 1.5 2005/12/11 12:20:12 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
+# $NetBSD: Makefile.inc,v 1.6 2014/01/14 18:51:25 christos Exp $
-DEP= syscalls.conf syscalls.master ../../../../kern/makesyscalls.sh
-OBJS= linux_sysent.c linux_syscalls.c linux_syscall.h linux_syscallargs.h
+SYSCALL_PREFIX=linux
-${OBJS}: ${DEP}
- ${HOST_SH} ../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/linux32/Makefile.inc
--- a/sys/compat/linux32/Makefile.inc Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/linux32/Makefile.inc Tue Jan 14 18:51:24 2014 +0000
@@ -1,11 +1,5 @@
-# $NetBSD: Makefile.inc,v 1.2 2007/03/23 12:26:10 njoly Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
+# $NetBSD: Makefile.inc,v 1.3 2014/01/14 18:51:25 christos Exp $
-DEP= syscalls.conf syscalls.master ../../../../kern/makesyscalls.sh
-OBJS= linux32_sysent.c linux32_syscalls.c linux32_syscall.h linux32_syscallargs.h
+SYSCALL_PREFIX=linux32
-${OBJS}: ${DEP}
- ${HOST_SH} ../../../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/netbsd32/Makefile
--- a/sys/compat/netbsd32/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/netbsd32/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,11 +1,5 @@
-# $NetBSD: Makefile,v 1.7 2012/03/20 09:18:00 martin Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
+# $NetBSD: Makefile,v 1.8 2014/01/14 18:51:25 christos Exp $
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= netbsd32_sysent.c netbsd32_syscalls.c netbsd32_syscall.h netbsd32_syscallargs.h
+SYSCALL_PREFIX=netbsd32
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/osf1/Makefile
--- a/sys/compat/osf1/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/osf1/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,13 +1,5 @@
-# $NetBSD: Makefile,v 1.6 2005/12/11 12:20:23 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= osf1_sysent.c osf1_syscalls.c osf1_syscall.h osf1_syscallargs.h
+# $NetBSD: Makefile,v 1.7 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
+SYSCALL_PREFIX=osf1
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/sunos/Makefile
--- a/sys/compat/sunos/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/sunos/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,13 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2005/12/11 12:20:23 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= sunos_sysent.c sunos_syscalls.c sunos_syscall.h sunos_syscallargs.h
+# $NetBSD: Makefile,v 1.6 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
+SYACALL_PREFIX=sunos
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/sunos32/Makefile
--- a/sys/compat/sunos32/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/sunos32/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,14 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2005/12/11 12:20:23 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= sunos32_sysent.c sunos32_syscalls.c sunos32_syscall.h sunos32_syscallargs.h
+# $NetBSD: Makefile,v 1.6 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
+SYSCALL_PREFIX=sunos32
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/svr4/Makefile
--- a/sys/compat/svr4/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/svr4/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,13 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2005/12/11 12:20:25 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= svr4_sysent.c svr4_syscalls.c svr4_syscall.h svr4_syscallargs.h
+# $NetBSD: Makefile,v 1.6 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
+SYSCALL_PREFIX=svr4
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/svr4_32/Makefile
--- a/sys/compat/svr4_32/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/svr4_32/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,16 +1,5 @@
-# $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb 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
+# $NetBSD: Makefile,v 1.7 2014/01/14 18:51:25 christos Exp $
-#syscalls.master: ../svr4/syscalls.master sed.script
-# ${TOOL_SED} -f sed.script < ../svr4/syscalls.master > syscalls.master
+SYSCALL_PREFIX=svr4_32
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
-
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
diff -r 61b62c8ceefc -r ece91a26422c sys/compat/ultrix/Makefile
--- a/sys/compat/ultrix/Makefile Tue Jan 14 18:07:20 2014 +0000
+++ b/sys/compat/ultrix/Makefile Tue Jan 14 18:51:24 2014 +0000
@@ -1,13 +1,5 @@
-# $NetBSD: Makefile,v 1.5 2005/12/11 12:20:30 christos Exp $
-
-.include <bsd.sys.mk> # for HOST_SH
-
-DEP= syscalls.conf syscalls.master ../../kern/makesyscalls.sh
-OBJS= ultrix_sysent.c ultrix_syscalls.c ultrix_syscall.h ultrix_syscallargs.h
+# $NetBSD: Makefile,v 1.6 2014/01/14 18:51:25 christos Exp $
-${OBJS}: ${DEP}
- ${HOST_SH} ../../kern/makesyscalls.sh syscalls.conf syscalls.master
+SYSCALL_PREFIX=ultrix
-all: ${OBJS}
-
-.include <bsd.kinc.mk>
+.include <bsd.syscall.mk>
Home |
Main Index |
Thread Index |
Old Index