2006-05-12 03:16:28 +04:00
|
|
|
# $NetBSD: Makefile,v 1.33 2006/05/11 23:16:28 mrg Exp $
|
2000-06-23 10:01:10 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1995-03-21 12:01:59 +03:00
|
|
|
|
1994-02-20 09:56:16 +03:00
|
|
|
PROG= ed
|
1999-07-13 02:04:09 +04:00
|
|
|
CPPFLAGS+=-DBACKWARDS
|
2000-06-23 10:01:10 +04:00
|
|
|
|
|
|
|
.if (${MKCRYPTO} != "no")
|
2000-06-16 20:33:06 +04:00
|
|
|
CPPFLAGS+=-DDES
|
2000-06-23 10:01:10 +04:00
|
|
|
.endif
|
|
|
|
|
1997-08-03 08:27:37 +04:00
|
|
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
1993-07-28 04:40:12 +04:00
|
|
|
|
1994-02-20 12:49:58 +03:00
|
|
|
LDADD+= -lcrypt
|
|
|
|
DPADD+= ${LIBCRYPT}
|
1993-07-28 04:40:12 +04:00
|
|
|
|
1993-10-28 08:36:31 +03:00
|
|
|
#LINKS= ${BINDIR}/ed ${BINDIR}/red
|
|
|
|
#MLINKS= ed.1 red.1
|
1993-04-08 05:07:16 +04:00
|
|
|
|
2006-05-12 03:16:28 +04:00
|
|
|
.if ${HAVE_GCC} == 4
|
|
|
|
COPTS.cbc.c+= -Wno-pointer-sign
|
|
|
|
.endif
|
|
|
|
|
1993-04-08 05:07:16 +04:00
|
|
|
.include <bsd.prog.mk>
|