Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / python / pyversion.Makefile
blob4b4be9cb243101824d608f5d9e289a627e17fb46
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 ifeq ($(GUI),UNX)
9 ifeq ($(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 ifeq ($(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