From 97e8029d0bb88823b1b6c9d302bbaf2e357dbc7f Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 19 Nov 2007 08:36:32 +0000 Subject: [PATCH] I've spend some time to automate more steps of the build process. Now bzip2, bsddb, sqlite and openssl are automatically build by prelink steps. I had to use some tricks to build openssl for 32 and 64bit CPUs in two separate build dirs. --- PCbuild9/_bsddb.vcproj | 12 +- PCbuild9/_sqlite3.vcproj | 12 +- PCbuild9/_ssl.vcproj | 16 +-- PCbuild9/amd64_ml64.bat | 17 --- PCbuild9/build_env.bat | 2 +- PCbuild9/build_ssl.bat | 4 +- PCbuild9/build_ssl.py | 63 +++++--- PCbuild9/bz2.vcproj | 16 ++- PCbuild9/env.bat | 4 +- PCbuild9/make_buildinfo.vcproj | 216 ---------------------------- PCbuild9/make_versioninfo.vcproj | 238 ------------------------------- PCbuild9/pcbuild.sln | 14 +- PCbuild9/pyproject.vsprops | 10 +- PCbuild9/python.vcproj | 4 + PCbuild9/pythonw.vcproj | 4 + PCbuild9/winsound.vcproj | 2 + 16 files changed, 107 insertions(+), 527 deletions(-) delete mode 100644 PCbuild9/amd64_ml64.bat diff --git a/PCbuild9/_bsddb.vcproj b/PCbuild9/_bsddb.vcproj index eea3eed0a2a..e558036ee1d 100644 --- a/PCbuild9/_bsddb.vcproj +++ b/PCbuild9/_bsddb.vcproj @@ -54,10 +54,11 @@ /> @@ -121,11 +121,11 @@ /> "+makefile) + if arch == "amd64": + fix_makefile(makefile, m32) + # Now run make. makeCommand = "nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile) print("Executing ssl makefiles:", makeCommand) diff --git a/PCbuild9/bz2.vcproj b/PCbuild9/bz2.vcproj index 6ca85e3178d..407b3b9ce8e 100644 --- a/PCbuild9/bz2.vcproj +++ b/PCbuild9/bz2.vcproj @@ -54,10 +54,12 @@ /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/PCbuild9/make_versioninfo.vcproj b/PCbuild9/make_versioninfo.vcproj index b34d4d31500..a1f31fda0a5 100644 --- a/PCbuild9/make_versioninfo.vcproj +++ b/PCbuild9/make_versioninfo.vcproj @@ -96,244 +96,6 @@ CommandLine="$(TargetFileName) > ..\PC\python_nt.h" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/PCbuild9/pcbuild.sln b/PCbuild9/pcbuild.sln index d20dd64c8d4..ea0bc4af97f 100644 --- a/PCbuild9/pcbuild.sln +++ b/PCbuild9/pcbuild.sln @@ -114,10 +114,9 @@ Global Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|Win32.ActiveCfg = Debug|Win32 - {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|Win32.Build.0 = Debug|Win32 - {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|x64.ActiveCfg = Debug|Win32 - {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|x64.Build.0 = Debug|Win32 + {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|Win32.ActiveCfg = Release|Win32 + {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|Win32.Build.0 = Release|Win32 + {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Debug|x64.ActiveCfg = Release|Win32 {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Release|Win32.ActiveCfg = Release|Win32 {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Release|Win32.Build.0 = Release|Win32 {F0E0541E-F17D-430B-97C4-93ADF0DD284E}.Release|x64.ActiveCfg = Release|Win32 @@ -154,10 +153,9 @@ Global {E9E0A1F6-0009-4E8C-B8F8-1B8F5D49A058}.Release|Win32.Build.0 = Release|Win32 {E9E0A1F6-0009-4E8C-B8F8-1B8F5D49A058}.Release|x64.ActiveCfg = Release|x64 {E9E0A1F6-0009-4E8C-B8F8-1B8F5D49A058}.Release|x64.Build.0 = Release|x64 - {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|Win32.ActiveCfg = Debug|Win32 - {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|Win32.Build.0 = Debug|Win32 - {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|x64.ActiveCfg = Debug|Win32 - {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|x64.Build.0 = Debug|Win32 + {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|Win32.ActiveCfg = Release|Win32 + {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|Win32.Build.0 = Release|Win32 + {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Debug|x64.ActiveCfg = Release|Win32 {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Release|Win32.ActiveCfg = Release|Win32 {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Release|Win32.Build.0 = Release|Win32 {C73F0EC1-358B-4177-940F-0846AC8B04CD}.Release|x64.ActiveCfg = Release|Win32 diff --git a/PCbuild9/pyproject.vsprops b/PCbuild9/pyproject.vsprops index 1f3ff084814..271f65e85a7 100644 --- a/PCbuild9/pyproject.vsprops +++ b/PCbuild9/pyproject.vsprops @@ -41,22 +41,22 @@ /> diff --git a/PCbuild9/python.vcproj b/PCbuild9/python.vcproj index ba36272f608..fa3c0e165f0 100644 --- a/PCbuild9/python.vcproj +++ b/PCbuild9/python.vcproj @@ -66,6 +66,7 @@