Makefile revision 1.2
11.2Scgd# $NetBSD: Makefile,v 1.2 1996/09/12 22:33:40 cgd Exp $ 21.1Sgwr# 31.1Sgwr 41.1SgwrLIB= z 51.1SgwrSRCS= adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ 61.1Sgwr zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c 71.1Sgwr 81.1SgwrCFLAGS+= -D_ZLIB_PRIVATE -I${.CURDIR} 91.1Sgwr 101.1SgwrNOMAN= 111.1Sgwr 121.2ScgdCLEANFILES+= minigzip 131.2Scgd 141.1Sgwrincludes: 151.1Sgwr -cd ${.CURDIR}; cmp -s zlib.h ${DESTDIR}/usr/include/zlib.h > \ 161.1Sgwr /dev/null 2>&1 || \ 171.1Sgwr install -c -o ${BINOWN} -g ${BINGRP} -m 444 zlib.h \ 181.1Sgwr ${DESTDIR}/usr/include 191.1Sgwr 201.1Sgwr.include <bsd.lib.mk> 211.1Sgwr 221.1Sgwrtest: minigzip 231.1Sgwr echo hello world | ./minigzip | ./minigzip -d 241.1Sgwr 251.1Sgwr# Note: CFLAGS ommitted by intention! 261.1Sgwr# This is to verify that zlib.h works standalone. 271.1Sgwrminigzip : minigzip.c libz.a 281.2Scgd $(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a 29