diff options
| author | Ted Ross <tross@apache.org> | 2011-01-07 17:55:07 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-07 17:55:07 +0000 |
| commit | 6dc6cfd7718d3758d0d6e3b16f52542c1b4ac369 (patch) | |
| tree | 3ff64325ba6adad46c53593d9324a2f92f9812a1 /cpp/bindings/qpid/python/Makefile.am | |
| parent | 97ec99f115c5190be04963e2853d0315d9a75a52 (diff) | |
| download | qpid-python-6dc6cfd7718d3758d0d6e3b16f52542c1b4ac369.tar.gz | |
Cleaned up the makefiles for the Swig-generated bindings.
1) Suppression of some warnings
2) Proper installation of artifacts in "make install"
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056420 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/python/Makefile.am')
| -rw-r--r-- | cpp/bindings/qpid/python/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/bindings/qpid/python/Makefile.am b/cpp/bindings/qpid/python/Makefile.am index 6e3bd490c3..7fa4106be0 100644 --- a/cpp/bindings/qpid/python/Makefile.am +++ b/cpp/bindings/qpid/python/Makefile.am @@ -27,16 +27,17 @@ generated_file_list = \ EXTRA_DIST = python.i BUILT_SOURCES = $(generated_file_list) +SWIG_FLAGS = -w362,401 $(generated_file_list): $(srcdir)/python.i $(srcdir)/../qpid.i $(srcdir)/../../swig_python_typemaps.i - swig -c++ -python -Wall $(INCLUDES) $(QPID_CXXFLAGS) -I$(top_srcdir)/src/qmf -I/usr/include -o cqpid.cpp $(srcdir)/python.i + swig -c++ -python $(SWIG_FLAGS) $(INCLUDES) $(QPID_CXXFLAGS) -I$(top_srcdir)/src/qmf -I/usr/include -o cqpid.cpp $(srcdir)/python.i pylibdir = $(PYTHON_LIB) lib_LTLIBRARIES = _cqpid.la +cqpiddir = $(pythondir) +cqpid_PYTHON = cqpid.py -#_cqpid_la_LDFLAGS = -avoid-version -module -shrext "$(PYTHON_SO)" -#_cqpid_la_LDFLAGS = -avoid-version -module -shrext ".so" _cqpid_la_LDFLAGS = -avoid-version -module -shared _cqpid_la_LIBADD = $(PYTHON_LIBS) -L$(top_builddir)/src/.libs -lqpidmessaging -lqpidtypes $(top_builddir)/src/libqpidmessaging.la $(top_builddir)/src/libqpidtypes.la _cqpid_la_CXXFLAGS = $(INCLUDES) -I$(PYTHON_INC) -fno-strict-aliasing |
