summaryrefslogtreecommitdiffstats
path: root/python/makefile.mk
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2010-10-29 01:14:45 +0200
committerJesús Corrius <jesus@softcatala.org>2010-10-29 01:14:45 +0200
commit5a816bc42a4b5c43cd07a36a752d2fd14cfa829b (patch)
treefdef0ac271d5977ab072438c3740e993d79b3664 /python/makefile.mk
parentupdated Linux Libertine G font (diff)
downloadcore-5a816bc42a4b5c43cd07a36a752d2fd14cfa829b.tar.gz
core-5a816bc42a4b5c43cd07a36a752d2fd14cfa829b.zip
Visual Studio 2010 project files for Python
Diffstat (limited to 'python/makefile.mk')
-rw-r--r--python/makefile.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/python/makefile.mk b/python/makefile.mk
index 9250ebca4ca5..22cbe082e8cf 100644
--- a/python/makefile.mk
+++ b/python/makefile.mk
@@ -119,7 +119,10 @@ BUILD_ACTION=$(ENV_BUILD) make && make install
#.ENDIF #"$(WINDOWS_VISTA_PSDK)"!=""
#.ENDIF
-.IF "$(CCNUMVER)" >= "001500000000"
+.IF "$(CCNUMVER)" >= "001600000000"
+PATCH_FILES+=Python-$(PYVERSION)-vc10.patch
+BUILD_DIR=PC/VS10.0
+.ELIF "$(CCNUMVER)" >= "001500000000"
BUILD_DIR=PCbuild
.ELIF "$(CCNUMVER)" >= "001400000000"
BUILD_DIR=PC/VS8.0
@@ -132,9 +135,13 @@ BUILD_DIR=PC/VC6
# Build python executable and then runs a minimal script. Running the minimal script
# ensures that certain *.pyc files are generated which would otherwise be created on
# solver during registration in insetoo_native
+.IF "$(CCNUMVER)" >= "001600000000"
+BUILD_ACTION=MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0
+.ELIF
BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe pcbuild.sln "Release|Win32"
.ENDIF
.ENDIF
+.ENDIF
PYVERSIONFILE=$(MISC)$/pyversion.mk