1# 2# $FreeBSD: src/lib/libz/Makefile,v 1.11.2.4 2003/02/01 13:33:12 sobomax Exp $ 3# 4 5LIB= z 6SHLIBDIR?= /lib 7MAN= zlib.3 8WARNS?= 2 9 10CONTRIBDIR= ${.CURDIR}/../../contrib/zlib-1.2 11 12.PATH: ${CONTRIBDIR} 13 14SRCS= adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c 15SRCS+= gzwrite.c infback.c 16SRCS+= inffast.c inflate.c inftrees.c trees.c uncompr.c zopen.c zutil.c 17 18CFLAGS+= -I${CONTRIBDIR} -I${.CURDIR} 19 20INCS= zconf.h zlib.h 21 22VERSION_DEF= ${.CURDIR}/Versions.def 23SYMBOL_MAPS= ${.CURDIR}/Symbol.map 24 25beforeinstall: 26 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 27 ${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig 28 29.include <bsd.lib.mk> 30