Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/kern Make build similar to fs, net & dev.



details:   https://anonhg.NetBSD.org/src/rev/45b928a3f2c1
branches:  trunk
changeset: 759313:45b928a3f2c1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 05 16:27:42 2010 +0000

description:
Make build similar to fs, net & dev.

diffstat:

 sys/rump/kern/Makefile.rumpkerncomp |  9 +++++++++
 sys/rump/kern/lib/Makefile          |  6 ++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 52773c9d0218 -r 45b928a3f2c1 sys/rump/kern/Makefile.rumpkerncomp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/kern/Makefile.rumpkerncomp       Sun Dec 05 16:27:42 2010 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: Makefile.rumpkerncomp,v 1.1 2010/12/05 16:27:42 pooka Exp $
+#
+
+RUMPKERNCOMPS= ksem tty z
+
+.for var in ${RUMPKERNCOMPS}
+RUMPKERNLIBS+=lib${var}
+RUMPKERNLDADD+=-lrumpkern_${var}
+.endfor
diff -r 52773c9d0218 -r 45b928a3f2c1 sys/rump/kern/lib/Makefile
--- a/sys/rump/kern/lib/Makefile        Sun Dec 05 16:11:16 2010 +0000
+++ b/sys/rump/kern/lib/Makefile        Sun Dec 05 16:27:42 2010 +0000
@@ -1,6 +1,8 @@
-#      $NetBSD: Makefile,v 1.3 2010/06/21 21:43:28 pooka Exp $
+#      $NetBSD: Makefile,v 1.4 2010/12/05 16:27:42 pooka Exp $
 #
 
-SUBDIR+=       libksem libtty libz
+.include "${.CURDIR}/../Makefile.rumpkerncomp"
+
+SUBDIR+=       ${RUMPKERNLIBS}
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index