Menu

[r27]: / BuildScript / build-httpd.cmd  Maximize  Restore  History

Download this file

36 lines (28 with data), 931 Bytes

 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
@IF DEFINED NOECHO echo off
echo ====== Build httpd ======
echo ====== Build httpd ====== > %LOG_DIR%\build-httpd.log
pushd %ROOT%
IF ERRORLEVEL 1 GOTO DIR_FAIL
echo ----- Configure -----
%HTTPDDIR%\srclib\apr-util\build\w32locatedb.pl dll %BDBDIR%\include %BDBDIR%\lib >> %LOG_DIR%\build-httpd.log 2>>&1
IF ERRORLEVEL 1 GOTO CONFIG_FAIL
echo ----- Build -----
msdev %HTTPDDIR%\apache.dsw /MAKE "BuildBin - Win32 Release" >> %LOG_DIR%\build-httpd.log 2>>&1
IF ERRORLEVEL 1 GOTO BUILD_FAIL
popd
exit /B 0
:DIR_FAIL
echo ****** httpd dir does not exists ****** >> %LOG_DIR%\build-httpd.log
type %LOG_DIR%\build-httpd.log
popd
exit /B 1
:CONFIG_FAIL
echo ****** httpd configure failed ****** >> %LOG_DIR%\build-httpd.log
type %LOG_DIR%\build-httpd.log
popd
exit /B 1
:BUILD_FAIL
echo ****** httpd build failed ****** >> %LOG_DIR%\build-httpd.log
type %LOG_DIR%\build-httpd.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.