blob: 2f8ae7e7d4aea7ca2a7d264cc090acdf86be233e [file] [log] [blame]
Andrew Ristb52bc4b2012-03-29 00:49:41 +00001# *************************************************************
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 Hollmichel6d838782003-03-31 13:08:05 +000021# when you want to change the python version, you must update the d.lst
22# in the python project accordingly !!!
23PYMAJOR=2
Pedro Giffuniac0b0662012-07-26 19:20:33 +000024PYMINOR=7
Armin Le Grand3c1d4742014-07-14 19:09:11 +000025PYMICRO=6
Martin Hollmichel6d838782003-03-31 13:08:05 +000026PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO)
Oliver Boltebbdb3002004-11-15 12:08:54 +000027
28.IF "$(GUI)" == "UNX"
Vladimir Glazounovdcccaff2005-02-24 13:07:48 +000029.IF "$(OS)" == "MACOSX"
30PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib
31.ELSE
Oliver Boltebbdb3002004-11-15 12:08:54 +000032PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0
Vladimir Glazounovdcccaff2005-02-24 13:07:48 +000033.ENDIF
Oliver Boltebbdb3002004-11-15 12:08:54 +000034PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
Vladimir Glazounovcf506aa2007-09-20 14:56:52 +000035.ELIF "$(GUI)" == "OS2"
Ivo Hinkelmann49817b82009-04-22 14:05:37 +000036PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
37PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
Oliver Boltebbdb3002004-11-15 12:08:54 +000038.ELSE
Vladimir Glazounov5f47c822007-03-26 13:37:01 +000039.IF "$(COM)" == "GCC"
40PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll
41PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR)
42.ELSE
Oliver Boltebbdb3002004-11-15 12:08:54 +000043PY_FULL_DLL_NAME=python$(PYMAJOR)$(PYMINOR).dll
44PYTHONLIB=python$(PYMAJOR)$(PYMINOR).lib
45.ENDIF
Vladimir Glazounov5f47c822007-03-26 13:37:01 +000046.ENDIF