mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Only build libdaemon.a when we need it at the moment.
This commit is contained in:
parent
441edcb50a
commit
1ca0eea5bb
@ -15,8 +15,10 @@ srcdir = @srcdir@
|
|||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
top_builddir = @top_builddir@
|
top_builddir = @top_builddir@
|
||||||
|
|
||||||
|
ifeq ("@BUILD_LVMETAD@", "yes")
|
||||||
LIB_STATIC=libdaemon.a
|
LIB_STATIC=libdaemon.a
|
||||||
SOURCES = common/daemon-shared.c common/daemon-server.c common/daemon-client.c
|
SOURCES = common/daemon-shared.c common/daemon-server.c common/daemon-client.c
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: dmeventd clvmd cmirrord lvmetad
|
.PHONY: dmeventd clvmd cmirrord lvmetad
|
||||||
|
|
||||||
@ -30,6 +32,7 @@ endif
|
|||||||
|
|
||||||
ifeq ("@BUILD_LVMETAD@", "yes")
|
ifeq ("@BUILD_LVMETAD@", "yes")
|
||||||
SUBDIRS += lvmetad
|
SUBDIRS += lvmetad
|
||||||
|
device-mapper: libdaemon.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("@BUILD_DMEVENTD@", "yes")
|
ifeq ("@BUILD_DMEVENTD@", "yes")
|
||||||
@ -48,5 +51,3 @@ include $(top_builddir)/make.tmpl
|
|||||||
ifeq ("@BUILD_DMEVENTD@", "yes")
|
ifeq ("@BUILD_DMEVENTD@", "yes")
|
||||||
device-mapper: dmeventd.device-mapper
|
device-mapper: dmeventd.device-mapper
|
||||||
endif
|
endif
|
||||||
|
|
||||||
device-mapper: libdaemon.a
|
|
||||||
|
Loading…
Reference in New Issue
Block a user