summaryrefslogtreecommitdiff
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-05-16 06:15:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-05-16 06:15:01 +0000
commitf18cee6648b3a70abf6a9d76b46439925af058b8 (patch)
tree897a9e23398c19df29e10a6b7d5a10773d9bead6 /share/mk/bsd.lib.mk
parente403415c36464737d9ea46e3a2c821bc2e6e6996 (diff)
DEBUGLIBS=no still makes defined(DEBUGLIBS) true, ;-)
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 41591917020..32754a2d021 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.21 2000/05/15 06:10:21 niklas Exp $
+# $OpenBSD: bsd.lib.mk,v 1.22 2000/05/16 06:15:00 niklas Exp $
# $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
@@ -118,7 +118,7 @@ PICFLAG+=-fno-function-cse
.endif
_LIBS=lib${LIB}.a
-.if defined(DEBUGLIBS)
+.if (${DEBUGLIBS} == "yes")
_LIBS+=lib${LIB}_g.a
.endif
.if !defined(NOPROFILE)
@@ -228,7 +228,7 @@ realinstall:
${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a
.endif
chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}.a
-.if defined(DEBUGLIBS)
+.if (${DEBUGLIBS} == "yes")
# ranlib lib${LIB}_g.a
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m 600 \
lib${LIB}_g.a ${DESTDIR}${LIBDIR}/debug/lib${LIB}.a