HAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.
[dragonfly.git] / usr.bin / gzip / Makefile
blob7f7125e1e9a1e35d16ecff88b200b2569040a407
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 $
4 PROG= gzip
5 MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1
7 DPADD= ${LIBZ}
8 LDADD= -lz
10 NOSHARED?= yes
12 .if defined(NO_GZIP_UNCOMPRESS)
13 CFLAGS+= -DNO_COMPRESS_SUPPORT
14 .endif
15 .if defined(GZIP_UNBZIP2)
16 DPADD+= ${LIBZ2}
17 LDADD+= -lbz2
18 .else
19 CFLAGS+= -DNO_BZIP2_SUPPORT
20 .endif
22 SCRIPTS= gzexe zdiff zforce zmore znew
24 MLINKS+= gzip.1 gunzip.1 \
25 gzip.1 gzcat.1 \
26 gzip.1 zcat.1 \
27 zdiff.1 zcmp.1
29 LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \
30 ${BINDIR}/gzip ${BINDIR}/gzcat \
31 ${BINDIR}/gzip ${BINDIR}/zcat \
32 ${BINDIR}/zdiff ${BINDIR}/zcmp
34 .include <bsd.prog.mk>