eced21209c
o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des
17 lines
356 B
Makefile
17 lines
356 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= ed
|
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
|
WARNS?= 2
|
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
|
MLINKS= ed.1 red.1
|
|
|
|
.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
|
DISTRIBUTION=crypto
|
|
CFLAGS+=-DDES
|
|
LDADD+= -L${CIPHEROBJDIR} -lcipher
|
|
DPADD+= ${CIPHEROBJDIR}/libcipher.a
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|