buildconf.bat 958 B

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