diff options
Diffstat (limited to 'qpid/cpp/examples')
-rw-r--r-- | qpid/cpp/examples/makedist.mk | 1 | ||||
-rw-r--r-- | qpid/cpp/examples/messaging/Makefile.am | 9 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/direct/Makefile.am | 6 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/failover/Makefile.am | 6 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/fanout/Makefile.am | 2 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/pub-sub/Makefile.am | 4 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/request-response/Makefile.am | 4 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/tradedemo/Makefile.am | 6 | ||||
-rw-r--r-- | qpid/cpp/examples/old_api/xml-exchange/Makefile.am | 6 |
9 files changed, 23 insertions, 21 deletions
diff --git a/qpid/cpp/examples/makedist.mk b/qpid/cpp/examples/makedist.mk index c494af5e8f..9a1568d427 100644 --- a/qpid/cpp/examples/makedist.mk +++ b/qpid/cpp/examples/makedist.mk @@ -20,6 +20,7 @@ AM_CXXFLAGS = $(WARNING_CFLAGS) INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include CLIENT_LIB=$(top_builddir)/src/libqpidclient.la +COMMON_LIB=$(top_builddir)/src/libqpidcommon.la CONSOLE_LIB=$(top_builddir)/src/libqmfconsole.la CLIENTFLAGS=-lqpidclient CONSOLEFLAGS=-lqmfconsole diff --git a/qpid/cpp/examples/messaging/Makefile.am b/qpid/cpp/examples/messaging/Makefile.am index d5303f4437..f11ca20c71 100644 --- a/qpid/cpp/examples/messaging/Makefile.am +++ b/qpid/cpp/examples/messaging/Makefile.am @@ -22,6 +22,7 @@ examplesdir=$(pkgdatadir)/examples/messaging AM_CXXFLAGS = $(WARNING_CFLAGS) INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include CLIENT_LIB=$(top_builddir)/src/libqpidmessaging.la +TYPES_LIB=$(top_builddir)/src/libqpidtypes.la CLIENTFLAGS=-lqpidmessaging noinst_PROGRAMS=drain spout client server map_sender map_receiver hello_world hello_xml @@ -33,10 +34,10 @@ hello_xml_SOURCES=hello_xml.cpp hello_xml_LDADD=$(CLIENT_LIB) drain_SOURCES=drain.cpp OptionParser.h OptionParser.cpp -drain_LDADD=$(CLIENT_LIB) -lqpidtypes +drain_LDADD=$(CLIENT_LIB) $(TYPES_LIB) spout_SOURCES=spout.cpp OptionParser.h OptionParser.cpp -spout_LDADD=$(CLIENT_LIB) -lqpidtypes +spout_LDADD=$(CLIENT_LIB) $(TYPES_LIB) client_SOURCES=client.cpp client_LDADD=$(CLIENT_LIB) @@ -45,10 +46,10 @@ server_SOURCES=server.cpp server_LDADD=$(CLIENT_LIB) map_sender_SOURCES=map_sender.cpp -map_sender_LDADD=$(CLIENT_LIB) -lqpidtypes +map_sender_LDADD=$(CLIENT_LIB) $(TYPES_LIB) map_receiver_SOURCES=map_receiver.cpp -map_receiver_LDADD=$(CLIENT_LIB) -lqpidtypes +map_receiver_LDADD=$(CLIENT_LIB) $(TYPES_LIB) examples_DATA= \ hello_world.cpp \ diff --git a/qpid/cpp/examples/old_api/direct/Makefile.am b/qpid/cpp/examples/old_api/direct/Makefile.am index 09709c2bf4..18957c84f4 100644 --- a/qpid/cpp/examples/old_api/direct/Makefile.am +++ b/qpid/cpp/examples/old_api/direct/Makefile.am @@ -23,13 +23,13 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=direct_producer listener declare_queues direct_producer_SOURCES=direct_producer.cpp -direct_producer_LDADD=$(CLIENT_LIB) -lqpidcommon +direct_producer_LDADD=$(CLIENT_LIB) $(COMMON_LIB) listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) -lqpidcommon +listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) -lqpidcommon +declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ direct_producer.cpp \ diff --git a/qpid/cpp/examples/old_api/failover/Makefile.am b/qpid/cpp/examples/old_api/failover/Makefile.am index 516c3625c1..60e99b9ed6 100644 --- a/qpid/cpp/examples/old_api/failover/Makefile.am +++ b/qpid/cpp/examples/old_api/failover/Makefile.am @@ -24,13 +24,13 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=declare_queues resuming_receiver replaying_sender declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) -lqpidcommon +declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) resuming_receiver_SOURCES=resuming_receiver.cpp -resuming_receiver_LDADD=$(CLIENT_LIB) -lqpidcommon +resuming_receiver_LDADD=$(CLIENT_LIB) $(COMMON_LIB) replaying_sender_SOURCES=replaying_sender.cpp -replaying_sender_LDADD=$(CLIENT_LIB) -lqpidcommon +replaying_sender_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ declare_queues.cpp \ diff --git a/qpid/cpp/examples/old_api/fanout/Makefile.am b/qpid/cpp/examples/old_api/fanout/Makefile.am index 797312a72d..06e84b47b6 100644 --- a/qpid/cpp/examples/old_api/fanout/Makefile.am +++ b/qpid/cpp/examples/old_api/fanout/Makefile.am @@ -26,7 +26,7 @@ fanout_producer_SOURCES=fanout_producer.cpp fanout_producer_LDADD=$(CLIENT_LIB) listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) -lqpidcommon +listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ fanout_producer.cpp \ diff --git a/qpid/cpp/examples/old_api/pub-sub/Makefile.am b/qpid/cpp/examples/old_api/pub-sub/Makefile.am index fc61236475..e8e19e4c32 100644 --- a/qpid/cpp/examples/old_api/pub-sub/Makefile.am +++ b/qpid/cpp/examples/old_api/pub-sub/Makefile.am @@ -24,10 +24,10 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=topic_listener topic_publisher topic_listener_SOURCES=topic_listener.cpp -topic_listener_LDADD=$(CLIENT_LIB) -lqpidcommon +topic_listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) topic_publisher_SOURCES=topic_publisher.cpp -topic_publisher_LDADD=$(CLIENT_LIB) -lqpidcommon +topic_publisher_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ topic_listener.cpp \ diff --git a/qpid/cpp/examples/old_api/request-response/Makefile.am b/qpid/cpp/examples/old_api/request-response/Makefile.am index 92f5bc6558..cf10ae81db 100644 --- a/qpid/cpp/examples/old_api/request-response/Makefile.am +++ b/qpid/cpp/examples/old_api/request-response/Makefile.am @@ -24,10 +24,10 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=client server client_SOURCES=client.cpp -client_LDADD=$(CLIENT_LIB) -lqpidcommon +client_LDADD=$(CLIENT_LIB) $(COMMON_LIB) server_SOURCES=server.cpp -server_LDADD=$(CLIENT_LIB) -lqpidcommon +server_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ server.cpp \ diff --git a/qpid/cpp/examples/old_api/tradedemo/Makefile.am b/qpid/cpp/examples/old_api/tradedemo/Makefile.am index a05bbc3780..9932d87a6b 100644 --- a/qpid/cpp/examples/old_api/tradedemo/Makefile.am +++ b/qpid/cpp/examples/old_api/tradedemo/Makefile.am @@ -24,13 +24,13 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=topic_listener topic_publisher declare_queues topic_listener_SOURCES=topic_listener.cpp -topic_listener_LDADD=$(CLIENT_LIB) -lqpidcommon +topic_listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) topic_publisher_SOURCES=topic_publisher.cpp -topic_publisher_LDADD=$(CLIENT_LIB) -lqpidcommon +topic_publisher_LDADD=$(CLIENT_LIB) $(COMMON_LIB) declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) -lqpidcommon +declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) examples_DATA= \ diff --git a/qpid/cpp/examples/old_api/xml-exchange/Makefile.am b/qpid/cpp/examples/old_api/xml-exchange/Makefile.am index 9391806849..d4bc6ba233 100644 --- a/qpid/cpp/examples/old_api/xml-exchange/Makefile.am +++ b/qpid/cpp/examples/old_api/xml-exchange/Makefile.am @@ -24,13 +24,13 @@ include $(top_srcdir)/examples/makedist.mk noinst_PROGRAMS=declare_queues xml_producer listener declare_queues_SOURCES=declare_queues.cpp -declare_queues_LDADD=$(CLIENT_LIB) -lqpidcommon +declare_queues_LDADD=$(CLIENT_LIB) $(COMMON_LIB) xml_producer_SOURCES=xml_producer.cpp -xml_producer_LDADD=$(CLIENT_LIB) -lqpidcommon +xml_producer_LDADD=$(CLIENT_LIB) $(COMMON_LIB) listener_SOURCES=listener.cpp -listener_LDADD=$(CLIENT_LIB) -lqpidcommon +listener_LDADD=$(CLIENT_LIB) $(COMMON_LIB) EXTRA_DIST= \ README.txt \ |