NetBSD/lib/libz/Makefile

27 lines
590 B
Makefile
Raw Normal View History

# $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 \
1998-11-01 23:33:24 +03:00
infcodes.c inffast.c inflate.c inftrees.c infutil.c trees.c uncompr.c \
zutil.c
SRCS+= gzio_compat.c
1997-10-23 07:31:09 +04:00
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