hammer(8): snaprm: fix edge case
[dragonfly.git] / usr.bin / gzip / Makefile
CommitLineData
62529567 1# $NetBSD: Makefile,v 1.8 2004/01/01 02:44:09 mrg Exp $
c03f08f3 2# $DragonFly: src/usr.bin/gzip/Makefile,v 1.5 2007/08/27 16:50:54 pavalos Exp $
62529567
JS
3
4PROG= gzip
cb622d03 5MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zmore.1 znew.1
62529567
JS
6
7DPADD= ${LIBZ}
8LDADD= -lz
62529567
JS
9
10NOSHARED?= yes
11
e75d098c 12.if defined(NO_GZIP_UNCOMPRESS)
62529567
JS
13CFLAGS+= -DNO_COMPRESS_SUPPORT
14.endif
15.if defined(GZIP_UNBZIP2)
16DPADD+= ${LIBZ2}
17LDADD+= -lbz2
18.else
19CFLAGS+= -DNO_BZIP2_SUPPORT
20.endif
21
cb622d03 22SCRIPTS= gzexe zdiff zforce zmore znew
62529567
JS
23
24MLINKS+= gzip.1 gunzip.1 \
25 gzip.1 gzcat.1 \
26 gzip.1 zcat.1 \
00e71414
PA
27 zdiff.1 zcmp.1 \
28 zmore.1 zless.1
62529567
JS
29
30LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \
31 ${BINDIR}/gzip ${BINDIR}/gzcat \
32 ${BINDIR}/gzip ${BINDIR}/zcat \
00e71414
PA
33 ${BINDIR}/zdiff ${BINDIR}/zcmp \
34 ${BINDIR}/zmore ${BINDIR}/zless
62529567 35
62529567 36.include <bsd.prog.mk>