mirror of
https://github.com/python/cpython.git
synced 2024-12-01 11:15:56 +01:00
3f50bf652b
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.
22 lines
873 B
Batchfile
22 lines
873 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%\vsvars32.bat"
|
|
|
|
if not exist tcltk\bin\tcl85g.dll (
|
|
@rem all and install need to be separate invocations, otherwise nmakehlp is not found on install
|
|
cd tcl-8.5.11.0\win
|
|
nmake -f makefile.vc DEBUG=1 INSTALLDIR=..\..\tcltk clean all
|
|
nmake -f makefile.vc DEBUG=1 INSTALLDIR=..\..\tcltk install
|
|
cd ..\..
|
|
)
|
|
|
|
if not exist tcltk\bin\tk85g.dll (
|
|
cd tk-8.5.11.0\win
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 clean
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 all
|
|
nmake -f makefile.vc OPTS=noxp DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.5.11.0 install
|
|
cd ..\..
|
|
)
|