summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/sdiff
diff options
context:
space:
mode:
authorconklin <conklin@FreeBSD.org>1993-07-09 20:36:06 +0000
committerconklin <conklin@FreeBSD.org>1993-07-09 20:36:06 +0000
commit2a4d079c1f211d720705087503bb34edb21400ba (patch)
tree638aeea32f1f840c438eb4093e3769cd7f1ce0d6 /gnu/usr.bin/sdiff
parent4a1861f4d760f487cc9f832f4478e6c657ca106f (diff)
downloadFreeBSD-src-2a4d079c1f211d720705087503bb34edb21400ba.zip
FreeBSD-src-2a4d079c1f211d720705087503bb34edb21400ba.tar.gz
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.
Diffstat (limited to 'gnu/usr.bin/sdiff')
-rw-r--r--gnu/usr.bin/sdiff/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/sdiff/Makefile b/gnu/usr.bin/sdiff/Makefile
new file mode 100644
index 0000000..d2976c9
--- /dev/null
+++ b/gnu/usr.bin/sdiff/Makefile
@@ -0,0 +1,11 @@
+PROG= sdiff
+SRCS= sdiff.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
OpenPOWER on IntegriCloud