diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2011-11-03 22:11:11 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2011-11-03 22:11:11 +0000 |
| commit | 21dcb7d609d9ce3ed517c6d27e95448154abf9fa (patch) | |
| tree | d892cb2e03e5aa0229b2173a383f66dd5311f8e7 /cpp/bindings/qmf/python/Makefile.am | |
| parent | 39e73a3b7b26dfa95814c3e2d569dd8522f25c2e (diff) | |
| download | qpid-python-21dcb7d609d9ce3ed517c6d27e95448154abf9fa.tar.gz | |
QPID-3464: Build Improvements (autotools) [inspired by Jan-Marek Glogowski]
- Simplified the python binding build
QPID-3458: Install compiled _cqpid.so for SWIG python bindings in site-packages directory
- Put the generated .pyc/.pyo and native .so in the correct place in the
install tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1197326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/python/Makefile.am')
| -rw-r--r-- | cpp/bindings/qmf/python/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/bindings/qmf/python/Makefile.am b/cpp/bindings/qmf/python/Makefile.am index 8abad32959..37efe59872 100644 --- a/cpp/bindings/qmf/python/Makefile.am +++ b/cpp/bindings/qmf/python/Makefile.am @@ -32,17 +32,17 @@ SWIG_FLAGS = -w362,401 $(generated_file_list): $(srcdir)/python.i $(srcdir)/../qmfengine.i $(SWIG) -c++ -python $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I$(top_srcdir)/src/qmf -I/usr/include -o qmfengine.cpp $(srcdir)/python.i -pylibdir = $(PYTHON_LIB) +pylibdir = $(pyexecdir) -lib_LTLIBRARIES = _qmfengine.la -qenginedir = $(pyexecdir) +pylib_LTLIBRARIES = _qmfengine.la +qenginedir = $(pythondir) qengine_PYTHON = qmfengine.py qmf.py #_qmfengine_la_LDFLAGS = -avoid-version -module -shrext "$(PYTHON_SO)" #_qmfengine_la_LDFLAGS = -avoid-version -module -shrext ".so" _qmfengine_la_LDFLAGS = -avoid-version -module -shared _qmfengine_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs -lqpidclient $(top_builddir)/src/libqmf.la -_qmfengine_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) -fno-strict-aliasing +_qmfengine_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf $(PYTHON_CFLAGS) -fno-strict-aliasing nodist__qmfengine_la_SOURCES = qmfengine.cpp CLEANFILES = $(generated_file_list) |
