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 $ 3 4PROG= gzip 5MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zgrep.1 zmore.1 znew.1 6 7DPADD= ${LIBZ} 8LDADD= -lz 9 10NOSHARED?= yes 11 12.if defined(NO_GZIP_UNCOMPRESS) 13CFLAGS+= -DNO_COMPRESS_SUPPORT 14.endif 15.if defined(GZIP_UNBZIP2) 16DPADD+= ${LIBZ2} 17LDADD+= -lbz2 18.else 19CFLAGS+= -DNO_BZIP2_SUPPORT 20.endif 21 22SCRIPTS= gzexe zdiff zforce zgrep zmore znew 23 24MLINKS+= gzip.1 gunzip.1 \ 25 gzip.1 gzcat.1 \ 26 gzip.1 zcat.1 \ 27 zdiff.1 zcmp.1 \ 28 zgrep.1 zegrep.1 \ 29 zgrep.1 zfgrep.1 \ 30 zmore.1 zless.1 31 32LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \ 33 ${BINDIR}/gzip ${BINDIR}/gzcat \ 34 ${BINDIR}/gzip ${BINDIR}/zcat \ 35 ${BINDIR}/zdiff ${BINDIR}/zcmp \ 36 ${BINDIR}/zgrep ${BINDIR}/zegrep \ 37 ${BINDIR}/zgrep ${BINDIR}/zfgrep \ 38 ${BINDIR}/zmore ${BINDIR}/zless 39 40.include <bsd.prog.mk> 41