summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-22 22:21:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-22 22:21:21 +0000
commit6cb68a27784697114cc93128e751e5f058d2fb64 (patch)
tree107e2a386cb78c0d03189d57d4fce5c1f91d82e1
parentb0b0b549d5a01b84b265074c62253fbf87c11caf (diff)
install as z[ef]grep too. no /usr/local garbage, because we have proper
getopt_long support in libc now
-rw-r--r--usr.bin/grep/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
index b396adf971b..ce5bcd1528c 100644
--- a/usr.bin/grep/Makefile
+++ b/usr.bin/grep/Makefile
@@ -1,16 +1,21 @@
-# $Id: Makefile,v 1.2 2003/06/22 22:20:07 deraadt Exp $
+# $Id: Makefile,v 1.3 2003/06/22 22:21:20 deraadt Exp $
PROG= grep
SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
${BINDIR}/grep ${BINDIR}/fgrep \
- ${BINDIR}/grep ${BINDIR}/zgrep
+ ${BINDIR}/grep ${BINDIR}/zgrep \
+ ${BINDIR}/grep ${BINDIR}/zegrep \
+ ${BINDIR}/grep ${BINDIR}/zfgrep \
+
MLINKS= grep.1 egrep.1 \
grep.1 fgrep.1 \
- grep.1 zgrep.1
+ grep.1 zgrep.1 \
+ grep.1 zegrep.1 \
+ grep.1 zfgrep.1
-CFLAGS+= -I/usr/local/include -Wall -pedantic
+CFLAGS+= -Wall -pedantic
-LDADD= -lz -L/usr/local/lib/ -liberty
+LDADD= -lz
.include <bsd.prog.mk>