nginx/auto/lib/make
2004-02-03 16:43:54 +00:00

38 lines
1.0 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
echo "$MD5/libmd5.a:" >> $MAKEFILE
case $PLATFORM in
SunOS:*)
echo " cd $MD5 && \$(MAKE) x86-solaris" >> $MAKEFILE
;;
*)
echo " cd $MD5 && \$(MAKE) x86-elf" >> $MAKEFILE
;;
esac
echo >> $MAKEFILE
fi
if [ $ZLIB != NO ]; then
echo "$ZLIB/libz.a:" >> $MAKEFILE
echo " cd $ZLIB && ./configure && \$(MAKE)" >> $MAKEFILE
echo >> $MAKEFILE
fi
fi