Cross Reference: Makefile
xref: /src/lib/libz/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libz/
Makefile revision 1.18
11.18Swiz#	$NetBSD: Makefile,v 1.18 2003/10/03 18:46:22 wiz Exp $
21.1Sgwr
31.16SlukemUSE_SHLIBDIR=	yes
41.17Slukem
51.17SlukemLIB=		z
61.6Sgwr
71.13SgarbledSRCS=	adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
81.11Stron	infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \
91.15Stv	zutil.c gzio_compat.c
101.18SwizMAN=	zlib.3
111.1Sgwr
121.15StvCPPFLAGS+=	-I${.CURDIR}
131.15StvCLEANFILES+=	minigzip
141.1Sgwr
151.15StvINCS=		zconf.h zlib.h
161.15StvINCSDIR=	/usr/include
171.1Sgwr
181.1Sgwr.include <bsd.lib.mk>
191.1Sgwr
201.1Sgwrtest: minigzip
211.1Sgwr	echo hello world | ./minigzip | ./minigzip -d
221.1Sgwr
231.1Sgwr# Note: CFLAGS ommitted by intention!
241.1Sgwr# This is to verify that zlib.h works standalone.
251.15Stvminigzip: minigzip.c libz.a
261.15Stv	${CC} -o minigzip ${.CURDIR}/minigzip.c libz.a
27

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