Makefile revision 1.16
11.16Stls# $NetBSD: Makefile,v 1.16 2009/03/25 18:41:06 tls Exp $ 21.1Scgd 31.1ScgdLIB= z 41.12StvNOPIC= # defined 51.12StvNOPROFILE=# defined 61.1Scgd 71.14SchristosZDISTDIR:=${.PARSEDIR}/../../../common/dist/zlib 81.10Sdrochner 91.15SisakiCPPFLAGS+= -I${ZDISTDIR} ${ZCPPFLAGS} ${ZMISCCPPFLAGS} 101.14Schristos 111.14Schristos.PATH.c: ${ZDISTDIR} ${.PARSEDIR} 121.1Scgd 131.1Scgd# files to be copied down from libz. 141.16StlsLIBZSRCS= adler32.c compress.c deflate.c infback.c inffast.c \ 151.14Schristos inflate.c inftrees.c trees.c uncompr.c 161.16StlsLIBZHDRS= deflate.h inffast.h inffixed.h inflate.h inftrees.h \ 171.14Schristos trees.h zconf.h zlib.h 181.1Scgd 191.1Scgd# Other stuff 201.8SsimonbSRCS= ${LIBZSRCS} zalloc.c 211.1Scgd 221.1Scgd# Files to clean up 231.1ScgdCLEANFILES+= lib${LIB}.o 241.6Scjs 251.6Scjs# only needed during build 261.6Scjslibinstall:: 271.1Scgd 281.11Stv.undef DESTDIR 291.1Scgd.include <bsd.lib.mk> 301.1Scgd 311.1Scgdlib${LIB}.o:: ${OBJS} 321.1Scgd @echo building standard ${LIB} library 331.1Scgd @rm -f lib${LIB}.o 341.1Scgd @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 35