ConfigureWin32.bat 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. @REM Windows build
  2. @REM This must be RUN once to establish some header files,
  3. @REM that are generated by the automake process
  4. @echo creating Win32 header files...once only
  5. @set TEMPV=
  6. @if EXIST ..\include\xmlrpc-c\config.h goto DN1
  7. copy .\win32_config.h ..\include\xmlrpc-c\config.h > nul
  8. @set TEMPV=%TEMPV% ..\include\xmlrpc-c\config.h
  9. :DN1
  10. @if EXIST ..\xmlrpc_config.h goto DN2
  11. copy .\xmlrpc_win32_config.h ..\xmlrpc_config.h > nul
  12. @set TEMPV=%TEMPV% ..\xmlrpc_config.h
  13. :DN2
  14. @if EXIST ..\transport_config.h goto DN3
  15. copy .\transport_config_win32.h ..\transport_config.h > nul
  16. @set TEMPV=%TEMPV% ..\transport_config.h
  17. :DN3
  18. @if EXIST ..\version.h goto DN4
  19. call mkvers
  20. @set TEMPV=%TEMPV% ..\version.h
  21. :DN4
  22. @if EXIST ..\examples\config.h goto DN5
  23. copy .\xmlrpc_win32_config.h ..\examples\config.h > nul
  24. @set TEMPV=%TEMPV% ..\examples\config.h
  25. :DN5
  26. @if "%TEMPV%." == "." goto ALLDN
  27. @echo Generated the following win32 header files ...
  28. @echo %TEMPV%
  29. @goto END
  30. :ALLDN
  31. @echo Using previous copies ... Use CleanWin32.bat to remove, and do again ...
  32. @goto END
  33. :END