summaryrefslogtreecommitdiff
path: root/cpp/src/replication.mk
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-06-17 16:55:54 +0000
committerAlan Conway <aconway@apache.org>2010-06-17 16:55:54 +0000
commitdce1ceb9d553ac8c264a36d58e7007e41bcbcfd9 (patch)
treef8893393a0b686b375836a50a3589122417a0032 /cpp/src/replication.mk
parentc289c16084d7f81d0ab848a9d0e0a024e231b81b (diff)
downloadqpid-python-dce1ceb9d553ac8c264a36d58e7007e41bcbcfd9.tar.gz
Allow libraries to be independently versioned in the autotools build.
Each library libfoo or plugin foo has a variable FOO_VERSION_INFO with a value passed as -version-info to libtool. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/replication.mk')
-rw-r--r--cpp/src/replication.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpp/src/replication.mk b/cpp/src/replication.mk
index 4a51fb9c7d..e27920d2ee 100644
--- a/cpp/src/replication.mk
+++ b/cpp/src/replication.mk
@@ -33,7 +33,10 @@ if SUNOS
replicating_listener_la_LIBADD += libqpidcommon.la -lboost_program_options -luuid $(SUNCC_RUNTIME_LIBS)
endif
-replicating_listener_la_LDFLAGS = $(PLUGINLDFLAGS)
+# Library Version Information:
+REPLICATING_LISTENER_VERSION_INFO = 2:0:0
+replicating_listener_la_LDFLAGS = $(PLUGINLDFLAGS) \
+ -version-info $(REPLICATING_LISTENER_VERSION_INFO)
# a custom exchange plugin that allows an exchange to be created that
# can process the messages from a replication queue (populated on the
@@ -49,4 +52,8 @@ replication_exchange_la_LIBADD = libqpidbroker.la
if SUNOS
replication_exchange_la_LIBADD += libqpidcommon.la -lboost_program_options $(SUNCC_RUNTIME_LIBS) -luuid
endif
-replication_exchange_la_LDFLAGS = $(PLUGINLDFLAGS)
+# Library Version Information:
+REPLICATION_EXCHANGE_VERSION_INFO = 2:0:0
+replication_exchange_la_LDFLAGS = $(PLUGINLDFLAGS) \
+ -version-info $(REPLICATION_EXCHANGE_VERSION_INFO)
+