summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/diff/Makefile
blob: f9f329b28a87c5205be98486e4a9c8aa3d2ee68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$

.PATH: ${.CURDIR}/../../../contrib/diff

PROG=	diff
SRCS=   analyze.c cmpbuf.c context.c diff.c dir.c ed.c \
	ifdef.c io.c normal.c prepend_args.c side.c util.c version.c

# Important for ctype macros!
CFLAGS+=-funsigned-char

CFLAGS+=-I${.CURDIR}/../../../contrib/diff \
	-I${DESTDIR}/usr/include/gnu
CFLAGS+=-DHAVE_CONFIG_H
CFLAGS+=-DPR_PROGRAM=\"/usr/bin/pr\"

SUBDIR+=doc

DPADD=	${LIBGNUREGEX}
LDADD=	-lgnuregex

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