Makefile revision 1.14
11.14Schristos# $NetBSD: Makefile,v 1.14 2006/01/14 21:15:40 christos Exp $ 21.1Sgwr# Small zcat (i.e. for install media) 31.1Sgwr# 41.2Sgwr# Note: gzio.c is compiled here so that crunchgen will assume 51.2Sgwr# the same symbol space for zcat.c and gzio.c which is required 61.2Sgwr# so that the fake deflate functions in zcat.c will satisfy the 71.2Sgwr# references to those functions in gzio.c (yes, it's a hack). 81.1Sgwr 91.14SchristosSRCDIR= ${.CURDIR}/../../../common/dist/zlib 101.1Sgwr 111.13StvPROG= zcat 121.13StvNOMAN= # defined 131.1Sgwr 141.13StvSRCS= zcat.c gzio.c 151.13Stv 161.14SchristosCPPFLAGS+= -I${SRCDIR} -DNO_GZCOMPRESS 171.13StvDPADD+= ${LIBZ} 181.13StvLDADD+= -lz 191.1Sgwr 201.1Sgwr.include <bsd.prog.mk> 211.13Stv 221.13Stv.PATH: ${SRCDIR} 231.1Sgwr 241.1Sgwrtest: zcat 251.1Sgwr echo 'hello, hello!' | gzip | ./zcat 26