diff options
author | Christine Caulfield <ccaulfie@redhat.com> | 2009-02-02 14:34:24 +0000 |
---|---|---|
committer | Christine Caulfield <ccaulfie@redhat.com> | 2009-02-02 14:34:24 +0000 |
commit | fd5c5a9703ba8543514234f7f4dffafd47d465c2 (patch) | |
tree | d209f6dfc3059701ade9a945aae457d5777838fe /daemons/clvmd/Makefile.in | |
parent | 4ff2b4ee5db34972895c9e66416589790cdc654e (diff) | |
download | lvm2-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.in | 23 |
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 |