| Andrew Rist | b52bc4b | 2012-03-29 00:49:41 +0000 | [diff] [blame] | 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 |
| 9 | # with the License. You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, |
| 14 | # software distributed under the License is distributed on an |
| 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | # KIND, either express or implied. See the License for the |
| 17 | # specific language governing permissions and limitations |
| 18 | # under the License. |
| 19 | # |
| 20 | # ************************************************************* |
| Martin Hollmichel | 6d83878 | 2003-03-31 13:08:05 +0000 | [diff] [blame] | 21 | # when you want to change the python version, you must update the d.lst |
| 22 | # in the python project accordingly !!! |
| 23 | PYMAJOR=2 |
| Pedro Giffuni | ac0b066 | 2012-07-26 19:20:33 +0000 | [diff] [blame] | 24 | PYMINOR=7 |
| Armin Le Grand | 3c1d474 | 2014-07-14 19:09:11 +0000 | [diff] [blame] | 25 | PYMICRO=6 |
| Martin Hollmichel | 6d83878 | 2003-03-31 13:08:05 +0000 | [diff] [blame] | 26 | PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO) |
| Oliver Bolte | bbdb300 | 2004-11-15 12:08:54 +0000 | [diff] [blame] | 27 | |
| 28 | .IF "$(GUI)" == "UNX" |
| Vladimir Glazounov | dcccaff | 2005-02-24 13:07:48 +0000 | [diff] [blame] | 29 | .IF "$(OS)" == "MACOSX" |
| 30 | PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib |
| 31 | .ELSE |
| Oliver Bolte | bbdb300 | 2004-11-15 12:08:54 +0000 | [diff] [blame] | 32 | PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0 |
| Vladimir Glazounov | dcccaff | 2005-02-24 13:07:48 +0000 | [diff] [blame] | 33 | .ENDIF |
| Oliver Bolte | bbdb300 | 2004-11-15 12:08:54 +0000 | [diff] [blame] | 34 | PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) |
| Vladimir Glazounov | cf506aa | 2007-09-20 14:56:52 +0000 | [diff] [blame] | 35 | .ELIF "$(GUI)" == "OS2" |
| Ivo Hinkelmann | 49817b8 | 2009-04-22 14:05:37 +0000 | [diff] [blame] | 36 | PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll |
| 37 | PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib |
| Oliver Bolte | bbdb300 | 2004-11-15 12:08:54 +0000 | [diff] [blame] | 38 | .ELSE |
| Vladimir Glazounov | 5f47c82 | 2007-03-26 13:37:01 +0000 | [diff] [blame] | 39 | .IF "$(COM)" == "GCC" |
| 40 | PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll |
| 41 | PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) |
| 42 | .ELSE |
| Oliver Bolte | bbdb300 | 2004-11-15 12:08:54 +0000 | [diff] [blame] | 43 | PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll |
| 44 | PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib |
| 45 | .ENDIF |
| Vladimir Glazounov | 5f47c82 | 2007-03-26 13:37:01 +0000 | [diff] [blame] | 46 | .ENDIF |