Module Name: src
Committed By: lukem
Date: Mon Mar 8 05:23:41 UTC 2010
Modified Files:
src/external/bsd/openldap/bin: Makefile.inc
Log Message:
support building without common.c (for ldapurl)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/openldap/bin/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/openldap/bin/Makefile.inc
diff -u src/external/bsd/openldap/bin/Makefile.inc:1.2 src/external/bsd/openldap/bin/Makefile.inc:1.3
--- src/external/bsd/openldap/bin/Makefile.inc:1.2 Wed Aug 13 04:43:26 2008
+++ src/external/bsd/openldap/bin/Makefile.inc Mon Mar 8 05:23:41 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2008/08/13 04:43:26 lukem Exp $
+# $NetBSD: Makefile.inc,v 1.3 2010/03/08 05:23:41 lukem Exp $
.include "../openldap.mk"
@@ -7,7 +7,10 @@
.PATH: ${LDAP_DISTDIR}/clients/tools
.PATH: ${LDAP_SRCDIR}/man
-SRCS= ${PROG}.c common.c
+SRCS= ${PROG}.c
+.if !defined(NO_COMMON_C)
+SRCS+= common.c
+.endif
SRCS+= version.c