summaryrefslogtreecommitdiff
path: root/python3/pyversion.Makefile
blob: edcffd1da5826bedfa43e2f3ed925827cfeb7dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#FIXME move that to configure

# when you want to change the python version, you must update the d.lst
# in the python project accordingly !!!
PYMAJOR:=3
PYMINOR:=3
PYMICRO:=0
PYVERSION:=$(PYMAJOR).$(PYMINOR).$(PYMICRO)

ifeq ($(GUI),UNX)
ifeq ($(OS),MACOSX)
PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR).a
else
PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR)m.so
endif
else
ifeq ($(COM),GCC)
PY_FULL_DLL_NAME:=libpython$(PYMAJOR).$(PYMINOR).dll
else
PY_FULL_DLL_NAME:=python$(PYMAJOR)$(PYMINOR).dll
endif
endif