2007-06-12 12:36:22 -03:00
|
|
|
@rem Fetches (and builds if necessary) external dependencies
|
|
|
|
|
2008-01-09 17:35:04 -04:00
|
|
|
@REM XXX FIXME - building for x64 disabled for now.
|
2007-06-12 16:02:59 -03:00
|
|
|
|
2007-06-12 12:36:22 -03:00
|
|
|
@rem Assume we start inside the Python source directory
|
|
|
|
cd ..
|
2008-01-09 17:35:04 -04:00
|
|
|
call "%VS90COMNTOOLS%vsvars32.bat"
|
2007-06-12 12:36:22 -03:00
|
|
|
|
|
|
|
@rem bzip
|
|
|
|
if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
|
|
|
|
|
|
|
|
@rem Sleepycat db
|
2008-03-06 09:50:28 -04:00
|
|
|
@rem Remove VS 2003 builds
|
|
|
|
if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (
|
|
|
|
echo Removing old build
|
|
|
|
rd /s/q db-4.4.20
|
|
|
|
)
|
|
|
|
if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20
|
|
|
|
if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (
|
|
|
|
vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug AMD64|x64"
|
|
|
|
)
|
2007-06-12 12:36:22 -03:00
|
|
|
|
|
|
|
@rem OpenSSL
|
2008-01-09 17:35:04 -04:00
|
|
|
if not exist openssl-0.9.8g (
|
|
|
|
if exist openssl-0.9.8a rd /s/q openssl-0.9.8a
|
|
|
|
svn export http://svn.python.org/projects/external/openssl-0.9.8g
|
|
|
|
)
|
2007-06-12 12:36:22 -03:00
|
|
|
|
|
|
|
@rem tcltk
|
2008-01-09 17:35:04 -04:00
|
|
|
if not exist tcl8.4.16 (
|
2007-06-12 12:36:22 -03:00
|
|
|
if exist tcltk rd /s/q tcltk
|
2008-01-09 17:35:04 -04:00
|
|
|
if exist tcl8.4.12 rd /s/q tcl8.4.12
|
|
|
|
if exist tk8.4.12 rd /s/q tk8.4.12
|
|
|
|
svn export http://svn.python.org/projects/external/tcl8.4.16
|
|
|
|
svn export http://svn.python.org/projects/external/tk8.4.16
|
|
|
|
@REM cd tcl8.4.16\win
|
|
|
|
@REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500
|
|
|
|
@REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 INSTALLDIR=..\..\tcltk install
|
|
|
|
@REM cd ..\..
|
|
|
|
@REM cd tk8.4.16\win
|
|
|
|
@REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16
|
|
|
|
@REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 INSTALLDIR=..\..\tcltk install
|
|
|
|
@REM cd ..\..
|
2007-06-12 12:36:22 -03:00
|
|
|
)
|
2008-01-09 17:35:04 -04:00
|
|
|
|
|
|
|
@rem sqlite
|
|
|
|
if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
|
|
|
@REM if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild
|