-lcipher is an installable library.

This commit is contained in:
Ruslan Ermilov 2001-12-06 10:50:23 +00:00
parent 68f1d5a354
commit aa70e98b87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87444
2 changed files with 2 additions and 12 deletions

View File

@ -5,13 +5,3 @@ BINDIR?= /bin
CFLAGS+= -Wall -Wformat
NOSHARED?= YES
WARNS?= 2
.if exists (${.CURDIR}/../../secure)
.if exists(${.CURDIR}/../../secure/lib/libcipher/obj)
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher/obj
.else
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher
.endif
.endif

View File

@ -8,8 +8,8 @@ MLINKS= ed.1 red.1
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=crypto
CFLAGS+=-DDES
LDADD+= -L${CIPHEROBJDIR} -lcipher
DPADD+= ${CIPHEROBJDIR}/libcipher.a
DPADD= ${LIBCIPHER}
LDADD= -lcipher
.endif
.include <bsd.prog.mk>