OLD | NEW |
1 @rem OpenSSL with Mingw32 | 1 @rem OpenSSL with Mingw32 |
2 @rem -------------------- | 2 @rem -------------------- |
3 | 3 |
4 @rem Makefile | 4 @rem Makefile |
5 perl util\mkfiles.pl >MINFO | 5 perl util\mkfiles.pl >MINFO |
6 perl util\mk1mf.pl Mingw32 >ms\mingw32.mak | 6 perl util\mk1mf.pl Mingw32 >ms\mingw32.mak |
7 @rem DLL definition files | 7 @rem DLL definition files |
8 perl util\mkdef.pl 32 libeay >ms\libeay32.def | 8 perl util\mkdef.pl 32 libeay >ms\libeay32.def |
9 if errorlevel 1 goto end | 9 if errorlevel 1 goto end |
10 perl util\mkdef.pl 32 ssleay >ms\ssleay32.def | 10 perl util\mkdef.pl 32 ssleay >ms\ssleay32.def |
11 if errorlevel 1 goto end | 11 if errorlevel 1 goto end |
12 | 12 |
13 @rem Build the libraries | 13 @rem Build the libraries |
14 make -f ms/mingw32.mak | 14 make -f ms/mingw32.mak |
15 if errorlevel 1 goto end | 15 if errorlevel 1 goto end |
16 | 16 |
17 @rem Generate the DLLs and input libraries | 17 @rem Generate the DLLs and input libraries |
18 dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def
out/libcrypto.a -lwsock32 -lgdi32 | 18 dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def
out/libcrypto.a -lws2_32 -lgdi32 |
19 if errorlevel 1 goto end | 19 if errorlevel 1 goto end |
20 dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def
out/libssl.a out/libeay32.a | 20 dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def
out/libssl.a out/libeay32.a |
21 if errorlevel 1 goto end | 21 if errorlevel 1 goto end |
22 | 22 |
23 echo Done compiling OpenSSL | 23 echo Done compiling OpenSSL |
24 | 24 |
25 :end | 25 :end |
26 | 26 |
OLD | NEW |