summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-12-21 17:57:16 +0000
committerache <ache@FreeBSD.org>1995-12-21 17:57:16 +0000
commit2c2755e311bcd90206744f70a4b4a8b1348a12ee (patch)
treea7eaaa2174ded6e26d5834d316984d81d64b5de9 /secure
parent4ae0c411e872d978ff662629f80d83439c67a802 (diff)
downloadFreeBSD-src-2c2755e311bcd90206744f70a4b4a8b1348a12ee.zip
FreeBSD-src-2c2755e311bcd90206744f70a4b4a8b1348a12ee.tar.gz
Pick correct library dir whenever obj exists or not
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.bin/bdes/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/secure/usr.bin/bdes/Makefile b/secure/usr.bin/bdes/Makefile
index 1b19c58..8f5234a 100644
--- a/secure/usr.bin/bdes/Makefile
+++ b/secure/usr.bin/bdes/Makefile
@@ -1,10 +1,16 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.4 1994/09/30 06:04:40 pst Exp $
+# $Id: Makefile,v 1.5 1994/11/14 20:45:35 phk Exp $
PROG= bdes
SRCS= bdes.c
-LDADD+= -L../../lib/libcipher -lcipher
-DPADD+= ../../lib/libcipher/libcipher.a
+.if exists(${.CURDIR}/../../lib/libcipher/obj)
+LDFLAGS+= -L${.CURDIR}/../../lib/libcipher/obj
+.else
+LDFLAGS+= -L${.CURDIR}/../../lib/libcipher
+.endif
+
+LDADD+= -lcipher
+DPADD+= libcipher.a
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud