1 # $NetBSD: Makefile,v 1.22 2014/01/30 06:49:16 wiz Exp $
5 USE_FORT?
= yes
# data-driven bugs?
11 ZLIBDIR
=${NETBSDSRCDIR}/common
/dist/zlib
15 SRCS
= adler32.c compress.c crc32.c deflate.c gzio.c infback.c inffast.c \
16 inflate.c inftrees.c trees.c uncompr.c zutil.c
19 CPPFLAGS
+= -I
${ZLIBDIR}
26 FILESOWN_zlib.
pc= ${BINOWN}
27 FILESGRP_zlib.
pc= ${BINGRP}
28 FILESMODE_zlib.
pc= ${NONBINMODE}
29 FILESDIR_zlib.
pc= /usr
/lib
/pkgconfig
34 echo hello world | .
/minigzip | .
/minigzip
-d
36 # Note: CFLAGS ommitted by intention!
37 # This is to verify that zlib.h works standalone.
38 minigzip
: minigzip.c libz.a
39 ${CC} -o minigzip
${.CURDIR
}/minigzip.c libz.a