diff options
| author | Alan Conway <aconway@apache.org> | 2008-11-18 19:55:59 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-11-18 19:55:59 +0000 |
| commit | 970fba7f2422eab256273a610135be33bd37f7d6 (patch) | |
| tree | 2e1e66e3bd717c2adc02b9787bb55a0c20679381 /cpp/src/cluster.mk | |
| parent | b355d0e5b46739c74e9cbef449d8fc50646e4db2 (diff) | |
| download | qpid-python-970fba7f2422eab256273a610135be33bd37f7d6.tar.gz | |
Optional cluster integration with cman quorum service.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718693 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/cluster.mk')
| -rw-r--r-- | cpp/src/cluster.mk | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/cpp/src/cluster.mk b/cpp/src/cluster.mk index 0b62140465..a3f32dcf85 100644 --- a/cpp/src/cluster.mk +++ b/cpp/src/cluster.mk @@ -1,11 +1,20 @@ # # Cluster library makefile fragment, to be included in Makefile.am # -if CPG +# Optional CMAN support +if HAVE_LIBCMAN +CMAN_SOURCES= qpid/cluster/Quorum_cman.h qpid/cluster/Quorum_cman.cpp +libcman = -lcman +else +CMAN_SOURCES= qpid/cluster/Quorum_null.h +endif + +if HAVE_LIBCPG dmodule_LTLIBRARIES += cluster.la cluster_la_SOURCES = \ + $(CMAN_SOURCES) \ qpid/cluster/types.h \ qpid/cluster/Cluster.cpp \ qpid/cluster/Cluster.h \ @@ -32,9 +41,7 @@ cluster_la_SOURCES = \ qpid/cluster/FailoverExchange.h \ qpid/cluster/FailoverExchange.cpp -cluster_la_LIBADD= -lcpg libqpidbroker.la libqpidclient.la - +cluster_la_LIBADD= -lcpg $(libcman) libqpidbroker.la libqpidclient.la cluster_la_LDFLAGS = $(PLUGINLDFLAGS) -endif - +endif # HAVE_LIBCPG |
