37 lines
910 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
1997-10-29 16:36:57 +00:00
.include <src.opts.mk>
DIFFSRC=${.CURDIR}/../../../contrib/diff/src
.PATH: ${DIFFSRC} \
${.CURDIR}/../../../contrib/diff/lib \
${.CURDIR}/../../../contrib/diff/man \
${.CURDIR}/../../../contrib/diff/doc
1997-10-29 16:36:57 +00:00
1993-06-29 08:13:44 +00:00
PROG= diff
SRCS= analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
normal.c side.c util.c \
xmalloc.c strtoumax.c cmpbuf.c exitfail.c error.c quotesys.c \
strftime.c c-stack.c basename.c exclude.c hard-locale.c \
file-type.c posixver.c prepargs.c version-etc.c
1997-10-29 16:36:57 +00:00
# Important for ctype macros!
CFLAGS+=-funsigned-char
2007-10-12 18:03:00 +00:00
CFLAGS+=-DHAVE_CONFIG_H
CFLAGS+=-DPR_PROGRAM=\"/usr/bin/pr\"
CFLAGS+=-I${.CURDIR}/../../../contrib/diff
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/src
CFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib
CFLAGS+=-I${DESTDIR}/usr/include/gnu
1995-01-11 05:45:48 +00:00
MAN= diff.1 diff.7
2014-11-25 21:18:18 +00:00
LIBADD+= gnuregex
1993-06-29 08:13:44 +00:00
.if ${MK_TESTS} != "no"
SUBDIR+= tests
.endif
1993-06-29 08:13:44 +00:00
.include <bsd.prog.mk>