summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/Makefile.in
diff options
context:
space:
mode:
authorChristine Caulfield <ccaulfie@redhat.com>2009-02-02 14:34:24 +0000
committerChristine Caulfield <ccaulfie@redhat.com>2009-02-02 14:34:24 +0000
commitfd5c5a9703ba8543514234f7f4dffafd47d465c2 (patch)
treed209f6dfc3059701ade9a945aae457d5777838fe /daemons/clvmd/Makefile.in
parent4ff2b4ee5db34972895c9e66416589790cdc654e (diff)
downloadlvm2-fd5c5a9703ba8543514234f7f4dffafd47d465c2.tar.gz
lvm2-fd5c5a9703ba8543514234f7f4dffafd47d465c2.tar.xz
lvm2-fd5c5a9703ba8543514234f7f4dffafd47d465c2.zip
Allow clvmd to be built with all cluster managers & select one on cmdline.
Diffstat (limited to 'daemons/clvmd/Makefile.in')
-rw-r--r--daemons/clvmd/Makefile.in23
1 files changed, 9 insertions, 14 deletions
diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in
index 1edf02d7..268084d5 100644
--- a/daemons/clvmd/Makefile.in
+++ b/daemons/clvmd/Makefile.in
@@ -21,31 +21,26 @@ SOURCES = \
lvm-functions.c \
refresh_clvmd.c
-ifeq ("@CLVMD@", "gulm")
+ifneq (,$(findstring gulm,, "@CLVMD@,"))
GULM = yes
endif
-ifeq ("@CLVMD@", "cman")
+ifneq (,$(findstring cman,, "@CLVMD@,"))
CMAN = yes
endif
-ifeq ("@CLVMD@", "openais")
+ifneq (,$(findstring openais,, "@CLVMD@,"))
OPENAIS = yes
- GULM = no
- CMAN = no
endif
-ifeq ("@CLVMD@", "all")
- GULM = yes
- CMAN = yes
- OPENAIS = no
- COROSYNC = no
+ifneq (,$(findstring corosync,, "@CLVMD@,"))
+ COROSYNC = yes
endif
-ifeq ("@CLVMD@", "corosync")
- GULM = no
- CMAN = no
- OPENAIS = no
+ifneq (,$(findstring all,, "@CLVMD@,"))
+ GULM = yes
+ CMAN = yes
+ OPENAIS = yes
COROSYNC = yes
endif