aa39c44746
ability to encrypt/decrypt files. Embedded systems can typically have OpenSSL, but not for ed(1) to use it. Obtained from: Juniper Networks, Inc.
19 lines
322 B
Makefile
19 lines
322 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
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(RELEASE_CRUNCH) && \
|
|
${MK_OPENSSL} != "no" && \
|
|
${MK_ED_CRYPTO} != "no"
|
|
CFLAGS+=-DDES
|
|
DPADD= ${LIBCRYPTO}
|
|
LDADD= -lcrypto
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|