Skip to contentSkip to conversation

LVM2/daemons Makefile.in

PATCH [email protected] 1 participant 1 message Sep 1, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-09-01 17:56:53

Modified files:
daemons : Makefile.in

Log message:
Only build libdaemon.a when we need it at the moment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/Makefile.in.diff?cvsroot=lvm2&r1=1.17&r2=1.18

daemons/Makefile.in +3 -2
@@ -15,8 +15,10 @@
 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 @@
 
 ifeq ("@BUILD_LVMETAD@", "yes")
   SUBDIRS += lvmetad
+device-mapper: libdaemon.a
 endif
 
 ifeq ("@BUILD_DMEVENTD@", "yes")
@@ -48,5 +51,3 @@
 ifeq ("@BUILD_DMEVENTD@", "yes")
 device-mapper: dmeventd.device-mapper
 endif
-
-device-mapper: libdaemon.a