NetBSD/lib/libz/Makefile
itojun fb26763771 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?
1999-10-26 03:42:58 +00:00

27 lines
590 B
Makefile

# $NetBSD: Makefile,v 1.14 1999/10/26 03:42:58 itojun Exp $
LIB= z
MKMAN= no
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 \
zutil.c
SRCS+= gzio_compat.c
CPPFLAGS+= -I${.CURDIR}
CLEANFILES+= minigzip
INCS= zconf.h 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