mirror of
https://github.com/python/cpython.git
synced 2026-01-02 13:33:44 +00:00
Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
21 lines
880 B
Batchfile
21 lines
880 B
Batchfile
@rem Fetches (and builds if necessary) external dependencies
|
|
|
|
@rem Assume we start inside the Python source directory
|
|
call "Tools\buildbot\external-common.bat"
|
|
call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
|
|
|
|
if not exist tcltk64\bin\tcl85g.dll (
|
|
cd tcl-8.5.11.0\win
|
|
nmake -f makefile.vc DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all
|
|
nmake -f makefile.vc DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 install
|
|
cd ..\..
|
|
)
|
|
|
|
if not exist tcltk64\bin\tk85g.dll (
|
|
cd tk-8.5.11.0\win
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.11.0 clean
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.11.0 all
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.5.11.0 install
|
|
cd ..\..
|
|
)
|
|
|