mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
55fa734d20
Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1))
19 lines
297 B
Makefile
19 lines
297 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)
|
|
.if ${MK_OPENSSL} != "no"
|
|
CFLAGS+=-DDES
|
|
DPADD= ${LIBCRYPTO}
|
|
LDADD= -lcrypto
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|