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 zdiff.1 xzdiff.1 \ 24 zmore.1 zless.1 25 26LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \ 27 ${BINDIR}/gzip ${BINDIR}/gzcat \ 28 ${BINDIR}/gzip ${BINDIR}/zcat \ 29 ${BINDIR}/zdiff ${BINDIR}/xzdiff \ 30 ${BINDIR}/zdiff ${BINDIR}/zcmp 31 32HAS_TESTS= 33SUBDIR.${MK_TESTS}+= tests 34 35.include <bsd.prog.mk> 36