[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libz

File: [cvs.NetBSD.org] / src / lib / libz / Makefile (download)

Revision 1.14, Tue Oct 26 03:42:58 1999 UTC (20 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.13: +2 -1 lines

make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?

#	$NetBSD: Makefile,v 1.14 1999/10/26 03:42:58 itojun Exp $

LIB=	z

SRCS=	adler32.c compress.c crc32.c deflate.c gzio.c infblock.c \
	infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \
SRCS+=	gzio_compat.c


CLEANFILES+= minigzip

INCS=	zconf.h zlib.h

.include <bsd.lib.mk>

test: minigzip
	echo hello world | ./minigzip | ./minigzip -d

# Note: CFLAGS ommitted by intention!
# This is to verify that zlib.h works standalone.
minigzip : minigzip.c libz.a
	$(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a