Makefile revision 1.5
11.5Scjs# $NetBSD: Makefile,v 1.5 1997/05/30 01:55:12 cjs Exp $ 21.1Scgd 31.1ScgdLIB= z 41.1ScgdNOPIC= 51.1ScgdNOPROFILE= 61.1Scgd 71.5Scjs# this library needed only during build 81.5ScjsNOINSTALL=1 91.5Scjs 101.3ScgdCPPFLAGS= -I. ${ZCPPFLAGS} ${ZMISCCPPFLAGS} -D_ZLIB_PRIVATE 111.1Scgd 121.1Scgd# files to be copied down from libz. 131.1ScgdLIBZSRCS= adler32.c crc32.c infblock.c infcodes.c inffast.c \ 141.1Scgd inflate.c inftrees.c infutil.c 151.1ScgdLIBZHDRS= infblock.h infcodes.h inffast.h inftrees.h infutil.h \ 161.1Scgd zconf.h zlib.h zutil.h 171.1Scgd 181.1Scgd# Other stuff 191.1ScgdSRCS= ${LIBZSRCS} 201.1Scgd 211.1Scgd# Files to clean up 221.1ScgdCLEANFILES+= lib${LIB}.o 231.1Scgd 241.1Scgd.include <bsd.lib.mk> 251.1Scgd 261.1Scgdlib${LIB}.o:: ${OBJS} 271.1Scgd @echo building standard ${LIB} library 281.1Scgd @rm -f lib${LIB}.o 291.1Scgd @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 301.1Scgd 311.1Scgdupdate-sources: 321.1Scgd for file in ${LIBZSRCS} ${LIBZHDRS}; do \ 331.1Scgd cp ${.CURDIR}/../../../lib/libz/$$file ${.CURDIR}; \ 341.1Scgd done 35