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:
parent
5acdee8a8e
commit
7f2b2ff935
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user