Module Name: src
Committed By: pooka
Date: Sun Dec 5 16:27:43 UTC 2010
Modified Files:
src/sys/rump/kern/lib: Makefile
Added Files:
src/sys/rump/kern: Makefile.rumpkerncomp
Log Message:
Make build similar to fs, net & dev.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/rump/kern/Makefile.rumpkerncomp
cvs rdiff -u -r1.3 -r1.4 src/sys/rump/kern/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/kern/lib/Makefile
diff -u src/sys/rump/kern/lib/Makefile:1.3 src/sys/rump/kern/lib/Makefile:1.4
--- src/sys/rump/kern/lib/Makefile:1.3 Mon Jun 21 21:43:28 2010
+++ src/sys/rump/kern/lib/Makefile Sun Dec 5 16:27:42 2010
@@ -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>
Added files:
Index: src/sys/rump/kern/Makefile.rumpkerncomp
diff -u /dev/null src/sys/rump/kern/Makefile.rumpkerncomp:1.1
--- /dev/null Sun Dec 5 16:27:43 2010
+++ src/sys/rump/kern/Makefile.rumpkerncomp Sun Dec 5 16:27:42 2010
@@ -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