mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
|
|
if [ "$PLATFORM" != "win32" ]; then
|
|
|
|
if [ $PCRE != NO ]; then
|
|
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
|
|
echo " cd $PCRE \\" >> $MAKEFILE
|
|
echo " && ./configure --disable-shared \\" >> $MAKEFILE
|
|
echo " && \$(MAKE)" >> $MAKEFILE
|
|
echo >> $MAKEFILE
|
|
fi
|
|
|
|
|
|
if [ $MD5 != NO ]; then
|
|
. auto/lib/md5/make
|
|
fi
|
|
|
|
|
|
if [ $ZLIB != NO ]; then
|
|
echo "$ZLIB/libz.a:" >> $MAKEFILE
|
|
|
|
case $PLATFORM in
|
|
|
|
*:i386)
|
|
echo " cd $ZLIB \\" >> $MAKEFILE
|
|
echo " && cp contrib/asm686/match.S . \\" >> $MAKEFILE
|
|
echo " && CFLAGS=\"-O3 -DASMV\" ./configure \\" >> $MAKEFILE
|
|
echo " && \$(MAKE) OBJA=match.o" >> $MAKEFILE
|
|
;;
|
|
|
|
*)
|
|
echo " cd $ZLIB && ./configure && \$(MAKE)" >> $MAKEFILE
|
|
;;
|
|
|
|
esac
|
|
|
|
echo >> $MAKEFILE
|
|
fi
|
|
|
|
fi
|