Wrong library was picked by ed

This commit is contained in:
ache 1995-10-22 20:14:13 +00:00
parent a92bdda05d
commit cefb9133fd
2 changed files with 6 additions and 6 deletions

View File

@ -5,10 +5,10 @@ NOSHARED?= YES
.if exists (${.CURDIR}/../../secure)
.if exists(${.CURDIR}/../../secure/lib/libcrypt/obj)
CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj
.if exists(${.CURDIR}/../../secure/lib/libcipher/obj)
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher/obj
.else
CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher
.endif
.endif

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.11 1995/10/01 14:17:29 markm Exp $
# $Id: Makefile,v 1.12 1995/10/03 15:44:50 markm Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
@ -8,8 +8,8 @@ MLINKS= ed.1 red.1
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
CFLAGS+=-DDES
LDADD+= -L${CRYPTOBJDIR} -ldescrypt
DPADD+= ${CRYPTOBJDIR}/libdescrypt.a
LDADD+= -L${CIPHEROBJDIR} -lcipher
DPADD+= ${CIPHEROBJDIR}/libcipher.a
.endif
.include <bsd.prog.mk>