1 # $DragonFly: src/lib/libz/Makefile.stand,v 1.4 2005/07/21 18:07:41 joerg Exp $
3 # decompression functionality from libz for libstand
5 # relative to lib/libstand
6 ZLIBDIR= ${.CURDIR}/../../contrib/zlib-1.2
9 CFLAGS+=-DHAVE_MEMCPY -I${ZLIBDIR}
10 SRCS+= adler32.c crc32.c deflate.c infback.c inffast.c inflate.c \
13 ZLIB_PATCHES!= echo ${.CURDIR}/../libz/patches/*.patch
14 .for patch in ${ZLIB_PATCHES}
15 .for file in ${patch:R:T}
17 ${file}: ${ZLIBDIR}/${file} ${patch}
18 patch -o ${.TARGET} -i ${patch} ${ZLIBDIR}/${file}