Source-Changes-HG archive

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

[src/trunk]: src/lib exclude rump libraries if MKRUMP = no



details:   https://anonhg.NetBSD.org/src/rev/fe8c497af8e1
branches:  trunk
changeset: 780818:fe8c497af8e1
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 08 14:01:16 2012 +0000

description:
exclude rump libraries if MKRUMP = no

diffstat:

 lib/Makefile |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (72 lines):

diff -r 81f8aecc4841 -r fe8c497af8e1 lib/Makefile
--- a/lib/Makefile      Wed Aug 08 14:00:31 2012 +0000
+++ b/lib/Makefile      Wed Aug 08 14:01:16 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.186 2012/07/12 20:14:44 christos Exp $
+#      $NetBSD: Makefile,v 1.187 2012/08/08 14:01:16 christos Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -36,9 +36,12 @@
                libintl libipsec libisns libkvm libm \
                libossaudio libpci libpmc libposix libprop libpthread \
                libpthread_dbg libpuffs libresolv librmt librpcsvc librt \
-               librumpclient libtelnet libterminfo \
+               libtelnet libterminfo \
                libusbhid libutil libwrap liby libz
 
+.if (${MKRUMP} != "no")
+SUBDIR+=       librumpclient
+.endif
 .if (${MKSKEY} != "no")
 SUBDIR+=       libskey
 .endif
@@ -100,8 +103,10 @@
 SUBDIR+=       libperfuse      # depends on libpuffs
 SUBDIR+=       libquota        # depends on libprop and librpcsvc
 SUBDIR+=       librefuse       # depends on libpuffs
+.if (${MKRUMP} != "no")
 SUBDIR+=       librumpuser     # depends on libpthread
 SUBDIR+=       librumphijack   # depends on librumpclient and libpthread
+.endif
 
 .if (${MKNPF} != "no")
 SUBDIR+=       libnpf          # depends on libprop
@@ -147,7 +152,9 @@
 SUBDIR+=       libform         # depends on libcurses
 SUBDIR+=       libmenu         # depends on libcurses
 SUBDIR+=       libradius       # depends on libcrypto if (${MKCRYPTO} != "no")
+.if (${MKRUMP} != "no")
 SUBDIR+=       librump         # depends on librumpuser
+.endif
 
 .if (${MKKERBEROS} != "no")
 SUBDIR+=       ../crypto/external/bsd/heimdal/lib      # depends on libcrypto
@@ -169,9 +176,11 @@
 #==================== 3rd library dependency barrier ====================
 SUBDIR+=       .WAIT
 
+.if (${MKRUMP} != "no")
 SUBDIR+=       librumpdev      # depends on librump
 SUBDIR+=       librumpnet      # depends on librump
 SUBDIR+=       librumpvfs      # depends on librump
+.endif
 
 .if (${MKPAM} != "no")
 SUBDIR+=       libpam          # depends on heimdal
@@ -183,6 +192,7 @@
 
 SUBDIR+=       ../external/bsd/mdocml/lib
 
+.if (${MKRUMP} != "no")
 #==================== 4th library dependency barrier ====================
 SUBDIR+=       .WAIT
 
@@ -192,6 +202,7 @@
 SUBDIR+=       .WAIT
 
 SUBDIR+=       libp2k          # depends on libukfs, librumpvfs, libpuffs
+.endif
 
 # Lua bindings come last, they might depend on anything
 SUBDIR+=       lua



Home | Main Index | Thread Index | Old Index