From a0d0eda9b3ad73d35f11708974874ef509230bd2 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 3 Feb 2006 21:31:00 +0000 Subject: [PATCH] tweak clvmd makefile --- daemons/clvmd/Makefile.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in index af6763d49..bf1e6fa77 100644 --- a/daemons/clvmd/Makefile.in +++ b/daemons/clvmd/Makefile.in @@ -53,10 +53,19 @@ endif TARGETS = \ clvmd -include $(top_srcdir)/make.tmpl +LVMLIBS = -llvm + +ifeq ("@DMEVENTD@", "yes") + LVMLIBS += -ldevmapper-event -lpthread +endif + +ifeq ("@DEVMAPPER@", "yes") + LVMLIBS += -ldevmapper +endif CFLAGS += -D_REENTRANT -fno-strict-aliasing -LIBS += -ldevmapper -llvm -lpthread + +include $(top_srcdir)/make.tmpl INSTALL_TARGETS = \ install_clvmd -- 2.43.5