mirror of
https://github.com/nginx/nginx.git
synced 2024-12-13 11:09:06 +08:00
38 lines
1.0 KiB
Plaintext
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
|