Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 1 | @rem Fetches (and builds if necessary) external dependencies |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 2 | |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 3 | @REM XXX FIXME - building for x64 disabled for now. |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 4 | |
| 5 | @rem Assume we start inside the Python source directory |
| 6 | cd .. |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 7 | call "%VS90COMNTOOLS%vsvars32.bat" |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 8 | |
| 9 | @rem bzip |
| 10 | if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3 |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 11 | |
| 12 | @rem Sleepycat db |
| 13 | if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20 |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 14 | @REM if not exist db-4.4.20\build_win32\debug\libdb44sd.lib ( |
| 15 | @REM vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Debug /project db_static |
| 16 | @REM ) |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 17 | |
| 18 | @rem OpenSSL |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 19 | if not exist openssl-0.9.8g ( |
| 20 | if exist openssl-0.9.8a rd /s/q openssl-0.9.8a |
| 21 | svn export http://svn.python.org/projects/external/openssl-0.9.8g |
| 22 | ) |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 23 | |
| 24 | @rem tcltk |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 25 | if not exist tcl8.4.16 ( |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 26 | if exist tcltk rd /s/q tcltk |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 27 | if exist tcl8.4.12 rd /s/q tcl8.4.12 |
| 28 | if exist tk8.4.12 rd /s/q tk8.4.12 |
| 29 | svn export http://svn.python.org/projects/external/tcl8.4.16 |
| 30 | svn export http://svn.python.org/projects/external/tk8.4.16 |
| 31 | @REM cd tcl8.4.16\win |
| 32 | @REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 |
| 33 | @REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 INSTALLDIR=..\..\tcltk install |
| 34 | @REM cd ..\.. |
| 35 | @REM cd tk8.4.16\win |
| 36 | @REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 |
| 37 | @REM nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 INSTALLDIR=..\..\tcltk install |
| 38 | @REM cd ..\.. |
Guido van Rossum | cd16bf6 | 2007-06-13 18:07:49 +0000 | [diff] [blame] | 39 | ) |
Christian Heimes | 454f37b | 2008-01-10 00:10:02 +0000 | [diff] [blame] | 40 | |
| 41 | @rem sqlite |
| 42 | if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4 |
| 43 | @REM if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild |