Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $
2#	$FreeBSD: head/usr.bin/grep/Makefile 210389 2010-07-22 19:11:57Z gabor $
3#	$OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
4
5PROG=	grep
6SRCS=	fastgrep.c file.c grep.c queue.c util.c
7
8LINKS=	${BINDIR}/grep ${BINDIR}/egrep	\
9	${BINDIR}/grep ${BINDIR}/fgrep	\
10	${BINDIR}/grep ${BINDIR}/zgrep	\
11	${BINDIR}/grep ${BINDIR}/zegrep	\
12	${BINDIR}/grep ${BINDIR}/zfgrep
13
14MLINKS=	grep.1 egrep.1	\
15	grep.1 fgrep.1	\
16	grep.1 zgrep.1	\
17	grep.1 zegrep.1	\
18	grep.1 zfgrep.1
19
20LDADD=	-lz -lbz2
21DPADD=	${LIBZ} ${LIBBZ2}
22
23.PATH: ${.CURDIR}/nls
24
25NLS=	C.msg \
26	es_ES.ISO8859-1.msg \
27	gl_ES.ISO8859-1.msg \
28	hu_HU.ISO8859-2.msg \
29	ja_JP.eucJP.msg \
30	ja_JP.SJIS.msg \
31	ja_JP.UTF-8.msg \
32	pt_BR.ISO8859-1.msg \
33	ru_RU.KOI8-R.msg \
34	uk_UA.UTF-8.msg \
35	zh_CN.UTF-8.msg
36
37.include <bsd.prog.mk>
38