Correctly build the secure ed(1) only if secure/ exists.

Pointed out by:	bde
This commit is contained in:
Mark Murray 1995-10-03 15:44:50 +00:00
parent 7d2c66ed67
commit 2f67cae6ef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11149

View File

@ -1,11 +1,11 @@
# $Id: Makefile,v 1.10 1994/12/18 15:15:10 jkh Exp $
# $Id: Makefile,v 1.11 1995/10/01 14:17:29 markm Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if !defined(NOCRYPT) && !defined(NOSECURE)
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
CFLAGS+=-DDES
LDADD+= -L${CRYPTOBJDIR} -ldescrypt