Makefile revision 1.10
11.10Schristos#	$NetBSD: Makefile,v 1.10 2018/10/26 22:28:59 christos Exp $
21.7Smrg# Build a tiny limited gzip (i.e. for tiny boot media)
31.7Smrg
41.7SmrgSRCDIR=         ${.CURDIR}/../../../usr.bin/gzip
51.1Smrg
61.6StvPROG=		gzip
71.6StvNOMAN=		# defined
81.6Stv
91.8StsutsuiCPPFLAGS+=	-DSMALL
101.8StsutsuiCPPFLAGS+=	-DNO_BZIP2_SUPPORT
111.8StsutsuiCPPFLAGS+=	-DNO_COMPRESS_SUPPORT
121.8StsutsuiCPPFLAGS+=	-DNO_PACK_SUPPORT
131.10SchristosCPPFLAGS+=	-DNO_LZ_SUPPORT
141.9SmartinCPPFLAGS+=	${"${USE_XZ_SETS:Uno}"!="no":?:-DNO_XZ_SUPPORT}
151.7Smrg
161.9Smartin# for crunched binaries this does not take effect, also check the
171.9Smartin# LIBS entry in the lists file
181.9SmartinDPADD=		${LIBZ} ${LIBLZMA}
191.9SmartinLDADD=		-lz -llzma
201.1Smrg
211.1Smrg.include <bsd.prog.mk>
221.7Smrg
231.7Smrg.PATH:		${SRCDIR}
24