1#
| 1#
|
2# $FreeBSD: head/lib/libz/Makefile 74870 2001-03-27 17:27:19Z ru $
| 2# $FreeBSD: head/lib/libz/Makefile 83138 2001-09-06 09:14:49Z kris $
|
3# 4 5MAINTAINER=peter@FreeBSD.org 6 7LIB= z 8MAN= zlib.3 9 10#CFLAGS+= -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 11#CFLAGS+= -g -DDEBUG 12#CFLAGS+= -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ 13# -Wstrict-prototypes -Wmissing-prototypes 14 15CFLAGS+= -DHAS_snprintf -DHAS_vsnprintf 16 17CLEANFILES+= example.o example foo.gz minigzip.o minigzip 18 19SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
| 3# 4 5MAINTAINER=peter@FreeBSD.org 6 7LIB= z 8MAN= zlib.3 9 10#CFLAGS+= -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 11#CFLAGS+= -g -DDEBUG 12#CFLAGS+= -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ 13# -Wstrict-prototypes -Wmissing-prototypes 14 15CFLAGS+= -DHAS_snprintf -DHAS_vsnprintf 16 17CLEANFILES+= example.o example foo.gz minigzip.o minigzip 18 19SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
|
20 zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
| 20 zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c \ 21 inffast.c zopen.c
|
21INCS= zconf.h zlib.h 22 23minigzip: all minigzip.o 24 $(CC) -o minigzip minigzip.o -L. -lz 25 26example: all example.o 27 $(CC) -o example example.o -L. -lz 28 29test: example minigzip 30 (export LD_LIBRARY_PATH=. ; ./example ) 31 (export LD_LIBRARY_PATH=. ; \ 32 echo hello world | ./minigzip | ./minigzip -d ) 33 34.include <bsd.lib.mk>
| 22INCS= zconf.h zlib.h 23 24minigzip: all minigzip.o 25 $(CC) -o minigzip minigzip.o -L. -lz 26 27example: all example.o 28 $(CC) -o example example.o -L. -lz 29 30test: example minigzip 31 (export LD_LIBRARY_PATH=. ; ./example ) 32 (export LD_LIBRARY_PATH=. ; \ 33 echo hello world | ./minigzip | ./minigzip -d ) 34 35.include <bsd.lib.mk>
|