Skip to content

Commit

Permalink
nginx-0.0.2-2004-03-01-23:00:04 import
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsysoev committed Mar 1, 2004
1 parent 83a7a2e commit b9956ee
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
25 changes: 2 additions & 23 deletions auto/lib/make
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
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
. auto/lib/pcre/make
fi


Expand All @@ -16,24 +12,7 @@ if [ "$PLATFORM" != "win32" ]; then


if [ $ZLIB != NO ]; then
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
. auto/lib/zlib/make
fi

fi
7 changes: 7 additions & 0 deletions auto/lib/pcre/make
Original file line number Diff line number Diff line change
@@ -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 changes: 19 additions & 0 deletions auto/lib/zlib/make
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b9956ee

Please sign in to comment.