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

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

LDADD+=	-lgnuregex
DPADD+=	/usr/lib/libgnuregex.a

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud