mirror of https://github.com/sipwise/sems.git
git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@647 8eb893ce-cfd4-0310-b710-fb5ebe64c474sayer/1.4-spce2.6
parent
5733331e59
commit
3f02e25624
@ -0,0 +1,11 @@
|
||||
|
||||
NAME=py_sems_examples
|
||||
VERSION=0.1.0-1
|
||||
|
||||
LIBDIR=.
|
||||
|
||||
COREPATH=../../../core
|
||||
PYSEMSPATH=../../py_sems
|
||||
|
||||
include $(PYSEMSPATH)/Makefile.py_sems_application
|
||||
|
||||
@ -0,0 +1,15 @@
|
||||
# PYTHON_VERSION might also be 2.2 -- except for the use of GIL
|
||||
# do a ls /usr/include/python2.3/Python.h to see if it's there
|
||||
PYTHON_VERSION ?= `python -c 'import sys;print sys.version[0:3]';`
|
||||
PY_VER = $(PYTHON_VERSION)
|
||||
PY_EXE = python$(PY_VER)
|
||||
|
||||
# adjust to point to python include path
|
||||
# can also be /usr/include/python$(PY_VER)
|
||||
# look for Python.h in the specified path
|
||||
# Python prefix is what you configured python with
|
||||
# if you built from source (e.g. ./configure --with-prefix=/usr/local)
|
||||
# on debian it's often /usr, on SuSE and FreeBSD /usr/local
|
||||
PYTHON_PREFIX = /usr
|
||||
PYTHON_DIR = $(PYTHON_PREFIX)/include/python$(PY_VER)
|
||||
PYTHON_LIBDIR = $(PYTHON_PREFIX)/lib/python$(PY_VER)
|
||||
Loading…
Reference in new issue