summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-05-14 17:53:26 +0000
committerGordon Sim <gsim@apache.org>2010-05-14 17:53:26 +0000
commitff7705d9f19a542ddd4dc3422bceb55df1cdbf1c (patch)
tree5c5bcea49d0a74541ec18643d2788927b58b76b9 /qpid/cpp/examples
parent22f751ffe965adbdd24a89654dc191a00d4eb6ce (diff)
downloadqpid-python-ff7705d9f19a542ddd4dc3422bceb55df1cdbf1c.tar.gz
QPID-664: separate out the messaging API into its own library
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
-rw-r--r--qpid/cpp/examples/messaging/CMakeLists.txt10
-rw-r--r--qpid/cpp/examples/messaging/Makefile.am4
-rw-r--r--qpid/cpp/examples/messaging/extra_dist/Makefile2
3 files changed, 8 insertions, 8 deletions
diff --git a/qpid/cpp/examples/messaging/CMakeLists.txt b/qpid/cpp/examples/messaging/CMakeLists.txt
index c962f4d065..31195f0cf0 100644
--- a/qpid/cpp/examples/messaging/CMakeLists.txt
+++ b/qpid/cpp/examples/messaging/CMakeLists.txt
@@ -23,7 +23,7 @@
macro(add_messaging_example example)
add_executable(${example} ${example}.cpp OptionParser.cpp)
set_target_properties(${example} PROPERTIES OUTPUT_NAME ${example})
- target_link_libraries(${example} qpidclient ${_boost_libs_needed})
+ target_link_libraries(${example} qpidmessaging ${_boost_libs_needed})
# For installs, don't install the built example; that would be pointless.
# Install the things a user needs to build the example on-site.
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${example}.cpp ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.h ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.cpp
@@ -40,8 +40,8 @@ endmacro(add_messaging_example)
add_messaging_example(drain)
add_messaging_example(spout)
-add_example(messaging map_receiver)
-add_example(messaging map_sender)
+add_messaging_example(map_receiver)
+add_messaging_example(map_sender)
-add_example(messaging client)
-add_example(messaging server)
+add_messaging_example(client)
+add_messaging_example(server)
diff --git a/qpid/cpp/examples/messaging/Makefile.am b/qpid/cpp/examples/messaging/Makefile.am
index 1f5f2ede2a..298d65e6f1 100644
--- a/qpid/cpp/examples/messaging/Makefile.am
+++ b/qpid/cpp/examples/messaging/Makefile.am
@@ -21,8 +21,8 @@ examplesdir=$(pkgdatadir)/examples/messaging
# Settings to build the examples in automake
AM_CXXFLAGS = $(WARNING_CFLAGS)
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
-CLIENT_LIB=$(top_builddir)/src/libqpidclient.la
-CLIENTFLAGS=-lqpidclient
+CLIENT_LIB=$(top_builddir)/src/libqpidmessaging.la
+CLIENTFLAGS=-lqpidmessaging
noinst_PROGRAMS=drain spout client server map_sender map_receiver hello_world hello_xml
diff --git a/qpid/cpp/examples/messaging/extra_dist/Makefile b/qpid/cpp/examples/messaging/extra_dist/Makefile
index 8f8be352b4..9b8d07ec80 100644
--- a/qpid/cpp/examples/messaging/extra_dist/Makefile
+++ b/qpid/cpp/examples/messaging/extra_dist/Makefile
@@ -1,6 +1,6 @@
CXX=g++
CXXFLAGS=-g -O2
-LDFLAGS=-lqpidclient
+LDFLAGS=-lqpidmessaging
all: drain spout client server map_sender map_receiver hello_world