mirror of
https://github.com/nginx/nginx.git
synced 2024-12-28 01:41:52 -06:00
nginx-0.0.2-2004-03-01-23:00:04 import
This commit is contained in:
parent
83a7a2e567
commit
b9956ee298
@ -2,11 +2,7 @@
|
|||||||
if [ "$PLATFORM" != "win32" ]; then
|
if [ "$PLATFORM" != "win32" ]; then
|
||||||
|
|
||||||
if [ $PCRE != NO ]; then
|
if [ $PCRE != NO ]; then
|
||||||
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
|
. auto/lib/pcre/make
|
||||||
echo " cd $PCRE \\" >> $MAKEFILE
|
|
||||||
echo " && ./configure --disable-shared \\" >> $MAKEFILE
|
|
||||||
echo " && \$(MAKE)" >> $MAKEFILE
|
|
||||||
echo >> $MAKEFILE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -16,24 +12,7 @@ if [ "$PLATFORM" != "win32" ]; then
|
|||||||
|
|
||||||
|
|
||||||
if [ $ZLIB != NO ]; then
|
if [ $ZLIB != NO ]; then
|
||||||
echo "$ZLIB/libz.a:" >> $MAKEFILE
|
. auto/lib/zlib/make
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
7
auto/lib/pcre/make
Normal file
7
auto/lib/pcre/make
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
|
||||||
|
echo " cd $PCRE \\" >> $MAKEFILE
|
||||||
|
echo " && ./configure --disable-shared \\" >> $MAKEFILE
|
||||||
|
echo " && \$(MAKE)" >> $MAKEFILE
|
||||||
|
echo >> $MAKEFILE
|
||||||
|
|
19
auto/lib/zlib/make
Normal file
19
auto/lib/zlib/make
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user