Menu

[r20]: / BuildScript_1.8 / build-openssl.cmd  Maximize  Restore  History

Download this file

57 lines (45 with data), 1.4 kB

 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
52
53
54
55
56
@IF DEFINED NOECHO echo off
echo ====== Build openssl ======
echo ====== Build openssl ====== > %LOG_DIR%\build-openssl.log
pushd %ROOT%\%HTTPDDIR%\srclib\openssl
IF ERRORLEVEL 1 GOTO DIR_FAIL
echo ----- Configure -----
perl Configure VC-WIN32 >> %LOG_DIR%\build-openssl.log 2>>&1
IF ERRORLEVEL 1 GOTO CONFIG_FAIL
echo ----- NASM -----
call ms\do_nasm >> %LOG_DIR%\build-openssl.log 2>>&1
IF ERRORLEVEL 1 GOTO NASM_FAIL
echo ----- MAKE -----
nmake -f ms\ntdll.mak >> %LOG_DIR%\build-openssl.log 2>>&1
IF ERRORLEVEL 1 GOTO MAKE_FAIL
echo ----- TEST -----
cd out32dll
call ..\ms\test >> %LOG_DIR%\build-openssl.log 2>>&1
IF ERRORLEVEL 1 GOTO TEST_FAIL
popd
exit /B 0
:DIR_FAIL
echo ****** openssl dir does not exists ****** >> %LOG_DIR%\build-openssl.log
type %LOG_DIR%\build-openssl.log
popd
exit /B 1
:CONFIG_FAIL
echo ****** openssl config failed ****** >> %LOG_DIR%\build-openssl.log
type %LOG_DIR%\build-openssl.log
popd
exit /B 1
:NASM_FAIL
echo ****** openssl NASM failed ****** >> %LOG_DIR%\build-openssl.log
type %LOG_DIR%\build-openssl.log
popd
exit /B 1
:MAKE_FAIL
echo ****** openssl MAKE failed ****** >> %LOG_DIR%\build-openssl.log
type %LOG_DIR%\build-openssl.log
popd
exit /B 1
:TEST_FAIL
echo ****** openssl TEST failed ****** >> %LOG_DIR%\build-openssl.log
type %LOG_DIR%\build-openssl.log
popd
exit /B 1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.