summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-08-03 22:28:25 +0000
committerbde <bde@FreeBSD.org>2001-08-03 22:28:25 +0000
commit7f2b2ff93593a009bcc9884ae1f356cf797a9ddb (patch)
tree22814d814f5ce658136244de28e263c7daada283 /secure
parent5acdee8a8eec085d0401426769ab8b606ac1408e (diff)
downloadFreeBSD-src-7f2b2ff93593a009bcc9884ae1f356cf797a9ddb.zip
FreeBSD-src-7f2b2ff93593a009bcc9884ae1f356cf797a9ddb.tar.gz
Link to libcipher in the usual way. `bdes' depended on a nonexistent
library. This only worked because of the undocmented feature of make(1) that targets named foo.a are always up to date. Fixed some style bugs.
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.bin/bdes/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/secure/usr.bin/bdes/Makefile b/secure/usr.bin/bdes/Makefile
index 78af60c..012f9e0 100644
--- a/secure/usr.bin/bdes/Makefile
+++ b/secure/usr.bin/bdes/Makefile
@@ -2,15 +2,7 @@
# $FreeBSD$
PROG= bdes
-SRCS= bdes.c
-
-.if exists(${.OBJDIR}/../../lib/libcipher)
-LDFLAGS+= -L${.OBJDIR}/../../lib/libcipher
-.else
-LDFLAGS+= -L${.CURDIR}/../../lib/libcipher
-.endif
-
-LDADD+= -lcipher
-DPADD+= libcipher.a
+DPADD= ${LIBCIPHER}
+LDADD= -lcipher
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud