buildconf.bat 969 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. @echo off
  2. REM
  3. REM
  4. REM This batch file must be used to set up a git tree to build on
  5. REM systems where there is no autotools support (i.e. Microsoft).
  6. REM
  7. REM This file is not included nor needed for curl's release
  8. REM archives, neither for curl's daily snapshot archives.
  9. if exist GIT-INFO goto start_doing
  10. ECHO ERROR: This file shall only be used with a curl git tree checkout.
  11. goto end_all
  12. :start_doing
  13. REM create tool_hugehelp.c
  14. if not exist src\tool_hugehelp.c.cvs goto end_hugehelp_c
  15. copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c
  16. :end_hugehelp_c
  17. REM create Makefile
  18. if not exist Makefile.dist goto end_makefile
  19. copy /Y Makefile.dist Makefile
  20. :end_makefile
  21. REM create curlbuild.h
  22. if not exist include\curl\curlbuild.h.dist goto end_curlbuild_h
  23. copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h
  24. :end_curlbuild_h
  25. REM setup c-ares git tree
  26. if not exist ares\buildconf.bat goto end_c_ares
  27. cd ares
  28. call buildconf.bat
  29. cd ..
  30. :end_c_ares
  31. :end_all