aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/libsamp/libxrpc/xmlrpc-c-1.16.29/Windows/ConfigureWin32.bat
blob: f38c4f59f620ca31a011c47aed42ba9d146e0041 (plain) (blame)
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
@REM Windows build
@REM This must be RUN once to establish some header files,
@REM that are generated by the automake process
@echo creating Win32 header files...once only
@set TEMPV=
@if EXIST ..\include\xmlrpc-c\config.h goto DN1
copy .\win32_config.h ..\include\xmlrpc-c\config.h > nul
@set TEMPV=%TEMPV% ..\include\xmlrpc-c\config.h
:DN1
@if EXIST ..\xmlrpc_config.h goto DN2
copy .\xmlrpc_win32_config.h ..\xmlrpc_config.h > nul
@set TEMPV=%TEMPV% ..\xmlrpc_config.h
:DN2
@if EXIST ..\transport_config.h goto DN3
copy .\transport_config_win32.h ..\transport_config.h > nul
@set TEMPV=%TEMPV% ..\transport_config.h
:DN3
@if EXIST ..\version.h goto DN4
call mkvers
@set TEMPV=%TEMPV% ..\version.h
:DN4
@if EXIST ..\examples\config.h goto DN5
copy .\xmlrpc_win32_config.h ..\examples\config.h > nul
@set TEMPV=%TEMPV% ..\examples\config.h
:DN5
@if "%TEMPV%." == "." goto ALLDN
@echo Generated the following win32 header files ...
@echo %TEMPV%
@goto END

:ALLDN
@echo Using previous copies ... Use CleanWin32.bat to remove, and do again ...
@goto END

:END