NetBSD/lib/libz/Makefile
gwr 371ce0e795 Remove _ZLIB_PRIVATE and all related changes. The "exported" API
of this library includes the typedefs in zconf.h so export it too.
Our zlib should now work with "png" (fixes PR lib/3030).
1997-05-13 22:57:09 +00:00

26 lines
576 B
Makefile

# $NetBSD: Makefile,v 1.6 1997/05/13 23:01:08 gwr Exp $
LIB= z
NOMAN= zlib.3
HDRS= zconf.h zlib.h
SRCS= adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
CFLAGS+= -I${.CURDIR}
CLEANFILES+= minigzip
INCS=zlib.h
INCSDIR=/usr/include
.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