1997-10-09 18:36:17 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1997/10/09 14:36:30 lukem Exp $
|
1996-09-12 23:33:53 +04:00
|
|
|
|
|
|
|
LIB= z
|
1997-05-14 02:57:09 +04:00
|
|
|
NOMAN= zlib.3
|
|
|
|
|
1996-09-12 23:33:53 +04:00
|
|
|
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
|
|
|
|
|
1997-05-14 02:57:09 +04:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
1996-09-12 23:33:53 +04:00
|
|
|
|
1996-09-13 02:33:40 +04:00
|
|
|
CLEANFILES+= minigzip
|
|
|
|
|
1997-05-26 02:58:09 +04:00
|
|
|
INCS= zconf.h zlib.h
|
1997-03-25 01:11:48 +03:00
|
|
|
INCSDIR=/usr/include
|
1996-09-12 23:33:53 +04:00
|
|
|
|
|
|
|
.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
|
1996-09-13 02:33:40 +04:00
|
|
|
$(CC) -o minigzip ${.CURDIR}/minigzip.c libz.a
|