aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2001-08-03 22:28:25 +0000
committerBruce Evans <bde@FreeBSD.org>2001-08-03 22:28:25 +0000
commitea36b9638840638afc4004aa30ebcaea516c07ee (patch)
tree22814d814f5ce658136244de28e263c7daada283 /secure/usr.bin
parenta7dff00b1e5790032d5d77cc87fb4a9fcf66eb80 (diff)
downloadsrc-ea36b9638840638afc4004aa30ebcaea516c07ee.tar.gz
src-ea36b9638840638afc4004aa30ebcaea516c07ee.zip
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.
Notes
Notes: svn path=/head/; revision=81119
Diffstat (limited to 'secure/usr.bin')
-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 78af60c8e60f..012f9e0d2489 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>