9ffc49ef33
brief summary: * Add NetBSD RCS Ids. Change to use a date based version number. * Remove unused variables and functions. * Move towards NetBSD code style. * Add missing GNU options (except for --include, --exclude and --line-buffered) * Bug fixes * Bug fixes and changes from OpenBSD's src/usr.bin/grep A full list of changes can be viewed in the NetBSD CVS repository at othersrc/usr.bin/grep. A ChangeLog is also available at: ftp://ftp.NetBSD.org/pub/NetBSD/misc/cjep/grep-ChangeLog.txt If you want to help out, please let me (cjep@) know so that we can organise our efforts efficiently.
23 lines
448 B
Makefile
23 lines
448 B
Makefile
# $NetBSD: Makefile,v 1.1.1.2 2004/01/02 15:00:25 cjep 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
|
|
|
|
LDADD= -lz
|
|
|
|
WARNS=2
|
|
|
|
.include <bsd.prog.mk>
|