Skip to contentSkip to conversation

main - makefiles: move include earlier

PATCH Zdenek Kabelac 1 participant 1 message Feb 16, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d58b475f6320257e72f01be3c57badd65af28d56
Commit:        d58b475f6320257e72f01be3c57badd65af28d56
Parent:        b9697acbd6b4283b430b5c6a9ced45676c54bc1d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Feb 16 23:40:25 2023 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Feb 17 00:00:12 2023 +0100

makefiles: move include earlier

---
 daemons/lvmlockd/Makefile.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
daemons/lvmlockd/Makefile.in +5 -6
index aff4c0123..24191c439 100644
@@ -16,6 +16,11 @@ top_srcdir = @top_srcdir@
 top_builddir = @top_builddir@
 
 SOURCES = lvmlockd-core.c
+SOURCES2 = lvmlockctl.c
+
+TARGETS = lvmlockd lvmlockctl
+
+include $(top_builddir)/make.tmpl
 
 ifeq ("@BUILD_LOCKDSANLOCK@", "yes")
   SOURCES += lvmlockd-sanlock.c
@@ -36,17 +41,11 @@ ifeq ("@BUILD_LOCKDIDM@", "yes")
   LOCK_LIBS += -lseagate_ilm $(BLKID_LIBS)
 endif
 
-SOURCES2 = lvmlockctl.c
-
-TARGETS = lvmlockd lvmlockctl
-
 CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
 CFLOW_TARGET = lvmlockd
 
 .PHONY: install_lvmlockd install_lvmlockctl
 
-include $(top_builddir)/make.tmpl
-
 CFLAGS += $(EXTRA_EXEC_CFLAGS)
 INCLUDES += -I$(top_srcdir)/libdaemon/server
 LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)