Source-Changes-HG archive

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

[src/trunk]: src/compat don't build atf, openldap or binutils if their MK* ==...



details:   https://anonhg.NetBSD.org/src/rev/03c291e4ee7a
branches:  trunk
changeset: 750066:03c291e4ee7a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Dec 15 04:12:43 2009 +0000

description:
don't build atf, openldap or binutils if their MK* == "no".

diffstat:

 compat/compatsubdir.mk |  18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0c46dd5bc051 -r 03c291e4ee7a compat/compatsubdir.mk
--- a/compat/compatsubdir.mk    Tue Dec 15 04:06:43 2009 +0000
+++ b/compat/compatsubdir.mk    Tue Dec 15 04:12:43 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: compatsubdir.mk,v 1.1 2009/12/13 09:27:13 mrg Exp $
+#      $NetBSD: compatsubdir.mk,v 1.2 2009/12/15 04:12:43 mrg Exp $
 
 # Build netbsd libraries.
 
@@ -24,13 +24,23 @@
        ../../../lib/libutil .WAIT \
        ../../../lib .WAIT \
        ../../../gnu/lib \
-       ../../../external/bsd/atf/lib \
        ../../../external/bsd/bind/lib \
        ../../../external/bsd/libevent/lib \
        ../../../external/bsd/file/lib \
-       ../../../external/bsd/openldap/lib \
-       ../../../external/gpl3/binutils/lib \
        ../../../libexec/ld.elf_so
+
+.if ${MKATF} != "no"
+SUBDIR+= ../../../external/bsd/atf/lib
+.endif
+
+.if (${MKLDAP} != "no")
+SUBDIR+= ../../../external/bsd/openldap/lib
+.endif
+
+.if (${MKBINUTILS} != "no")
+SUBDIR+= ../../../external/gpl3/binutils/lib
+.endif
+
 .endif
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index