blob: 7fab423bf64fe44524b4b6a83740dc7add04b308 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-aa,v 1.1.1.1 2002/11/19 07:15:14 cjep Exp $
--- Makefile.orig Fri Nov 5 15:28:02 1999
+++ Makefile
@@ -2,14 +2,22 @@
-PROG= grep
+PREFIX?=/usr/local
+
+PROG= bgrep
+MAN= bgrep.1
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
-MLINKS= grep.1 egrep.1 \
- grep.1 fgrep.1 \
- grep.1 zgrep.1
+LINKS= ${BINDIR}/bgrep ${BINDIR}/ebgrep \
+ ${BINDIR}/bgrep ${BINDIR}/fbgrep \
+ ${BINDIR}/bgrep ${BINDIR}/zbgrep
+MLINKS= bgrep.1 ebgrep.1 \
+ bgrep.1 fbgrep.1 \
+ bgrep.1 zbgrep.1
+
+#CFLAGS+= -I/usr/local/include -Wall -pedantic
-CFLAGS+= -I/usr/local/include -Wall -pedantic
+#LDADD= -lz -L/usr/local/lib/ -liberty
+LDADD= -lz
-LDADD= -lz -L/usr/local/lib/ -liberty
+MANDIR=${PREFIX}/man
+BINDIR=${PREFIX}/bin
+MKCATPAGES=no
|