aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1993-07-06 18:53:50 +0000
committerNate Williams <nate@FreeBSD.org>1993-07-06 18:53:50 +0000
commit67b32f8a6425f6c6bbfe5656b4cdefaaa10d328d (patch)
treede2df9b73031befcf39c60595b52e6165ed60b70 /gnu
parentef7cc70c1514593092604e8d41efa2bd8bd9fea6 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/Makefile2
-rw-r--r--gnu/usr.bin/grep/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/gnu/Makefile b/gnu/Makefile
index c8a59b42e67b..11f8532ce2b0 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 <bsd.subdir.mk>
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile
index 5cdbb3a6ffb4..4640d56f134b 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