blob: 9ed55926bd66c5c47db5e62dcb04f97c9b4542cf [file] [log] [blame]
Martin v. Löwis14c1cf82006-03-13 10:52:04 +00001@rem Fetches (and builds if necessary) external dependencies
2
3@rem Assume we start inside the Python source directory
Christian Heimesd5e2b6f2008-03-19 21:50:51 +00004call "Tools\buildbot\external-common.bat"
5call "%VS90COMNTOOLS%\vsvars32.bat"
Martin v. Löwis14c1cf82006-03-13 10:52:04 +00006
Martin v. Löwisb072cf22008-06-14 11:59:52 +00007if not exist tcltk\bin\tcl85g.dll (
Martin v. Löwisf38e0d02008-06-13 14:11:59 +00008 @rem all and install need to be separate invocations, otherwise nmakehlp is not found on install
Martin v. Löwis910a4ed2010-12-17 20:43:27 +00009 cd tcl-8.5.9.0\win
Martin v. Löwisf38e0d02008-06-13 14:11:59 +000010 nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk clean all
11 nmake -f makefile.vc DEBUG=1 INSTALLDIR=..\..\tcltk install
Christian Heimesd5e2b6f2008-03-19 21:50:51 +000012 cd ..\..
Martin v. Löwisf6f79252006-03-13 13:48:05 +000013)
Thomas Wouters49fd7fa2006-04-21 10:40:58 +000014
Martin v. Löwisb072cf22008-06-14 11:59:52 +000015if not exist tcltk\bin\tk85g.dll (
Martin v. Löwis910a4ed2010-12-17 20:43:27 +000016 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
Christian Heimesd5e2b6f2008-03-19 21:50:51 +000020 cd ..\..
Christian Heimes57dddfb2008-01-02 18:30:52 +000021)