stable-2.02 - make: remove file from master
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=66ea26131ba1f6206eafe49c9c581a02fab00395 Commit: 66ea26131ba1f6206eafe49c9c581a02fab00395 Parent: bb5f81624bc03d17a7e4ec57417b6bbcc5dc8ab8 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Oct 25 16:02:33 2020 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sun Oct 25 17:36:04 2020 +0100
make: remove file from master
To ensure lcov creation is not trying to pick wrong files when using same machine for building stable-2.02 and master branch, ensure the new files are being deleted even in stable-2.02 branch for 'make clean & make distclean' targets
--- base/Makefile | 6 ++++++ lib/Makefile.in | 12 ++++++++++++ libdm/Makefile.in | 5 +++++ 3 files changed, 23 insertions(+)
base/Makefile +6 -0
@@ -33,6 +33,12 @@ $(BASE_TARGET): $(BASE_OBJECTS) $(Q) $(RM) $@ $(Q) $(AR) rsv $@ $(BASE_OBJECTS) > /dev/null +ifneq (,$(findstring $(MAKECMDGOALS),clean distclean)) + BASE_SOURCE += \ + base/data-struct/hash.c \ + base/data-struct/list.c +endif + ifeq ("$(DEPENDS)","yes") -include $(BASE_DEPENDS) endif
lib/Makefile.in +12 -0
@@ -152,6 +152,18 @@ CFLOW_LIST_TARGET = $(LIB_NAME).cflow PROGS_CFLAGS = $(BLKID_CFLAGS) $(UDEV_CFLAGS) +ifneq (,$(findstring $(MAKECMDGOALS),clean distclean)) + SOURCES += \ + integrity/integrity.c \ + label/hints.c \ + metadata/integrity_manip.c \ + metadata/pv_list.c \ + metadata/vdo_manip.c \ + metadata/writecache_manip.c \ + vdo/vdo.c \ + writecache/writecache.c +endif + include $(top_builddir)/make.tmpl $(SUBDIRS): $(LIB_STATIC)
libdm/Makefile.in +5 -0
@@ -36,6 +36,11 @@ SOURCES =\ regex/ttree.c \ $(interface)/libdm-iface.c +ifneq (,$(findstring $(MAKECMDGOALS),clean distclean)) + SOURCES += \ + dm-tools/dmsetup.c +endif + INCLUDES = -I$(srcdir)/$(interface) ifeq ("@STATIC_LINK@", "yes")