sync master with lastest vba changes
[ooovba.git] / python / pyversion.mk
blob55a616b1206417c9d5b67324ede0236f28a6eee6
1 # when you want to change the python version, you must update the d.lst
2 # in the python project accordingly !!!
3 PYMAJOR=2
4 PYMINOR=6
5 PYMICRO=1
6 PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO)
8 .IF "$(GUI)" == "UNX"
9 .IF "$(OS)" == "MACOSX"
10 PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib
11 .ELSE
12 PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0
13 .ENDIF
14 PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
15 .ELIF "$(GUI)" == "OS2"
16 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
17 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
18 .ELSE
19 .IF "$(COM)" == "GCC"
20 PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll
21 PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
22 .ELSE
23 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
24 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
25 .ENDIF
26 .ENDIF