1 # $NetBSD: Makefile,v 1.8 2004/01/01 02:44:09 mrg Exp $
2 # $DragonFly: src/usr.bin/gzip/Makefile,v 1.5 2007/08/27 16:50:54 pavalos Exp $
5 MAN
= gzip
.1 gzexe
.1 zdiff
.1 zforce
.1 zgrep
.1 zmore
.1 znew
.1
7 .if defined
(BOOTSTRAPPING
) && exists
(${_SHLIBDIRPREFIX}/usr
/lib
/libz.a
)
8 LDFLAGS
+= -L
${_SHLIBDIRPREFIX}/usr
/lib
16 .if defined
(NO_GZIP_UNCOMPRESS
)
17 CFLAGS
+= -DNO_COMPRESS_SUPPORT
19 .if defined
(GZIP_UNBZIP2
)
23 CFLAGS
+= -DNO_BZIP2_SUPPORT
26 SCRIPTS
= gzexe zdiff zforce zgrep zmore znew
28 MLINKS
+= gzip
.1 gunzip
.1 \
35 LINKS
+= ${BINDIR}/gzip
${BINDIR}/gunzip \
36 ${BINDIR}/gzip
${BINDIR}/gzcat \
37 ${BINDIR}/gzip
${BINDIR}/zcat \
38 ${BINDIR}/zdiff
${BINDIR}/zcmp \
39 ${BINDIR}/zgrep
${BINDIR}/zegrep \
40 ${BINDIR}/zgrep
${BINDIR}/zfgrep
42 .
include <bsd.prog.mk
>