Home | History | Annotate | Line # | Download | only in x_gzip
      1  1.12       mrg #	$NetBSD: Makefile,v 1.12 2022/07/10 04:01:07 mrg Exp $
      2   1.7       mrg # Build a tiny limited gzip (i.e. for tiny boot media)
      3   1.7       mrg 
      4  1.12       mrg .include <bsd.own.mk>
      5  1.12       mrg 
      6   1.7       mrg SRCDIR=         ${.CURDIR}/../../../usr.bin/gzip
      7   1.1       mrg 
      8   1.6        tv PROG=		gzip
      9   1.6        tv NOMAN=		# defined
     10   1.6        tv 
     11   1.8   tsutsui CPPFLAGS+=	-DSMALL
     12   1.8   tsutsui CPPFLAGS+=	-DNO_BZIP2_SUPPORT
     13   1.8   tsutsui CPPFLAGS+=	-DNO_COMPRESS_SUPPORT
     14   1.8   tsutsui CPPFLAGS+=	-DNO_PACK_SUPPORT
     15  1.10  christos CPPFLAGS+=	-DNO_LZ_SUPPORT
     16   1.7       mrg 
     17   1.9    martin # for crunched binaries this does not take effect, also check the
     18   1.9    martin # LIBS entry in the lists file
     19  1.11       rin DPADD=		${LIBZ}
     20  1.11       rin LDADD=		-lz
     21  1.12       mrg 
     22  1.11       rin .if ${USE_XZ_SETS:Uno} != "no"
     23  1.11       rin DPADD+=		${LIBLZMA}
     24  1.11       rin LDADD+=		-llzma
     25  1.12       mrg .else
     26  1.12       mrg CPPFLAGS+=	-DNO_XZ_SUPPORT
     27  1.11       rin .endif
     28   1.1       mrg 
     29   1.1       mrg .include <bsd.prog.mk>
     30   1.7       mrg 
     31   1.7       mrg .PATH:		${SRCDIR}
     32