xref: /freebsd/gnu/usr.bin/diff3/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1ffec3151SWarner LoshDIFFSRC=${SRCTOP}/contrib/diff/src
2b6ee6822SXin LI.PATH:  ${DIFFSRC} \
3ffec3151SWarner Losh	${SRCTOP}/contrib/diff/lib \
4ffec3151SWarner Losh	${SRCTOP}/contrib/diff/man
5e4b6c360SAndrey A. Chernov
62870c1b1SNate WilliamsPROG=		diff3
7b6ee6822SXin LISRCS=           diff3.c version-etc.c \
8b6ee6822SXin LI		xmalloc.c error.c c-stack.c exitfail.c cmpbuf.c
9e4b6c360SAndrey A. Chernov
10e4b6c360SAndrey A. Chernov# Important for ctype macros!
11e4b6c360SAndrey A. ChernovCFLAGS+=-funsigned-char
12e4b6c360SAndrey A. Chernov
13ffec3151SWarner LoshCFLAGS+=-I${SRCTOP}/contrib/diff/
14ffec3151SWarner LoshCFLAGS+=-I${SRCTOP}/contrib/diff/src
15ffec3151SWarner LoshCFLAGS+=-I${SRCTOP}/contrib/diff/lib
16e4b6c360SAndrey A. ChernovCFLAGS+=-DHAVE_CONFIG_H
17b6ee6822SXin LICFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\"
18b6ee6822SXin LI
19*fe815331SKyle EvansWARNS?=	0
20*fe815331SKyle Evans
212870c1b1SNate Williams.include <bsd.prog.mk>
22