1 # $NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $
2 # $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
11 SRCS= file.c grep.c queue.c util.c
14 LINKS= ${BINDIR}/zgrep ${BINDIR}/zfgrep \
15 ${BINDIR}/zgrep ${BINDIR}/zegrep \
16 ${BINDIR}/zgrep ${BINDIR}/bzgrep \
17 ${BINDIR}/zgrep ${BINDIR}/bzegrep \
18 ${BINDIR}/zgrep ${BINDIR}/bzfgrep \
19 ${BINDIR}/zgrep ${BINDIR}/lzgrep \
20 ${BINDIR}/zgrep ${BINDIR}/lzegrep \
21 ${BINDIR}/zgrep ${BINDIR}/lzfgrep \
22 ${BINDIR}/zgrep ${BINDIR}/xzgrep \
23 ${BINDIR}/zgrep ${BINDIR}/xzegrep \
24 ${BINDIR}/zgrep ${BINDIR}/xzfgrep \
25 ${BINDIR}/zgrep ${BINDIR}/zstdgrep \
26 ${BINDIR}/zgrep ${BINDIR}/zstdegrep \
27 ${BINDIR}/zgrep ${BINDIR}/zstdfgrep
29 LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
30 ${BINDIR}/grep ${BINDIR}/fgrep \
31 ${BINDIR}/grep ${BINDIR}/rgrep \
33 MLINKS= zgrep.1 zfgrep.1 \
48 MLINKS+= grep.1 egrep.1 \
52 CFLAGS.gcc+= --param max-inline-insns-single=500
54 .if !defined(BOOTSTRAPPING)
59 SUBDIR.${MK_TESTS}+= tests
61 .include <bsd.prog.mk>