Home | History | Annotate | Line # | Download | only in x_gzip
Makefile revision 1.8.44.1
      1  1.8.44.1  christos #	$NetBSD: Makefile,v 1.8.44.1 2019/06/10 21:42:37 christos Exp $
      2       1.7       mrg # Build a tiny limited gzip (i.e. for tiny boot media)
      3       1.7       mrg 
      4       1.7       mrg SRCDIR=         ${.CURDIR}/../../../usr.bin/gzip
      5       1.1       mrg 
      6       1.6        tv PROG=		gzip
      7       1.6        tv NOMAN=		# defined
      8       1.6        tv 
      9       1.8   tsutsui CPPFLAGS+=	-DSMALL
     10       1.8   tsutsui CPPFLAGS+=	-DNO_BZIP2_SUPPORT
     11       1.8   tsutsui CPPFLAGS+=	-DNO_COMPRESS_SUPPORT
     12       1.8   tsutsui CPPFLAGS+=	-DNO_PACK_SUPPORT
     13  1.8.44.1  christos CPPFLAGS+=	-DNO_LZ_SUPPORT
     14  1.8.44.1  christos CPPFLAGS+=	${"${USE_XZ_SETS:Uno}"!="no":?:-DNO_XZ_SUPPORT}
     15       1.7       mrg 
     16  1.8.44.1  christos # for crunched binaries this does not take effect, also check the
     17  1.8.44.1  christos # LIBS entry in the lists file
     18  1.8.44.1  christos DPADD=		${LIBZ} ${LIBLZMA}
     19  1.8.44.1  christos LDADD=		-lz -llzma
     20       1.1       mrg 
     21       1.1       mrg .include <bsd.prog.mk>
     22       1.7       mrg 
     23       1.7       mrg .PATH:		${SRCDIR}
     24