| OLD | NEW |
| 1 @rem OpenSSL with Mingw32+GNU as | 1 @rem OpenSSL with Mingw32+GNU as |
| 2 @rem --------------------------- | 2 @rem --------------------------- |
| 3 | 3 |
| 4 perl Configure mingw %1 %2 %3 %4 %5 %6 %7 %8 | 4 perl Configure mingw %1 %2 %3 %4 %5 %6 %7 %8 |
| 5 | 5 |
| 6 @echo off | 6 @echo off |
| 7 | 7 |
| 8 perl -e "exit 1 if '%1' eq 'no-asm'" | 8 perl -e "exit 1 if '%1' eq 'no-asm'" |
| 9 if errorlevel 1 goto noasm | 9 if errorlevel 1 goto noasm |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 echo RIPEMD160 | 54 echo RIPEMD160 |
| 55 cd crypto\ripemd\asm | 55 cd crypto\ripemd\asm |
| 56 perl rmd-586.pl gaswin > rm-win32.s | 56 perl rmd-586.pl gaswin > rm-win32.s |
| 57 cd ..\..\.. | 57 cd ..\..\.. |
| 58 | 58 |
| 59 echo RC5\32 | 59 echo RC5\32 |
| 60 cd crypto\rc5\asm | 60 cd crypto\rc5\asm |
| 61 perl rc5-586.pl gaswin > r5-win32.s | 61 perl rc5-586.pl gaswin > r5-win32.s |
| 62 cd ..\..\.. | 62 cd ..\..\.. |
| 63 echo CPUID | |
| 64 cd crypto | |
| 65 perl x86cpuid.pl gaswin > cpu-win32.s | |
| 66 cd .. | |
| 67 | 63 |
| 68 :noasm | 64 :noasm |
| 69 | 65 |
| 70 echo Generating makefile | 66 echo Generating makefile |
| 71 perl util\mkfiles.pl >MINFO | 67 perl util\mkfiles.pl >MINFO |
| 72 perl util\mk1mf.pl gaswin Mingw32 >ms\mingw32a.mak | 68 perl util\mk1mf.pl gaswin Mingw32 >ms\mingw32a.mak |
| 73 echo Generating DLL definition files | 69 echo Generating DLL definition files |
| 74 perl util\mkdef.pl 32 libeay >ms\libeay32.def | 70 perl util\mkdef.pl 32 libeay >ms\libeay32.def |
| 75 if errorlevel 1 goto end | 71 if errorlevel 1 goto end |
| 76 perl util\mkdef.pl 32 ssleay >ms\ssleay32.def | 72 perl util\mkdef.pl 32 ssleay >ms\ssleay32.def |
| 77 if errorlevel 1 goto end | 73 if errorlevel 1 goto end |
| 78 | 74 |
| 79 rem copy ms\tlhelp32.h outinc | 75 rem copy ms\tlhelp32.h outinc |
| 80 | 76 |
| 81 echo Building the libraries | 77 echo Building the libraries |
| 82 mingw32-make -f ms/mingw32a.mak | 78 mingw32-make -f ms/mingw32a.mak |
| 83 if errorlevel 1 goto end | 79 if errorlevel 1 goto end |
| 84 | 80 |
| 85 echo Generating the DLLs and input libraries | 81 echo Generating the DLLs and input libraries |
| 86 dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def
out/libcrypto.a -lwsock32 -lgdi32 | 82 dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def
out/libcrypto.a -lws2_32 -lgdi32 |
| 87 if errorlevel 1 goto end | 83 if errorlevel 1 goto end |
| 88 dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def
out/libssl.a out/libeay32.a | 84 dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def
out/libssl.a out/libeay32.a |
| 89 if errorlevel 1 goto end | 85 if errorlevel 1 goto end |
| 90 | 86 |
| 91 echo Done compiling OpenSSL | 87 echo Done compiling OpenSSL |
| 92 | 88 |
| 93 :end | 89 :end |
| 94 | 90 |
| OLD | NEW |