1# $NetBSD: Makefile,v 1.10 2006/05/12 02:01:15 mrg Exp $ 2# $FreeBSD$ 3 4.include <bsd.own.mk> 5 6PROG= gzip 7MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1 8 9DPADD= ${LIBZ} 10LDADD= -lz 11 12.if ${MK_BZIP2_SUPPORT} != "no" 13DPADD+= ${LIBBZ2} 14LDADD+= -lbz2 15.else 16CFLAGS+= -DNO_BZIP2_SUPPORT 17.endif 18 19SCRIPTS= gzexe zdiff zforce zmore znew 20 21MLINKS+= gzip.1 gunzip.1 \ 22 gzip.1 gzcat.1 \ 23 gzip.1 zcat.1 \ 24 zdiff.1 zcmp.1 25 26LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \ 27 ${BINDIR}/gzip ${BINDIR}/gzcat \ 28 ${BINDIR}/gzip ${BINDIR}/zcat \ 29 ${BINDIR}/zdiff ${BINDIR}/zcmp 30 31.include <bsd.prog.mk> 32