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