
The NetBSD version is seriously broken--it is unable to match lines against an empty pattern--and appears to be unmaintained. The new version is the latest OpenBSD grep, with a number of MINIX- specific changes marked as such, and an additional number of (signed/unsigned, const) fixes to pass compilation. Since this is not NetBSD code, move back the entire thing into minix/usr.bin. Change-Id: Icd40794a2d0cff9e7fb452db7d28c16dbd25e51d
23 lines
469 B
Makefile
23 lines
469 B
Makefile
# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert 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}/zegrep \
|
|
${BINDIR}/grep ${BINDIR}/zfgrep \
|
|
|
|
MLINKS= grep.1 egrep.1 \
|
|
grep.1 fgrep.1 \
|
|
grep.1 zgrep.1 \
|
|
grep.1 zegrep.1 \
|
|
grep.1 zfgrep.1
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
LDADD= -lz
|
|
DPADD= ${LIBZ}
|
|
|
|
.include <bsd.prog.mk>
|