2003-11-26 04:44:56 +08:00
|
|
|
|
|
|
|
if [ "$PLATFORM" != "win32" ]; then
|
|
|
|
|
|
|
|
if [ $PCRE != NO ]; then
|
2004-02-24 04:57:12 +08:00
|
|
|
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
|
|
|
|
echo " cd $PCRE \\" >> $MAKEFILE
|
|
|
|
echo " && ./configure --disable-shared \\" >> $MAKEFILE
|
|
|
|
echo " && \$(MAKE)" >> $MAKEFILE
|
|
|
|
echo >> $MAKEFILE
|
2003-11-26 04:44:56 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ $MD5 != NO ]; then
|
2004-03-01 05:03:02 +08:00
|
|
|
. auto/lib/md5/make
|
2003-11-26 04:44:56 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ $ZLIB != NO ]; then
|
2004-02-24 04:57:12 +08:00
|
|
|
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
|
2003-11-26 04:44:56 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|