mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Replace CFLOW_CMD only in make.tmpl and use it as variable elsewhere.
This commit is contained in:
parent
814aebc4e9
commit
87d73a9b85
@ -1,5 +1,6 @@
|
||||
Version 2.02.62 -
|
||||
====================================
|
||||
Replace CFLOW_CMD only in make.tmpl and use it as variable elsewhere.
|
||||
Use $(top_builddir) for inclusion of make.tmpl in Makefiles.
|
||||
Fix autoconf warning about ignored datarootdir.
|
||||
Increase AC_PREREQ version to 2.61 (for AC_PROC_SED, AC_PROG_MKDIR_P).
|
||||
|
@ -27,6 +27,7 @@ LCOV = @LCOV@
|
||||
GENHTML = @GENHTML@
|
||||
LN_S = @LN_S@
|
||||
SED = @SED@
|
||||
CFLOW_CMD = @CFLOW_CMD@
|
||||
|
||||
LIBS = @LIBS@
|
||||
DEFS += @DEFS@
|
||||
|
@ -147,20 +147,20 @@ liblvm2cmd.$(LIB_SUFFIX): liblvm2cmd.a $(LDDEPS)
|
||||
.PHONY: install_cmdlib_dynamic install_cmdlib_static \
|
||||
install_tools_dynamic install_tools_static
|
||||
|
||||
ifneq ("@CFLOW_CMD@", "")
|
||||
ifneq ("$(CFLOW_CMD)", "")
|
||||
CFLOW_FLAGS += --cpp="$(CC) -E"
|
||||
.PHONY: lvm.cflow
|
||||
-include $(top_srcdir)/lib/liblvm-internal.cflow
|
||||
lvm.cflow: $(SOURCES)
|
||||
@CFLOW_CMD@ -o$@ $(CFLOW_FLAGS) $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
$(CFLOW_CMD) -o$@ $(CFLOW_FLAGS) $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
lvm.rxref: $(SOURCES)
|
||||
@CFLOW_CMD@ -o$@ --cpp="$(CC) -E" -r --omit-arguments -x $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
$(CFLOW_CMD) -o$@ --cpp="$(CC) -E" -r --omit-arguments -x $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
lvm.xref: $(SOURCES)
|
||||
@CFLOW_CMD@ -o$@ --cpp="$(CC) -E" --omit-arguments -x $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
$(CFLOW_CMD) -o$@ --cpp="$(CC) -E" --omit-arguments -x $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
lvm.rtree: $(SOURCES)
|
||||
@CFLOW_CMD@ -o$@ --cpp="$(CC) -E" -r --omit-arguments -T -b $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
$(CFLOW_CMD) -o$@ --cpp="$(CC) -E" -r --omit-arguments -T -b $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
lvm.tree: $(SOURCES)
|
||||
@CFLOW_CMD@ -o$@ --cpp="$(CC) -E" --omit-arguments -T -b $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
$(CFLOW_CMD) -o$@ --cpp="$(CC) -E" --omit-arguments -T -b $(INCLUDES) $(DEFS) $(SOURCES)
|
||||
cflow: lvm.cflow lvm.xref lvm.tree lvm.rtree lvm.rxref
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user