summaryrefslogtreecommitdiff
path: root/python3/pyversion.Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'python3/pyversion.Makefile')
-rw-r--r--python3/pyversion.Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/python3/pyversion.Makefile b/python3/pyversion.Makefile
new file mode 100644
index 000000000000..edcffd1da582
--- /dev/null
+++ b/python3/pyversion.Makefile
@@ -0,0 +1,22 @@
+#FIXME move that to configure
+
+# when you want to change the python version, you must update the d.lst
+# in the python project accordingly !!!
+PYMAJOR:=3
+PYMINOR:=3
+PYMICRO:=0
+PYVERSION:=$(PYMAJOR).$(PYMINOR).$(PYMICRO)
+
+ifeq ($(GUI),UNX)
+ifeq ($(OS),MACOSX)
+PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR).a
+else
+PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR)m.so
+endif
+else
+ifeq ($(COM),GCC)
+PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR).dll
+else
+PY_FULL_DLL_NAME:=python$(PYMAJOR)$(PYMINOR).dll
+endif
+endif