1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

build: drop libdm referring from lvm code

Avoid adding /libdm  paths into lvm building.
This commit is contained in:
Zdenek Kabelac 2018-06-14 20:48:08 +02:00
parent a457566e91
commit 52ab3c1584

View File

@ -144,7 +144,6 @@ vpath %.po $(srcdir)
vpath %.exported_symbols $(srcdir) vpath %.exported_symbols $(srcdir)
interface = @interface@ interface = @interface@
interfacebuilddir = $(top_builddir)/libdm/$(interface)
rpmbuilddir = $(abs_top_builddir)/build rpmbuilddir = $(abs_top_builddir)/build
# The number of jobs to run, if blank, defaults to the make standard # The number of jobs to run, if blank, defaults to the make standard
@ -252,27 +251,23 @@ endif
DEFS += -DDEBUG DEFS += -DDEBUG
# memory debugging is not thread-safe yet # memory debugging is not thread-safe yet
ifneq ("@BUILD_DMEVENTD@", "yes") ifneq ("@BUILD_DMEVENTD@", "yes")
ifneq ("@BUILD_DMFILEMAPD@", "yes")
ifneq ("@BUILD_LVMLOCKD@", "yes") ifneq ("@BUILD_LVMLOCKD@", "yes")
ifneq ("@BUILD_LVMPOLLD@", "yes") ifneq ("@BUILD_LVMPOLLD@", "yes")
ifneq ("@BUILD_LVMETAD@", "yes") ifneq ("@BUILD_LVMETAD@", "yes")
ifeq ("@CLVMD@", "none")
DEFS += -DDEBUG_MEM DEFS += -DDEBUG_MEM
endif endif
endif endif
endif endif
endif endif
endif endif
endif
endif
# end of fPIC protection # end of fPIC protection
endif endif
DEFS += -D_BUILDING_LVM DEFS += -D_BUILDING_LVM
LDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib LDFLAGS += -L$(top_builddir)/lib
CLDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib CLDFLAGS += -L$(top_builddir)/lib
DAEMON_LIBS = -ldaemonclient DAEMON_LIBS = -ldaemonclient
LDFLAGS += -L$(top_builddir)/libdaemon/client LDFLAGS += -L$(top_builddir)/libdaemon/client
@ -426,8 +421,6 @@ CFLOW_FLAGS +=\
--symbol __REDIRECT:wrapper \ --symbol __REDIRECT:wrapper \
--symbol __REDIRECT_NTH:wrapper \ --symbol __REDIRECT_NTH:wrapper \
--symbol __wur:wrapper \ --symbol __wur:wrapper \
-I$(top_srcdir)/libdm \
-I$(top_srcdir)/libdm/ioctl \
-I$(top_srcdir)/daemons/dmeventd/plugins/lvm2/ \ -I$(top_srcdir)/daemons/dmeventd/plugins/lvm2/ \
$(INCLUDES) $(DEFS) $(INCLUDES) $(DEFS)