[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / gzip

File: [cvs.NetBSD.org] / src / usr.bin / gzip / Makefile (download)

Revision 1.14, Sun Jun 19 00:43:54 2011 UTC (6 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.13: +3 -3 lines

Add lzma (.xz) support. Somehow this does not decode after the first read yet.

#	$NetBSD: Makefile,v 1.14 2011/06/19 00:43:54 christos Exp $

USE_FORT?= yes	# data-driven bugs?

PROG=		gzip
MAN=		gzip.1 gzexe.1 zdiff.1 zforce.1 zgrep.1 zmore.1 znew.1

DPADD=		${LIBZ} ${LIBBZ2} ${LIBLZMA}
LDADD=		-lz -lbz2 -llzma

SCRIPTS=	gzexe zdiff zforce zgrep zmore znew

MLINKS+=	gzip.1 gunzip.1 \
		gzip.1 gzcat.1 \
		gzip.1 zcat.1 \
		zdiff.1 zcmp.1 \
		zgrep.1 zegrep.1 \
		zgrep.1 zfgrep.1

LINKS+=		${BINDIR}/gzip ${BINDIR}/gunzip \
		${BINDIR}/gzip ${BINDIR}/gzcat \
		${BINDIR}/gzip ${BINDIR}/zcat \
		${BINDIR}/zdiff ${BINDIR}/zcmp \
		${BINDIR}/zgrep ${BINDIR}/zegrep \
		${BINDIR}/zgrep ${BINDIR}/zfgrep

.include <bsd.prog.mk>

.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
COPTS.gzip.c+=	-Wno-pointer-sign
.endif