2011-08-17 19:32:20 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2011/08/17 15:32:20 christos Exp $
|
2011-02-16 04:31:33 +03:00
|
|
|
# $FreeBSD: head/usr.bin/grep/Makefile 210389 2010-07-22 19:11:57Z gabor $
|
|
|
|
# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
|
2004-01-02 17:58:43 +03:00
|
|
|
|
|
|
|
PROG= grep
|
2011-02-16 04:31:33 +03:00
|
|
|
SRCS= fastgrep.c file.c grep.c queue.c util.c
|
2004-01-02 17:58:43 +03:00
|
|
|
|
2011-02-16 04:31:33 +03:00
|
|
|
LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
|
2004-01-02 18:00:25 +03:00
|
|
|
${BINDIR}/grep ${BINDIR}/fgrep \
|
|
|
|
${BINDIR}/grep ${BINDIR}/zgrep \
|
|
|
|
${BINDIR}/grep ${BINDIR}/zegrep \
|
|
|
|
${BINDIR}/grep ${BINDIR}/zfgrep
|
2004-01-02 17:58:43 +03:00
|
|
|
|
2011-02-16 04:31:33 +03:00
|
|
|
MLINKS= grep.1 egrep.1 \
|
2004-01-02 18:00:25 +03:00
|
|
|
grep.1 fgrep.1 \
|
|
|
|
grep.1 zgrep.1 \
|
|
|
|
grep.1 zegrep.1 \
|
|
|
|
grep.1 zfgrep.1
|
|
|
|
|
2011-02-16 04:31:33 +03:00
|
|
|
LDADD= -lz -lbz2
|
|
|
|
DPADD= ${LIBZ} ${LIBBZ2}
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/nls
|
|
|
|
|
|
|
|
NLS= C.msg \
|
|
|
|
es_ES.ISO8859-1.msg \
|
|
|
|
gl_ES.ISO8859-1.msg \
|
|
|
|
hu_HU.ISO8859-2.msg \
|
|
|
|
ja_JP.eucJP.msg \
|
|
|
|
ja_JP.SJIS.msg \
|
|
|
|
ja_JP.UTF-8.msg \
|
|
|
|
pt_BR.ISO8859-1.msg \
|
|
|
|
ru_RU.KOI8-R.msg \
|
|
|
|
uk_UA.UTF-8.msg \
|
|
|
|
zh_CN.UTF-8.msg
|
2004-01-02 18:00:25 +03:00
|
|
|
|
2011-08-17 19:32:20 +04:00
|
|
|
COPTS.grep.c += -Wno-format-nonliteral
|
|
|
|
COPTS.util.c += -Wno-format-nonliteral
|
|
|
|
|
2004-01-02 17:58:43 +03:00
|
|
|
.include <bsd.prog.mk>
|