office-gobmx/python/pyversion.mk
Vladimir Glazounov cf506aad22 INTEGRATION: CWS os2port01 (1.3.64); FILE MERGED
2007/07/31 20:35:16 obr 1.3.64.2: RESYNC: (1.3-1.4); FILE MERGED
2006/12/28 15:02:01 ydario 1.3.64.1: OS/2 initial import.
2007-09-20 14:56:52 +00:00

26 lines
700 B
Makefile

# when you want to change the python version, you must update the d.lst
# in the python project accordingly !!!
PYMAJOR=2
PYMINOR=3
PYMICRO=4
PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO)
.IF "$(GUI)" == "UNX"
.IF "$(OS)" == "MACOSX"
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib
.ELSE
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0
.ENDIF
PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
.ELIF "$(GUI)" == "OS2"
PY_FULL_DLL_NAME=python24.dll
PYTHONLIB=python24.lib
.ELSE
.IF "$(COM)" == "GCC"
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll
PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
.ELSE
PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
.ENDIF
.ENDIF