1# $NetBSD: Makefile,v 1.18 2013/11/13 11:12:24 pettai Exp $ 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG= gzip 7MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1 8 9LIBADD= z lzma 10 11.if ${MK_BZIP2_SUPPORT} != "no" 12LIBADD+= bz2 13.else 14CFLAGS+= -DNO_BZIP2_SUPPORT 15.endif 16 17SCRIPTS= gzexe zdiff zforce zmore znew 18 19MLINKS+= gzip.1 gunzip.1 \ 20 gzip.1 gzcat.1 \ 21 gzip.1 zcat.1 \ 22 zdiff.1 zcmp.1 \ 23 zmore.1 zless.1 24 25LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \ 26 ${BINDIR}/gzip ${BINDIR}/gzcat \ 27 ${BINDIR}/gzip ${BINDIR}/zcat \ 28 ${BINDIR}/zdiff ${BINDIR}/zcmp 29 30SUBDIR.${MK_TESTS}+= tests 31 32.include <bsd.prog.mk> 33