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