NetBSD/distrib/utils/x_gzip/Makefile

21 lines
407 B
Makefile

# $NetBSD: Makefile,v 1.8 2011/06/19 01:25:35 tsutsui Exp $
# Build a tiny limited gzip (i.e. for tiny boot media)
SRCDIR= ${.CURDIR}/../../../usr.bin/gzip
PROG= gzip
NOMAN= # defined
CPPFLAGS+= -DSMALL
CPPFLAGS+= -DNO_BZIP2_SUPPORT
CPPFLAGS+= -DNO_COMPRESS_SUPPORT
CPPFLAGS+= -DNO_PACK_SUPPORT
CPPFLAGS+= -DNO_XZ_SUPPORT
DPADD= ${LIBZ}
LDADD= -lz
.include <bsd.prog.mk>
.PATH: ${SRCDIR}