summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-10-01 14:17:29 +0000
committermarkm <markm@FreeBSD.org>1995-10-01 14:17:29 +0000
commit9beecc7061d9f17aa200cf55cdf5a0b16006ad19 (patch)
treeebeb95f510b5c59aa47e653cad66ac0230bd3ffe /bin/ed
parent5912825d6248237eb07821908ad4172a874864b6 (diff)
downloadFreeBSD-src-9beecc7061d9f17aa200cf55cdf5a0b16006ad19.zip
FreeBSD-src-9beecc7061d9f17aa200cf55cdf5a0b16006ad19.tar.gz
Use the same make technique as passwd and xntpd for the secure ed(1). This
will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile to be cleaned up.
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index 68cfc3a..ffe5278 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -1,8 +1,15 @@
-# $Id: Makefile,v 1.9 1994/10/29 10:13:34 phk Exp $
+# $Id: Makefile,v 1.10 1994/12/18 15:15:10 jkh Exp $
PROG= ed
-SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
+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)
+DISTRIBUTION=des
+CFLAGS+=-DDES
+LDADD+= -L${CRYPTOBJDIR} -ldescrypt
+DPADD+= ${CRYPTOBJDIR}/libdescrypt.a
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud