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%\..\..\VC\vcvarsall.bat" x86_amd64
6
7if not exist tcltk64\bin\tcl85g.dll (
8    cd tcl-8.5.2.1\win
9    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all
10    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 install
11    cd ..\..
12)
13
14if not exist tcltk64\bin\tk85g.dll (
15    cd tk-8.5.2.0\win
16    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.2.1 clean
17    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.2.1 all
18    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.2.1 install
19    cd ..\..
20)
21