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 | a402b15351229196e87647fc777b7f2dc1670922 (patch) | |
| tree | 6af0d0c6e863b0086de85e765ac1fb9200893713 /qpid/cpp/bindings/qmf2/python | |
| parent | df5ccab61279c6a2efe61df5e9d0791e944e66b8 (diff) | |
| download | qpid-python-a402b15351229196e87647fc777b7f2dc1670922.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@1197326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/python')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/python/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/Makefile.am b/qpid/cpp/bindings/qmf2/python/Makefile.am index 3dc04e832f..e33e6e00d1 100644 --- a/qpid/cpp/bindings/qmf2/python/Makefile.am +++ b/qpid/cpp/bindings/qmf2/python/Makefile.am @@ -32,15 +32,15 @@ SWIG_FLAGS = -w362,401 $(generated_file_list): $(srcdir)/python.i $(srcdir)/../qmf2.i $(srcdir)/../../swig_python_typemaps.i $(SWIG) -c++ -python $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I/usr/include -o cqmf2.cpp $(srcdir)/python.i -pylibdir = $(PYTHON_LIB) +pylibdir = $(pyexecdir) -lib_LTLIBRARIES = _cqmf2.la -cqpiddir = $(pyexecdir) +pylib_LTLIBRARIES = _cqmf2.la +cqpiddir = $(pythondir) cqpid_PYTHON = qmf2.py cqmf2.py _cqmf2_la_LDFLAGS = -avoid-version -module -shared _cqmf2_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs $(top_builddir)/src/libqmf2.la -_cqmf2_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf -I$(PYTHON_INC) -fno-strict-aliasing +_cqmf2_la_CXXFLAGS = $(INCLUDES) -I$(srcdir)/qmf $(PYTHON_CFLAGS) -fno-strict-aliasing nodist__cqmf2_la_SOURCES = cqmf2.cpp CLEANFILES = $(generated_file_list) |
