pyversion.mk (7cdbaf76) | pyversion.mk (1c25f252) |
---|---|
1# ************************************************************* 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 11 unchanged lines hidden (view full) --- 20# ************************************************************* 21# when you want to change the python version, you must update the d.lst 22# in the python project accordingly !!! 23PYMAJOR=2 24PYMINOR=7 25PYMICRO=15 26PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO) 27 | 1# ************************************************************* 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 11 unchanged lines hidden (view full) --- 20# ************************************************************* 21# when you want to change the python version, you must update the d.lst 22# in the python project accordingly !!! 23PYMAJOR=2 24PYMINOR=7 25PYMICRO=15 26PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO) 27 |
28.IF "$(GUI)" == "UNX" 29.IF "$(OS)" == "MACOSX" | 28ifeq ($(GUI),UNX) 29ifeq ($(OS),MACOSX) |
30PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib | 30PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib |
31.ELSE | 31else |
32PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0 | 32PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0 |
33.ENDIF | 33endif |
34PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) | 34PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) |
35.ELIF "$(GUI)" == "OS2" | 35else ifeq ($(GUI),OS2) |
36PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 37PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib | 36PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 37PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib |
38.ELSE 39.IF "$(COM)" == "GCC" | 38else 39ifeq ($(COM),GCC) |
40PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll 41PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) | 40PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll 41PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) |
42.ELSE | 42else |
43PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 44PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib | 43PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll 44PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib |
45.ENDIF 46.ENDIF | 45endif 46endif |