freebsd-dev/gnu/usr.bin/diff3/Makefile
J.T. Conklin 4d5de78c85 Update diff, diff3, and sdiff's makefiles to use .PATH: instead of
copying the same files to multiple directories.  This should make
things easier when it comes time to update to a newer version of
diffutils.

With this checkin, this brings the netbsd and freebsd diff dists
into sync.
1993-07-09 20:36:06 +00:00

12 lines
381 B
Makefile

PROG= diff3
SRCS= diff3.c getopt.c getopt1.c version.c
CFLAGS+= -I$(.CURDIR)/../diff\
-DDIRENT=1 -DHAVE_UNISTD_H=1 -DHAVE_DUP2=1 -DHAVE_MEMCHR=1\
-DHAVE_STRERROR=1 -DHAVE_WAITPID=1 -DHAVE_FCNTL_H=1\
-DHAVE_STRING_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_TIME_H=1\
-DHAVE_ST_BLKSIZE=1 -DDIFF_PROGRAM=\"/usr/bin/diff\"
NOMAN= noman
.include <bsd.prog.mk>
.PATH: $(.CURDIR)/../diff