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:
bde 2001-08-03 22:28:25 +00:00
parent 5acdee8a8e
commit 7f2b2ff935

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>