1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1997-10-29 16:36:57 +00:00
|
|
|
|
1999-11-26 03:06:33 +00:00
|
|
|
.PATH: ${.CURDIR}/../../../contrib/diff
|
1997-10-29 16:36:57 +00:00
|
|
|
|
1993-06-29 08:13:44 +00:00
|
|
|
PROG= diff
|
2004-02-16 22:56:36 +00:00
|
|
|
SRCS= analyze.c cmpbuf.c context.c diff.c dir.c ed.c \
|
1999-11-26 03:06:33 +00:00
|
|
|
ifdef.c io.c normal.c prepend_args.c side.c util.c version.c
|
1997-10-29 16:36:57 +00:00
|
|
|
|
|
|
|
# Important for ctype macros!
|
|
|
|
CFLAGS+=-funsigned-char
|
|
|
|
|
2004-02-16 22:56:36 +00:00
|
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/diff \
|
2004-02-17 05:38:45 +00:00
|
|
|
-I${DESTDIR}/usr/include/gnu
|
1993-11-12 07:05:54 +00:00
|
|
|
CFLAGS+=-DHAVE_CONFIG_H
|
1997-10-29 17:35:54 +00:00
|
|
|
CFLAGS+=-DPR_PROGRAM=\"/usr/bin/pr\"
|
1995-01-11 05:45:48 +00:00
|
|
|
|
1999-11-26 03:06:33 +00:00
|
|
|
SUBDIR+=doc
|
1995-10-29 09:08:35 +00:00
|
|
|
|
2004-02-05 22:44:25 +00:00
|
|
|
DPADD= ${LIBGNUREGEX}
|
|
|
|
LDADD= -lgnuregex
|
1993-06-29 08:13:44 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|