1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5PROG= ed 6SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c 7LINKS= ${BINDIR}/ed ${BINDIR}/red 8MLINKS= ed.1 red.1 9 10.if ${MK_OPENSSL} != "no" 11CFLAGS+=-DDES 12WARNS?= 2 13DPADD= ${LIBCRYPTO} 14LDADD= -lcrypto 15.endif 16 17.include <bsd.prog.mk> 18