]> sourceware.org Git - lvm2.git/commitdiff
Only build libdaemon.a when we need it at the moment.
authorAlasdair Kergon <agk@redhat.com>
Thu, 1 Sep 2011 17:56:53 +0000 (17:56 +0000)
committerAlasdair Kergon <agk@redhat.com>
Thu, 1 Sep 2011 17:56:53 +0000 (17:56 +0000)
daemons/Makefile.in

index 5b4e196e42b007301ce084a880d7c54940245b4e..5a72c4fda72eb8d39ba807dc55715aa8c5bb8089 100644 (file)
@@ -15,8 +15,10 @@ srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 top_builddir = @top_builddir@
 
+ifeq ("@BUILD_LVMETAD@", "yes")
 LIB_STATIC=libdaemon.a
 SOURCES = common/daemon-shared.c common/daemon-server.c common/daemon-client.c
+endif
 
 .PHONY: dmeventd clvmd cmirrord lvmetad
 
@@ -30,6 +32,7 @@ endif
 
 ifeq ("@BUILD_LVMETAD@", "yes")
   SUBDIRS += lvmetad
+device-mapper: libdaemon.a
 endif
 
 ifeq ("@BUILD_DMEVENTD@", "yes")
@@ -48,5 +51,3 @@ include $(top_builddir)/make.tmpl
 ifeq ("@BUILD_DMEVENTD@", "yes")
 device-mapper: dmeventd.device-mapper
 endif
-
-device-mapper: libdaemon.a
This page took 0.034401 seconds and 5 git commands to generate.