summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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