nginx-quic/auto/lib/make

62 lines
1.8 KiB
Text
Raw Normal View History

2003-11-25 17:44:56 -03:00
if [ "$PLATFORM" != "win32" ]; then
if [ $PCRE != NO ]; then
2004-02-23 17:57:12 -03:00
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
echo " cd $PCRE \\" >> $MAKEFILE
echo " && ./configure --disable-shared \\" >> $MAKEFILE
echo " && \$(MAKE)" >> $MAKEFILE
echo >> $MAKEFILE
2003-11-25 17:44:56 -03:00
fi
if [ $MD5 != NO ]; then
2004-02-23 17:57:12 -03:00
echo "$MD5/libmd5.a:" >> $MAKEFILE
2004-02-03 13:43:54 -03:00
case $PLATFORM in
2004-02-23 17:57:12 -03:00
SunOS:*:i386)
echo " cd $MD5 && \$(MAKE) x86-solaris" >> $MAKEFILE
;;
*:i386)
echo " cd $MD5 && \$(MAKE) x86-elf" >> $MAKEFILE
;;
*)
if [ $CC = gcc ]; then
echo " cd $MD5 && \$(MAKE) gcc" >> $MAKEFILE
else
echo " cd $MD5 && \$(MAKE) cc" >> $MAKEFILE
fi
;;
2004-02-03 13:43:54 -03:00
esac
2004-02-23 17:57:12 -03:00
echo >> $MAKEFILE
2003-11-25 17:44:56 -03:00
fi
if [ $ZLIB != NO ]; then
2004-02-23 17:57:12 -03: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-25 17:44:56 -03:00
fi
fi