Module Name: src
Committed By: matt
Date: Thu Feb 14 00:54:12 UTC 2013
Modified Files:
src/external/bsd/am-utils: Makefile.inc
Log Message:
Deal with MKPICLIB=no fallout
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/am-utils/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/am-utils/Makefile.inc
diff -u src/external/bsd/am-utils/Makefile.inc:1.2 src/external/bsd/am-utils/Makefile.inc:1.3
--- src/external/bsd/am-utils/Makefile.inc:1.2 Sat Sep 20 10:45:48 2008
+++ src/external/bsd/am-utils/Makefile.inc Thu Feb 14 00:54:12 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2008/09/20 10:45:48 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2013/02/14 00:54:12 matt Exp $
WARNS?= 1
@@ -28,9 +28,11 @@ CPPFLAGS+=-DHAVE_MAP_NIS=1
.if !defined(LIB) || empty(LIB)
LDADD+= -L${LIBAMUOBJDIR} -lamu
-.if ${MKPICLIB} == "no"
-DPADD+= ${LIBAMUOBJDIR}/libamu.a
-.else
+.if ${MKPICLIB} != "no"
DPADD+= ${LIBAMUOBJDIR}/libamu_pic.a
+.elif ${MKPIC} != "no"
+DPADD+= ${LIBAMUOBJDIR}/libamu.so
+.else
+DPADD+= ${LIBAMUOBJDIR}/libamu.a
.endif
.endif