Skip to contentSkip to conversation

master - Makefiles: Build libdaemonclient unconditionally.

PATCH Petr Rockai 1 participant 1 message Sep 26, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0a87fed794f2886047298bbc7b21919e9fc04951
Commit:        0a87fed794f2886047298bbc7b21919e9fc04951
Parent:        ca0c8673b2064ceb840ee7f4cb5804b33e55f3c7
Author:        Petr Rockai <[email protected]>
AuthorDate:    Mon Sep 10 07:40:00 2012 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Wed Sep 26 17:26:23 2012 +0200

Makefiles: Build libdaemonclient unconditionally.

---
 Makefile.in           |    6 +-----
 libdaemon/Makefile.in |    4 +++-
 make.tmpl.in          |    8 +++-----
 3 files changed, 7 insertions(+), 11 deletions(-)
Makefile.in +1 -5
index 4316190..6b153d3 100644
@@ -26,16 +26,12 @@ ifeq ("@INTL@", "yes")
   SUBDIRS += po
 endif
 
-SUBDIRS += lib tools daemons libdm
+SUBDIRS += lib tools daemons libdm libdaemon
 
 ifeq ("@APPLIB@", "yes")
   SUBDIRS += liblvm
 endif
 
-ifeq ("@BUILD_LVMETAD@", "yes")
-  SUBDIRS += libdaemon
-endif
-
 SUBDIRS += scripts
 
 # FIXME Should use intermediate Makefiles here!
libdaemon/Makefile.in +3 -1
index fbe5a08..dbe6516 100644
@@ -17,8 +17,10 @@ top_builddir = @top_builddir@
 
 .PHONY: client server
 
+SUBDIRS += client
+
 ifeq ("@BUILD_LVMETAD@", "yes")
-  SUBDIRS += client server
+  SUBDIRS += server
 server: client
 endif
 
make.tmpl.in +3 -5
index b8b127f..21fd415 100644
@@ -144,11 +144,9 @@ endif
 LDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
 CLDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
 
-ifeq ("@BUILD_LVMETAD@", "yes")
-  DAEMON_LIBS = -ldaemonclient
-  LDFLAGS += -L$(top_builddir)/libdaemon/client
-  CLDFLAGS += -L$(top_builddir)/libdaemon/client
-endif
+DAEMON_LIBS = -ldaemonclient
+LDFLAGS += -L$(top_builddir)/libdaemon/client
+CLDFLAGS += -L$(top_builddir)/libdaemon/client
 
 ifeq ("@DMEVENTD@", "yes")
   LDFLAGS += -L$(top_builddir)/daemons/dmeventd