Martin v. Löwis | 14c1cf8 | 2006-03-13 10:52:04 +0000 | [diff] [blame] | 1 | @rem Fetches (and builds if necessary) external dependencies
|
| 2 |
|
| 3 | @rem Assume we start inside the Python source directory
|
| 4 | cd ..
|
Christian Heimes | 57dddfb | 2008-01-02 18:30:52 +0000 | [diff] [blame] | 5 | call "%VS90COMNTOOLS%vsvars32.bat"
|
Martin v. Löwis | 14c1cf8 | 2006-03-13 10:52:04 +0000 | [diff] [blame] | 6 |
|
| 7 | @rem bzip
|
| 8 | if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
|
| 9 |
|
Martin v. Löwis | f6f7925 | 2006-03-13 13:48:05 +0000 | [diff] [blame] | 10 | @rem Sleepycat db
|
Martin v. Löwis | 1561bab | 2008-02-29 19:39:25 +0000 | [diff] [blame] | 11 | @rem Remove VS 2003 builds
|
| 12 | if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (
|
| 13 | echo Removing old build
|
| 14 | rd /s/q db-4.4.20
|
| 15 | )
|
| 16 | if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20
|
Martin v. Löwis | f6f7925 | 2006-03-13 13:48:05 +0000 | [diff] [blame] | 17 | if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (
|
Martin v. Löwis | 1561bab | 2008-02-29 19:39:25 +0000 | [diff] [blame] | 18 | vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug|Win32"
|
Martin v. Löwis | f6f7925 | 2006-03-13 13:48:05 +0000 | [diff] [blame] | 19 | )
|
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 20 |
|
| 21 | @rem OpenSSL
|
Christian Heimes | 57dddfb | 2008-01-02 18:30:52 +0000 | [diff] [blame] | 22 | if not exist openssl-0.9.8g (
|
| 23 | if exist openssl-0.9.8a rd /s/q openssl-0.9.8a
|
| 24 | svn export http://svn.python.org/projects/external/openssl-0.9.8g
|
| 25 | )
|
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 26 |
|
| 27 | @rem tcltk
|
Christian Heimes | 57dddfb | 2008-01-02 18:30:52 +0000 | [diff] [blame] | 28 | if not exist tcl8.4.16 (
|
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 29 | if exist tcltk rd /s/q tcltk
|
Christian Heimes | 57dddfb | 2008-01-02 18:30:52 +0000 | [diff] [blame] | 30 | if exist tcl8.4.12 rd /s/q tcl8.4.12
|
| 31 | if exist tk8.4.12 rd /s/q tk8.4.12
|
| 32 | svn export http://svn.python.org/projects/external/tcl8.4.16
|
| 33 | svn export http://svn.python.org/projects/external/tk8.4.16
|
| 34 | cd tcl8.4.16\win
|
| 35 | nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500
|
| 36 | nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 INSTALLDIR=..\..\tcltk install
|
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 37 | cd ..\..
|
Christian Heimes | 57dddfb | 2008-01-02 18:30:52 +0000 | [diff] [blame] | 38 | cd tk8.4.16\win
|
| 39 | nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16
|
| 40 | nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 INSTALLDIR=..\..\tcltk install
|
Thomas Wouters | 00ee7ba | 2006-08-21 19:07:27 +0000 | [diff] [blame] | 41 | cd ..\..
|
Thomas Wouters | 49fd7fa | 2006-04-21 10:40:58 +0000 | [diff] [blame] | 42 | )
|
| 43 |
|
| 44 | @rem sqlite
|
| 45 | if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
| 46 | if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild
|