From 6dc6cfd7718d3758d0d6e3b16f52542c1b4ac369 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 7 Jan 2011 17:55:07 +0000 Subject: 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 --- cpp/bindings/qpid/python/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpp/bindings/qpid/python/Makefile.am') 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 -- cgit v1.2.1