2003-03-31 07:08:05 -06:00
|
|
|
# when you want to change the python version, you must update the d.lst
|
|
|
|
# in the python project accordingly !!!
|
|
|
|
PYMAJOR=2
|
2009-04-22 09:05:37 -05:00
|
|
|
PYMINOR=6
|
|
|
|
PYMICRO=1
|
2003-03-31 07:08:05 -06:00
|
|
|
PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO)
|
2004-11-15 06:08:54 -06:00
|
|
|
|
|
|
|
.IF "$(GUI)" == "UNX"
|
2005-02-24 07:07:48 -06:00
|
|
|
.IF "$(OS)" == "MACOSX"
|
|
|
|
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib
|
|
|
|
.ELSE
|
2004-11-15 06:08:54 -06:00
|
|
|
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0
|
2005-02-24 07:07:48 -06:00
|
|
|
.ENDIF
|
2004-11-15 06:08:54 -06:00
|
|
|
PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
|
2007-09-20 09:56:52 -05:00
|
|
|
.ELIF "$(GUI)" == "OS2"
|
2009-04-22 09:05:37 -05:00
|
|
|
PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
|
|
|
|
PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
|
2004-11-15 06:08:54 -06:00
|
|
|
.ELSE
|
2007-03-26 08:37:01 -05:00
|
|
|
.IF "$(COM)" == "GCC"
|
|
|
|
PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll
|
|
|
|
PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
|
|
|
|
.ELSE
|
2004-11-15 06:08:54 -06:00
|
|
|
PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
|
|
|
|
PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
|
|
|
|
.ENDIF
|
2007-03-26 08:37:01 -05:00
|
|
|
.ENDIF
|