blob: ed5c10e8350dd14839df6b513bee43fc29b4a32f [file] [log] [blame]
Antoine Pitrou7f1e1742011-02-25 14:19:48 +00001@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"
Brian Curtin401f9f32012-05-13 11:19:23 -05005call "%VS100COMNTOOLS%\vsvars32.bat"
Antoine Pitrou7f1e1742011-02-25 14:19:48 +00006
7if not exist tcltk\bin\tcl85g.dll (
8 @rem all and install need to be separate invocations, otherwise nmakehlp is not found on install
Brian Curtin401f9f32012-05-13 11:19:23 -05009 cd tcl-8.5.11.0\win
Antoine Pitrou7f1e1742011-02-25 14:19:48 +000010 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 (
Brian Curtin401f9f32012-05-13 11:19:23 -050016 cd tk-8.5.11.0\win
17 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 clean
18 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 all
19 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 install
Antoine Pitrou7f1e1742011-02-25 14:19:48 +000020 cd ..\..
21)