move workaround for old build system to other workarounds
[LibreOffice.git] / python / pyversion.mk
blob97c904f2ab79c57acb01ce7c11da2014d3398e80
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).a
11 PYTHONLIB=-F$(SOLARLIBDIR) -framework OOoPython
12 CFLAGS+=-I$(SOLARLIBDIR)/OOoPython.framework/Versions/$(PYMAJOR).$(PYMINOR)/include/python$(PYMAJOR).$(PYMINOR)
13 .ELSE
14 PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0
15 PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
16 .ENDIF
17 .ELSE
18 .IF "$(COM)" == "GCC"
19 PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll
20 PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
21 .ELSE
22 PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
23 PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
24 .ENDIF
25 .ENDIF