Cross Reference: Makefile
xref: /src/lib/libz/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libz/
Makefile revision 1.19
11.19Schristos#	$NetBSD: Makefile,v 1.19 2006/01/14 20:12:36 christos Exp $
21.19Schristos
31.19Schristos.include <bsd.own.mk>
41.1Sgwr
51.16SlukemUSE_SHLIBDIR=	yes
61.17Slukem
71.19SchristosZLIBDIR=${NETBSDSRCDIR}/common/dist/zlib
81.19Schristos.PATH: ${ZLIBDIR}
91.17SlukemLIB=		z
101.6Sgwr
111.19SchristosSRCS=	adler32.c compress.c crc32.c deflate.c gzio.c infback.c inffast.c \
121.19Schristos	inflate.c inftrees.c trees.c uncompr.c zutil.c 
131.18SwizMAN=	zlib.3
141.1Sgwr
151.19SchristosCPPFLAGS+=	-I${ZLIBDIR}
161.15StvCLEANFILES+=	minigzip
171.1Sgwr
181.15StvINCS=		zconf.h zlib.h
191.15StvINCSDIR=	/usr/include
201.1Sgwr
211.1Sgwr.include <bsd.lib.mk>
221.1Sgwr
231.1Sgwrtest: minigzip
241.1Sgwr	echo hello world | ./minigzip | ./minigzip -d
251.1Sgwr
261.1Sgwr# Note: CFLAGS ommitted by intention!
271.1Sgwr# This is to verify that zlib.h works standalone.
281.15Stvminigzip: minigzip.c libz.a
291.15Stv	${CC} -o minigzip ${.CURDIR}/minigzip.c libz.a
30

Indexes created Tue Jan 13 15:09:31 GMT 2026