forked from nginx/nginx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nginx-0.0.2-2004-03-09-22:47:07 import
- Loading branch information
1 parent
833823c
commit fc5a10a
Showing
34 changed files
with
545 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,10 @@ NGX_ERR=$OBJS/autoconf.err | |
|
||
CC_WARN=$CC | ||
|
||
PCH=NO | ||
USEPCH= | ||
|
||
BINEXT= | ||
INC_EQ=NO | ||
MAKE_BS=NO | ||
MAKE_SL=NO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
|
||
if [ "$PLATFORM" != "win32" ]; then | ||
|
||
if [ $PCRE != NO ]; then | ||
. auto/lib/pcre/make | ||
fi | ||
|
||
|
||
if [ $MD5 != NO ]; then | ||
. auto/lib/md5/make | ||
fi | ||
|
||
if [ $MD5 != NO ]; then | ||
. auto/lib/md5/make | ||
fi | ||
|
||
if [ $ZLIB != NO ]; then | ||
. auto/lib/zlib/make | ||
fi | ||
if [ $ZLIB != NO ]; then | ||
. auto/lib/zlib/make | ||
fi | ||
|
||
if [ $PCRE != NO ]; then | ||
. auto/lib/pcre/make | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,56 @@ | ||
|
||
echo "$MD5/libmd5.a:" >> $MAKEFILE | ||
case $CC in | ||
|
||
cl) | ||
makefile=makefile.msvc | ||
;; | ||
|
||
wcl386) | ||
makefile=makefile.owc | ||
;; | ||
|
||
esac | ||
|
||
|
||
case $PLATFORM in | ||
|
||
win32) | ||
echo "$MD5/md5.lib:" >> $MAKEFILE | ||
;; | ||
|
||
*) | ||
echo "$MD5/libmd5.a:" >> $MAKEFILE | ||
;; | ||
|
||
esac | ||
|
||
|
||
case $PLATFORM in | ||
|
||
win32) | ||
|
||
cp auto/lib/md5/$makefile $MD5 | ||
echo " cd $MD5" >> $MAKEFILE | ||
echo " \$(MAKE) -f $makefile OWC_OPT=$OWC_OPT" >> $MAKEFILE | ||
echo " cd ..\\..\\.." >> $MAKEFILE | ||
;; | ||
|
||
SunOS:*:i386) | ||
echo " cd $MD5 && \$(MAKE) x86-solaris" >> $MAKEFILE | ||
echo " cd $MD5 && \$(MAKE) x86-solaris" >> $MAKEFILE | ||
;; | ||
|
||
*:i386) | ||
echo " cd $MD5 && \$(MAKE) x86-elf" >> $MAKEFILE | ||
echo " cd $MD5 && \$(MAKE) x86-elf" >> $MAKEFILE | ||
;; | ||
|
||
*) | ||
if [ $CC = gcc ]; then | ||
echo " cd $MD5 && \$(MAKE) gcc" >> $MAKEFILE | ||
echo " cd $MD5 && \$(MAKE) gcc" >> $MAKEFILE | ||
else | ||
echo " cd $MD5 && \$(MAKE) cc" >> $MAKEFILE | ||
echo " cd $MD5 && \$(MAKE) cc" >> $MAKEFILE | ||
fi | ||
;; | ||
|
||
esac | ||
|
||
echo >> $MAKEFILE | ||
echo >> $MAKEFILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
|
||
all: | ||
cl -nologo -c -MT -O2 -Ob1 -Oi -Gs -D MD5_ASM -D L_ENDIAN \ | ||
md5_dgst.c md5_one.c | ||
CFLAGS = -nologo -c -MT -O2 -Ob1 -Oi -Gs -D MD5_ASM -D L_ENDIAN | ||
|
||
link -lib -out:md5.lib md5_dgst.obj md5_one.obj asm/m-win32.obj | ||
md5.lib: | ||
cl $(CFLAGS) md5_dgst.c | ||
link -lib -out:md5.lib md5_dgst.obj asm/m-win32.obj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s $(OWC_OPT) | ||
|
||
md5.lib: | ||
wcl386 $(CFLAGS) -bm -dL_ENDIAN md5_dgst.c | ||
wlib -n md5.lib md5_dgst.obj | ||
|
||
#md5.lib: | ||
asm: | ||
wcl386 $(CFLAGS) -bm -dMD5_ASM -dL_ENDIAN md5_dgst.c | ||
wcl386 $(CFLAGS) asm\m-win32.asm | ||
wlib -n md5.lib md5_dgst.obj m-win32.obj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.