blob: e958fd68a47bc4e251cb456e12535517853f0ee1 [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"
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.9.0\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.9.0\win
17 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.9.0 clean
18 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.9.0 all
19 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.9.0 install
20 cd ..\..
21)