Gnu grep 2.0 does fgrep too!

This commit is contained in:
J.T. Conklin 1993-07-08 16:18:59 +00:00
parent 2e3ed50bf8
commit c921550b27
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# @(#)Makefile 5.33.1.1 (Berkeley) 5/6/91
SUBDIR= bc cvs diff diff3 fgrep gas gawk gcc1 gcc2 gdb grep groff gzip \
SUBDIR= bc cvs diff diff3 gas gawk gcc1 gcc2 gdb grep groff gzip \
less ld man patch pr rcs sort tar
.include <bsd.subdir.mk>

View File

@ -3,11 +3,12 @@ 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
LINKS+= ${DESTDIR}${BINDIR}/grep ${DESTDIR}${BINDIR}/egrep \
${DESTDIR}${BINDIR}/grep ${DESTDIR}${BINDIR}/fgrep
MLINKS= grep.1 egrep.1 grep.1 fgrep.1
check: all
awk sh ${.CURDIR}/tests/check.sh ${.CURDIR}/tests
check: all
sh ${.CURDIR}/tests/check.sh ${.CURDIR}/tests
.include <bsd.prog.mk>