summaryrefslogtreecommitdiff
path: root/cpp/src/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-06 17:52:03 +0000
committerAlan Conway <aconway@apache.org>2008-05-06 17:52:03 +0000
commit8d8a9162f7ba5a99a7c8b8b57aae860ab3028078 (patch)
treeaa17b9f56448a5280e13441a7b0473dd5faee283 /cpp/src/Makefile.am
parente4a3049c22b36171d204a8f84ddbcbf5accf797f (diff)
downloadqpid-python-8d8a9162f7ba5a99a7c8b8b57aae860ab3028078.tar.gz
From https://issues.apache.org/jira/browse/QPID-879 contributed by Jonathan Robie.
XML exchange allowing messages to be routed base on XQuery expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/Makefile.am')
-rw-r--r--cpp/src/Makefile.am24
1 files changed, 19 insertions, 5 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am
index bbe4cb73d3..5c052b0fe3 100644
--- a/cpp/src/Makefile.am
+++ b/cpp/src/Makefile.am
@@ -46,7 +46,7 @@ DISTCLEANFILES+=qpid/framing/MaxMethodBodySize.h
## Compiler flags
-AM_CXXFLAGS = $(WARNING_CFLAGS)
+AM_CXXFLAGS = $(WARNING_CFLAGS) $(CFLAGS)
AM_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO_ARG)
INCLUDES = -Igen -I$(srcdir)/gen
@@ -221,8 +221,12 @@ libqpidcommon_la_SOURCES = \
qpid/ISList.h \
qpid/pointer_to_other.h
-libqpidbroker_la_LIBADD = libqpidcommon.la \
- -luuid
+libqpidbroker_la_LIBADD = libqpidcommon.la -luuid
+if HAVE_XML
+libqpidbroker_la_LIBADD += -lxerces-c -lxqilla
+endif
+
+
libqpidbroker_la_SOURCES = \
$(mgen_broker_cpp) \
qpid/amqp_0_10/Connection.h \
@@ -288,8 +292,13 @@ libqpidbroker_la_SOURCES = \
qpid/management/ManagementObject.cpp \
qpid/sys/TCPIOPlugin.cpp
-libqpidclient_la_LIBADD = libqpidcommon.la \
- -luuid
+if HAVE_XML
+libqpidbroker_la_SOURCES += qpid/broker/XmlExchange.cpp
+endif
+
+
+libqpidclient_la_LIBADD = libqpidcommon.la -luuid
+
libqpidclient_la_SOURCES = \
$(rgen_client_srcs) \
qpid/client/Bounds.cpp \
@@ -528,6 +537,11 @@ nobase_include_HEADERS = \
qpid/sys/Time.h \
qpid/sys/TimeoutHandler.h
+if HAVE_XML
+nobase_include_HEADERS += qpid/broker/XmlExchange.h
+endif
+
+
# Force build of qpidd during dist phase so help2man will work.
dist-hook: $(BUILT_SOURCES)
$(MAKE) qpidd