Module Name: src
Committed By: mrg
Date: Tue Dec 15 04:12:43 UTC 2009
Modified Files:
src/compat: compatsubdir.mk
Log Message:
don't build atf, openldap or binutils if their MK* == "no".
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/compat/compatsubdir.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/compat/compatsubdir.mk
diff -u src/compat/compatsubdir.mk:1.1 src/compat/compatsubdir.mk:1.2
--- src/compat/compatsubdir.mk:1.1 Sun Dec 13 09:27:13 2009
+++ src/compat/compatsubdir.mk Tue Dec 15 04:12:43 2009
@@ -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>