diff --git a/gnu/Makefile b/gnu/Makefile index c8a59b42e67..11f8532ce2b 100644 --- a/gnu/Makefile +++ b/gnu/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 5.33.1.1 (Berkeley) 5/6/91 -SUBDIR= bc cvs diff diff3 egrep fgrep gas gawk gcc2 gdb grep groff gzip \ +SUBDIR= bc cvs diff diff3 fgrep gas gawk gcc2 gdb grep groff gzip \ ld patch pr rcs sort tar .include diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index 5cdbb3a6ffb..4640d56f134 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -1,9 +1,10 @@ PROG= grep SRCS= dfa.c grep.c getopt.c kwset.c obstack.c regex.c search.c - CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \ -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \ -DHAVE_VALLOC=1 +MLINKS= grep.1 egrep.1 +LINKS+= ${DESTDIR}${BINDIR}/grep ${DESTDIR}${BINDIR}/egrep check: all