From: Alasdair Kergon Date: Fri, 3 Feb 2006 21:31:00 +0000 (+0000) Subject: tweak clvmd makefile X-Git-Tag: v2_02_91~4597 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=a0d0eda9b3ad73d35f11708974874ef509230bd2;p=lvm2.git tweak clvmd makefile --- 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