aboutsummaryrefslogblamecommitdiff
path: root/bin/ed/Makefile
blob: 5a6a4ea4aee8dcd3e5cb4f107dae97c107c2c562 (plain) (tree)
1
2
3
4
5
6
7
8
9
          
                 
                              


                                  

                               
               
                   

      

                              
 
                      
PROG=	ed
CFLAGS+=-DVI_BANG
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>