mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: move include earlier
This commit is contained in:
parent
b9697acbd6
commit
d58b475f63
@ -16,6 +16,11 @@ top_srcdir = @top_srcdir@
|
|||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
|
|
||||||
SOURCES = lvmlockd-core.c
|
SOURCES = lvmlockd-core.c
|
||||||
|
SOURCES2 = lvmlockctl.c
|
||||||
|
|
||||||
|
TARGETS = lvmlockd lvmlockctl
|
||||||
|
|
||||||
|
include $(top_builddir)/make.tmpl
|
||||||
|
|
||||||
ifeq ("@BUILD_LOCKDSANLOCK@", "yes")
|
ifeq ("@BUILD_LOCKDSANLOCK@", "yes")
|
||||||
SOURCES += lvmlockd-sanlock.c
|
SOURCES += lvmlockd-sanlock.c
|
||||||
@ -36,17 +41,11 @@ ifeq ("@BUILD_LOCKDIDM@", "yes")
|
|||||||
LOCK_LIBS += -lseagate_ilm $(BLKID_LIBS)
|
LOCK_LIBS += -lseagate_ilm $(BLKID_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SOURCES2 = lvmlockctl.c
|
|
||||||
|
|
||||||
TARGETS = lvmlockd lvmlockctl
|
|
||||||
|
|
||||||
CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
|
CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
|
||||||
CFLOW_TARGET = lvmlockd
|
CFLOW_TARGET = lvmlockd
|
||||||
|
|
||||||
.PHONY: install_lvmlockd install_lvmlockctl
|
.PHONY: install_lvmlockd install_lvmlockctl
|
||||||
|
|
||||||
include $(top_builddir)/make.tmpl
|
|
||||||
|
|
||||||
CFLAGS += $(EXTRA_EXEC_CFLAGS)
|
CFLAGS += $(EXTRA_EXEC_CFLAGS)
|
||||||
INCLUDES += -I$(top_srcdir)/libdaemon/server
|
INCLUDES += -I$(top_srcdir)/libdaemon/server
|
||||||
LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
|
LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user