From c610c036616d0b06e9036c4d17be6168619a6332 Mon Sep 17 00:00:00 2001 From: Baruch Sterin Date: Thu, 5 Nov 2015 01:24:26 -0800 Subject: pyabc: remove python integration from abc, it is moved to a separate extension --- src/python/module.make | 92 -------------------------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 src/python/module.make (limited to 'src/python/module.make') diff --git a/src/python/module.make b/src/python/module.make deleted file mode 100644 index 51be60af..00000000 --- a/src/python/module.make +++ /dev/null @@ -1,92 +0,0 @@ -# To compile with the embedded python interpreter set -# the variable ABC_PYTHON to point to the python executable -# -# Examples: -# make ABC_PYTHON=/usr/bin/python -# make ABC_PYTHON=/usr/bin/python2.5 -# -# To build the Python extension build the target pyabc -# To create a package of ABC with embedded Python use the target pyabc.tgz - -ifdef ABC_PYTHON - - # get the directory containing this file - ABC_PYTHON_FILES_PREFIX := $(CURDIR)/src/python - - ABC_SWIG := swig - ABC_PYTHON_CONFIG := $(ABC_PYTHON)-config - ABC_PYTHON_CFLAGS := $(shell $(ABC_PYTHON_CONFIG) --includes) -DABC_PYTHON_EMBED=1 - ABC_PYTHON_LDFLAGS := $(shell $(ABC_PYTHON_CONFIG) --ldflags) - - CFLAGS += $(ABC_PYTHON_CFLAGS) - CXXFLAGS += $(ABC_PYTHON_CFLAGS) - LIBS += $(ABC_PYTHON_LDFLAGS) - - ABC_PYTHON_SRC := $(ABC_PYTHON_FILES_PREFIX)/pyabc_wrap.c - - SRC += $(ABC_PYTHON_SRC) - - GARBAGE += \ - $(ABC_PYTHON_SRC) \ - $(ABC_PYTHON_SRC:_wrap.c=.py) \ - $(ABC_PYTHON_SRC:_wrap.c=.pyc) \ - $(ABC_PYTHON_FILES_PREFIX)/build \ - $(ABC_PYTHON_FILES_PREFIX)/dist \ - pyabc.tgz - - ABC_PYABC_DIR ?= pyabc - ABC_PYABC_TGZ ?= pyabc.tgz - ABC_PYABC_EXTRA_BIN ?= - ABC_PYABC_EXTRA_LIB ?= - - -%_wrap.c %.py : %.i - $(ABC_SWIG) -python -outdir $(