1 # $NetBSD: Makefile,v 1.12 2008/08/29 00:02:24 gmcgarry Exp $
3 USE_FORT?
= yes
# data-driven bugs?
6 MAN
= gzip
.1 gzexe
.1 zdiff
.1 zforce
.1 zgrep
.1 zmore
.1 znew
.1
8 DPADD
= ${LIBZ} ${LIBBZ2}
11 SCRIPTS
= gzexe zdiff zforce zgrep zmore znew
13 MLINKS
+= gzip
.1 gunzip
.1 \
20 LINKS
+= ${BINDIR}/gzip
${BINDIR}/gunzip \
21 ${BINDIR}/gzip
${BINDIR}/gzcat \
22 ${BINDIR}/gzip
${BINDIR}/zcat \
23 ${BINDIR}/zdiff
${BINDIR}/zcmp \
24 ${BINDIR}/zgrep
${BINDIR}/zegrep \
25 ${BINDIR}/zgrep
${BINDIR}/zfgrep
27 .
include <bsd.prog.mk
>
29 .if
(defined
(HAVE_GCC
) && ${HAVE_GCC} == 4) || defined
(HAVE_PCC
)
30 COPTS.gzip.c
+= -Wno-pointer-sign