diff options
| author | Ted Ross <tross@apache.org> | 2009-06-01 21:24:14 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-06-01 21:24:14 +0000 |
| commit | d30c482b6a5070c5fcd97291c901ddcde77f351f (patch) | |
| tree | 6b7a5f8aad9e10238aea053932c47b3981f1ebd6 /cpp/bindings/qmf/ruby/Makefile.am | |
| parent | 7f280d95d1bc92a8534d589b537b8e90e913099c (diff) | |
| download | qpid-python-d30c482b6a5070c5fcd97291c901ddcde77f351f.tar.gz | |
QPID-1874 - Patch from Ian Main
This patch provides the Ruby binding for QMF Agent and the framework for the Python bindings.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780837 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/ruby/Makefile.am')
| -rw-r--r-- | cpp/bindings/qmf/ruby/Makefile.am | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cpp/bindings/qmf/ruby/Makefile.am b/cpp/bindings/qmf/ruby/Makefile.am new file mode 100644 index 0000000000..7cf053790c --- /dev/null +++ b/cpp/bindings/qmf/ruby/Makefile.am @@ -0,0 +1,30 @@ + +if HAVE_RUBY_DEVEL + +INCLUDES = -I$(top_srcdir)/src/qmf -I$(top_srcdir)/src -I$(top_srcdir)/src/gen + +EXTRA_DIST = ruby.i + +generated_file_list = \ + qmfengine.cpp + +rubylibdir = $(RUBY_LIB) + +dist_rubylib_DATA = qmf.rb + +$(generated_file_list): ruby.i ../qmfengine.i + swig -ruby -c++ -Wall -I/usr/include $(INCLUDES) $(QPID_CXXFLAGS) -I$(top_srcdir)/src/qmf -o qmfengine.cpp ruby.i + +AM_CPPFLAGS = $(QPID_CXXFLAGS) $(INCLUDES) -I$(srcdir) -I$(RUBY_INC) -I$(RUBY_INC_ARCH) +AM_CXXFLAGS = $(QPID_CXXFLAGS) + +rubylibarchdir = $(RUBY_LIB_ARCH) +rubylibarch_LTLIBRARIES = qmfengine.la + +qmfengine_la_LDFLAGS = -avoid-version -module -shrext ".$(RUBY_DLEXT)" +qmfengine_la_LIBADD = $(RUBY_LIBS) -L$(QPID_SRC)/.libs -lqpidclient $(top_srcdir)/src/libqmfcommon.la + +qmfengine_la_SOURCES = \ + qmfengine.cpp + +endif # HAVE_RUBY_DEVEL |
