]> git.ipfire.org Git - thirdparty/openssl.git/blame - ms/mw.bat
Apply mingw patches as supplied by Roumen Petrov an Alon Bar-Lev
[thirdparty/openssl.git] / ms / mw.bat
CommitLineData
7d5d27b9
UM
1@rem OpenSSL with Mingw32\r
2@rem --------------------\r
3\r
7d5d27b9
UM
4@rem Makefile\r
5perl util\mkfiles.pl >MINFO\r
6perl util\mk1mf.pl Mingw32 >ms\mingw32.mak\r
748365ee 7@rem DLL definition files\r
7d5d27b9
UM
8perl util\mkdef.pl 32 libeay >ms\libeay32.def\r
9if errorlevel 1 goto end\r
10perl util\mkdef.pl 32 ssleay >ms\ssleay32.def\r
11if errorlevel 1 goto end\r
12\r
7d5d27b9
UM
13@rem Build the libraries\r
14make -f ms/mingw32.mak\r
15if errorlevel 1 goto end\r
16\r
17@rem Generate the DLLs and input libraries\r
4c1a6e00 18dllwrap --dllname libeay32.dll --output-lib out/libeay32.a --def ms/libeay32.def out/libcrypto.a -lws2_32 -lgdi32\r
7d5d27b9 19if errorlevel 1 goto end\r
2126f5e0 20dllwrap --dllname libssl32.dll --output-lib out/libssl32.a --def ms/ssleay32.def out/libssl.a out/libeay32.a\r
7d5d27b9
UM
21if errorlevel 1 goto end\r
22\r
23echo Done compiling OpenSSL\r
24\r
25:end\r
26\r