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