1@rem Fetches (and builds if necessary) external dependencies 2 3@rem Assume we start inside the Python source directory 4call "Tools\buildbot\external-common.bat" 5call "%VS90COMNTOOLS%\vsvars32.bat" 6 7if not exist tcltk\bin\tcl85g.dll ( 8 @rem all and install need to be separate invocations, otherwise nmakehlp is not found on install 9 cd tcl-8.5.2.1\win 10 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk clean all 11 nmake -f makefile.vc DEBUG=1 INSTALLDIR=..\..\tcltk install 12 cd ..\.. 13) 14 15if not exist tcltk\bin\tk85g.dll ( 16 cd tk-8.5.2.0\win 17 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.2.1 clean 18 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.2.1 all 19 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.2.1 install 20 cd ..\.. 21) 22