1#
| 1#
|
2# $FreeBSD: head/lib/libz/Makefile 50476 1999-08-28 00:22:10Z peter $
| 2# $FreeBSD: head/lib/libz/Makefile 55955 2000-01-14 07:57:47Z rgrimes $
|
3# 4 5MAINTAINER=peter@FreeBSD.org 6 7LIB= z 8MAN3= 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 15CLEANFILES+= example.o example foo.gz minigzip.o minigzip 16 17SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ 18 zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
| 3# 4 5MAINTAINER=peter@FreeBSD.org 6 7LIB= z 8MAN3= 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 15CLEANFILES+= example.o example foo.gz minigzip.o minigzip 16 17SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ 18 zutil.c inflate.c infblock.c inftrees.c infcodes.c infutil.c inffast.c
|
| 19INCS= zconf.h zlib.h
|
19
| 20
|
20beforeinstall: 21.for hdr in zconf.h zlib.h 22 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/${hdr} \ 23 ${DESTDIR}/usr/include 24.endfor 25
| |
26minigzip: all minigzip.o 27 $(CC) -o minigzip minigzip.o -L. -lz 28 29example: all example.o 30 $(CC) -o example example.o -L. -lz 31 32test: example minigzip 33 (export LD_LIBRARY_PATH=. ; ./example ) 34 (export LD_LIBRARY_PATH=. ; \ 35 echo hello world | ./minigzip | ./minigzip -d ) 36 37.include <bsd.lib.mk>
| 21minigzip: all minigzip.o 22 $(CC) -o minigzip minigzip.o -L. -lz 23 24example: all example.o 25 $(CC) -o example example.o -L. -lz 26 27test: example minigzip 28 (export LD_LIBRARY_PATH=. ; ./example ) 29 (export LD_LIBRARY_PATH=. ; \ 30 echo hello world | ./minigzip | ./minigzip -d ) 31 32.include <bsd.lib.mk>
|