summaryrefslogtreecommitdiff
path: root/tools/openssl/build_win32.cmd
blob: 7dbb5a456115ebb251e671f49f813adffa4fff00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
@echo off

cd /d "%TEMP%"
rd /s /q openssl
mkdir openssl
cd /d openssl

set LDFLAGS=/nologo /debug /SUBSYSTEM:CONSOLE",5.01"
perl "%OPENSSL_ROOT_DIR%\Configure" shared VC-WIN32 /D\"_USING_V110_SDK71_\" /D\"_WIN32_WINNT=0x0501\"

call %VS141COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvars32.bat 
nmake 

ren  libcrypto-3.dll   libcrypto-3.mir
ren  libssl-3.dll      libssl-3.mir

copy libcrypto-3.mir   %MIRANDA_BUILD_ROOT%\pre-build\bin15\32\Libs
copy libssl-3.mir      %MIRANDA_BUILD_ROOT%\pre-build\bin15\32\Libs

copy libcrypto-3.pdb   %MIRANDA_BUILD_ROOT%\pre-symbols\bin15\32
copy libssl-3.pdb      %MIRANDA_BUILD_ROOT%\pre-symbols\bin15\32

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin15\Release\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin15\Release\Libs

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin15\Debug\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin15\Debug\Libs

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin16\Release\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin16\Release\Libs

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin16\Debug\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin16\Debug\Libs

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin17\Release\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin17\Release\Libs

copy libcrypto-3.mir   %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libcrypto-3.pdb   %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libssl-3.mir      %MIRANDA_DEV_ROOT%\bin17\Debug\Libs
copy libssl-3.pdb      %MIRANDA_DEV_ROOT%\bin17\Debug\Libs