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 ..
|
Martin v. Löwis | 76f1c1f | 2008-01-01 23:00:48 +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 | 8b6552d | 2008-02-29 18:17:23 +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 | 8b6552d | 2008-02-29 18:17:23 +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 | )
|
Martin v. Löwis | a0f4549 | 2006-03-21 12:08:39 +0000 | [diff] [blame] | 20 |
|
| 21 | @rem OpenSSL
|
Martin v. Löwis | 76f1c1f | 2008-01-01 23:00:48 +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 | )
|
Martin v. Löwis | 9ca8789 | 2006-03-21 13:20:29 +0000 | [diff] [blame] | 26 |
|
| 27 | @rem tcltk
|
Martin v. Löwis | 76f1c1f | 2008-01-01 23:00:48 +0000 | [diff] [blame] | 28 | if not exist tcl8.4.16 (
|
Martin v. Löwis | 9ca8789 | 2006-03-21 13:20:29 +0000 | [diff] [blame] | 29 | if exist tcltk rd /s/q tcltk
|
Martin v. Löwis | 76f1c1f | 2008-01-01 23:00:48 +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
|
Martin v. Löwis | 9ca8789 | 2006-03-21 13:20:29 +0000 | [diff] [blame] | 37 | cd ..\..
|
Martin v. Löwis | 76f1c1f | 2008-01-01 23:00:48 +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
|
Martin v. Löwis | 59e9ac8 | 2006-08-17 19:19:32 +0000 | [diff] [blame] | 41 | cd ..\..
|
Martin v. Löwis | 9ca8789 | 2006-03-21 13:20:29 +0000 | [diff] [blame] | 42 | )
|
Martin v. Löwis | 1a494bd | 2006-04-04 07:10:59 +0000 | [diff] [blame] | 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
|
Tim Peters | ed2038b | 2006-04-04 19:12:51 +0000 | [diff] [blame] | 46 | if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild
|