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.
This commit is contained in:
Bruce Evans 2001-08-03 22:28:25 +00:00
parent a7dff00b1e
commit ea36b96388
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81119

View File

@ -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>