1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Introduce LVMINTERNAL_LIBS

Keep dependency libraries for liblvm-internal in one place.
This commit is contained in:
Zdenek Kabelac 2010-03-04 11:12:39 +00:00
parent c927452439
commit f0f0b802d1
5 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.62 -
====================================
Define and use internal makefile variable LVMINTERNAL_LIBS.
Help for configure prints --disable-fsadm.
Use consistently $() instead of ${} for all Makefile variables.
Replace CFLOW_CMD only in make.tmpl and use it as variable elsewhere.

View File

@ -75,7 +75,7 @@ endif
TARGETS = \
clvmd
LVMLIBS = -llvm-internal -lpthread
LVMLIBS = $(LVMINTERNAL_LIBS) -lpthread
ifeq ("@DMEVENTD@", "yes")
LVMLIBS += -ldevmapper-event

View File

@ -42,7 +42,7 @@ CLEAN_TARGETS += liblvm.cflow
include $(top_builddir)/make.tmpl
LIBS += -ldevmapper -llvm-internal
LIBS += $(LVMINTERNAL_LIBS) -ldevmapper
ifeq ("@DMEVENTD@", "yes")
LIBS += -ldevmapper-event

View File

@ -36,6 +36,7 @@ CLDFLAGS += @CLDFLAGS@
LDDEPS += @LDDEPS@
LDFLAGS += @LDFLAGS@
LIB_SUFFIX = @LIB_SUFFIX@
LVMINTERNAL_LIBS = -llvm-internal
# Setup directory variables
prefix = @prefix@

View File

@ -86,7 +86,7 @@ ifeq ("@STATIC_LINK@", "yes")
INSTALL_CMDLIB_TARGETS += install_cmdlib_static
endif
LVMLIBS = -llvm-internal
LVMLIBS = $(LVMINTERNAL_LIBS)
LIB_VERSION = $(LIB_VERSION_LVM)
CLEAN_TARGETS = liblvm2cmd.$(LIB_SUFFIX) liblvm2cmd.a liblvm2cmd-static.a lvm lvm.o \