
anywhere else. - for now, override WARNS=0 in librpcsvc and libwrap, until they're cleaned up - rcsid police lib is now clean (except for librpcsvc and libwrap) on the i386, and this should motivate the other ports to fix any other minor problems that their compilers pick up that the i386 version doesn't.
25 lines
566 B
Makefile
25 lines
566 B
Makefile
# $NetBSD: Makefile,v 1.9 1997/10/09 14:36:30 lukem Exp $
|
|
|
|
LIB= z
|
|
NOMAN= zlib.3
|
|
|
|
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= 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
|