aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/Makefile
blob: 77020043e89a269a8444e7a406c97c362917c804 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PROG=	ed
CFLAGS+=-I${.CURDIR} -DVI_BANG -DGNU_REGEX -DHAVE_STRING_H=1
SRCS=	ed.c re.c buf.c cbc.c regex.c
LINKS=	${BINDIR}/ed ${BINDIR}/red
MLINKS=	ed.1 red.1

.if exists(/usr/lib/libcrypt.a)
CFLAGS+=-DDES
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
.endif


.include <bsd.prog.mk>