summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-14 16:24:08 +0000
committerAlan Conway <aconway@apache.org>2008-05-14 16:24:08 +0000
commit4b5e0424b02c3c2a64cae7511ae3872f071929a4 (patch)
tree9eb75eabd713d0fa2bfde07b8876fbb1459b0597 /qpid/cpp/examples/Makefile.am
parent81ce314de5b5d7ffaa76a608cb54023e89e998ae (diff)
downloadqpid-python-4b5e0424b02c3c2a64cae7511ae3872f071929a4.tar.gz
Exclude XML example checks if XML support is not available.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/Makefile.am')
-rw-r--r--qpid/cpp/examples/Makefile.am16
1 files changed, 4 insertions, 12 deletions
diff --git a/qpid/cpp/examples/Makefile.am b/qpid/cpp/examples/Makefile.am
index 54c59810ed..739110de34 100644
--- a/qpid/cpp/examples/Makefile.am
+++ b/qpid/cpp/examples/Makefile.am
@@ -64,18 +64,10 @@ all-local:
test -d examples || cp -R $(srcdir)/examples .
cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -I$(abs_top_srcdir)/src -I$(abs_top_srcdir)/src/gen -I$(abs_top_builddir)/src -I$(abs_top_builddir)/src/gen -L$(abs_top_builddir)/src/.libs -Wl,-rpath,$(abs_top_builddir)/src/.libs" all
+if !HAVE_XML
+exclude_examples_regexp="xml" # Exclude XML examples.
+endif
+
# Verify the examples in the buid tree.
check-local: all-local verify
$(srcdir)/verify_all $(abs_top_srcdir)/..
-
-# TODO:
-# create a tarball for testing installed examples.
-# installcheck-local to use the tarball on installed example and clean up after.
-# Build and verify installed C++ examples, clean up to avoid rpmbuild warnings.
-# EXAMPLE_FLAGS=-I$(DESTDIR)$(includedir) -L$(DESTDIR)$(libdir) -Wl,-rpath,$(DESTDIR)$(libdir)
-# EXAMPLE_DIR=$(DESTDIR)$(pkgdatadir)/examples/cpp
-# installcheck-local:
-# cd $(EXAMPLE_DIR) && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(EXAMPLE_FLAGS)" all
-# cd $(EXAMPLE_DIR) && QPIDD=$(sbindir)/qpidd $(srcdir)/verify *
-# cd $(EXAMPLE_DIR) && $(MAKE) clean
-