]> sourceware.org Git - lvm2.git/commitdiff
tweak clvmd makefile
authorAlasdair Kergon <agk@redhat.com>
Fri, 3 Feb 2006 21:31:00 +0000 (21:31 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 3 Feb 2006 21:31:00 +0000 (21:31 +0000)
daemons/clvmd/Makefile.in

index af6763d4973a5b00499d535e4ed9d584123f970c..bf1e6fa7711ff30b25286ace0f09d6872d089816 100644 (file)
@@ -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
This page took 0.033181 seconds and 5 git commands to generate.