Remove /usr/X386/lib and /usr/local/lib from the default locations,
[unix-history] / gnu / usr.bin / sdiff / Makefile
index d2976c9..449a933 100644 (file)
@@ -1,11 +1,9 @@
 PROG=          sdiff
 SRCS=          sdiff.c getopt.c getopt1.c version.c
 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
+CFLAGS+=       -I$(.CURDIR)/../diff -DHAVE_CONFIG_H \
+               -DDIFF_PROGRAM=\"/usr/bin/diff\"
+.PATH: $(.CURDIR)/../diff
+MAN=           sdiff.1
 
 .include <bsd.prog.mk>
 .PATH: $(.CURDIR)/../diff
 
 .include <bsd.prog.mk>
 .PATH: $(.CURDIR)/../diff