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 10 if exist GIT-INFO goto start_doing 11 ECHO ERROR: This file shall only be used with a curl git tree checkout. 12 goto end_all 13 :start_doing 14 15 REM create tool_hugehelp.c 16 if not exist src\tool_hugehelp.c.cvs goto end_hugehelp_c 17 copy /Y src\tool_hugehelp.c.cvs src\tool_hugehelp.c 18 :end_hugehelp_c 19 20 REM create Makefile 21 if not exist Makefile.dist goto end_makefile 22 copy /Y Makefile.dist Makefile 23 :end_makefile 24 25 REM create curlbuild.h 26 if not exist include\curl\curlbuild.h.dist goto end_curlbuild_h 27 copy /Y include\curl\curlbuild.h.dist include\curl\curlbuild.h 28 :end_curlbuild_h 29 30 REM setup c-ares git tree 31 if not exist ares\buildconf.bat goto end_c_ares 32 cd ares 33 call buildconf.bat 34 cd .. 35 :end_c_ares 36 37 :end_all 38 39