remove unused code
[freebsd-src/fkvm-freebsd.git] / lib / libz / Makefile
blob63383b4d97b6dc763621e944aba4949d3845b908
2 # $FreeBSD$
5 LIB= z
6 SHLIBDIR?= /lib
7 MAN= zlib.3
9 #CFLAGS+= -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
10 #CFLAGS+= -g -DDEBUG
11 #CFLAGS+= -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
12 # -Wstrict-prototypes -Wmissing-prototypes
14 CFLAGS+= -DHAS_snprintf -DHAS_vsnprintf
16 CLEANFILES+= example.o example foo.gz minigzip.o minigzip
18 SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
19 zutil.c inflate.c inftrees.c inffast.c zopen.c infback.c
20 INCS= zconf.h zlib.h
22 minigzip: all minigzip.o
23 $(CC) -o minigzip minigzip.o -L. -lz
25 example: all example.o
26 $(CC) -o example example.o -L. -lz
28 test: example minigzip
29 (export LD_LIBRARY_PATH=. ; ./example )
30 (export LD_LIBRARY_PATH=. ; \
31 echo hello world | ./minigzip | ./minigzip -d )
33 .include <bsd.lib.mk>