Makefile revision 204227
150472Speter# $FreeBSD: head/gnu/usr.bin/diff3/Makefile 204227 2010-02-22 22:32:24Z delphij $ 230843Sache 3170758SdelphijDIFFSRC=${.CURDIR}/../../../contrib/diff/src 4170758Sdelphij.PATH: ${DIFFSRC} \ 5170758Sdelphij ${.CURDIR}/../../../contrib/diff/lib \ 6170758Sdelphij ${.CURDIR}/../../../contrib/diff/man 730843Sache 8116SconklinPROG= diff3 9170758SdelphijSRCS= diff3.c version-etc.c \ 10170758Sdelphij xmalloc.c error.c c-stack.c exitfail.c cmpbuf.c 1170Snate 1230843Sache# Important for ctype macros! 1330843SacheCFLAGS+=-funsigned-char 1430843Sache 15170758SdelphijCFLAGS+=-I${.CURDIR}/../../../contrib/diff/ 16170758SdelphijCFLAGS+=-I${.CURDIR}/../../../contrib/diff/src 17170758SdelphijCFLAGS+=-I${.CURDIR}/../../../contrib/diff/lib 1830843SacheCFLAGS+=-DHAVE_CONFIG_H 19170758SdelphijCFLAGS+=-DDEFAULT_DIFF_PROGRAM=\"/usr/bin/diff\" 2030843Sache 21170758Sdelphij.for f in diff3.c 22170758Sdelphij${f}: ${DIFFSRC}/${f} ${.CURDIR}/${f}.diff 23204227Sdelphij patch -s -o ${.TARGET} < ${.CURDIR}/${f}.diff ${DIFFSRC}/${f} 24170758SdelphijCLEANFILES+= ${f} 25170758Sdelphij.endfor 26170758Sdelphij 2770Snate.include <bsd.prog.mk> 28