Cross Reference: Makefile
xref: /src/lib/libz/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libz/
Makefile revision 1.5
11.5Schristos#	$NetBSD: Makefile,v 1.5 1997/03/24 22:11:59 christos Exp $
21.1Sgwr
31.1SgwrLIB=	z
41.1SgwrSRCS=	adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
51.1Sgwr	zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
61.1Sgwr
71.1SgwrCFLAGS+= -D_ZLIB_PRIVATE -I${.CURDIR}
81.1Sgwr
91.1SgwrNOMAN=
101.1Sgwr
111.2ScgdCLEANFILES+= minigzip
121.2Scgd
131.5SchristosINCS=zlib.h
141.5SchristosINCSDIR=/usr/include
151.1Sgwr
161.1Sgwr.include <bsd.lib.mk>
171.1Sgwr
181.1Sgwrtest: minigzip
191.1Sgwr	echo hello world | ./minigzip | ./minigzip -d
201.1Sgwr
211.1Sgwr# Note: CFLAGS ommitted by intention!
221.1Sgwr# This is to verify that zlib.h works standalone.
231.1Sgwrminigzip : minigzip.c libz.a
241.2Scgd	$(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a
25

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