From ea36b9638840638afc4004aa30ebcaea516c07ee Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 3 Aug 2001 22:28:25 +0000 Subject: [PATCH] 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. --- secure/usr.bin/bdes/Makefile | 12 ++---------- 1 file 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