1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix Makefile to take into account dmsetup's reconfiguration.

This commit is contained in:
Peter Rajnoha 2009-09-11 15:52:22 +00:00
parent e2ac2ad9bc
commit 3649fa9e41
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.37 - Version 1.02.37 -
================================= =================================
Fix Makefile to take into account dmsetup's reconfiguration.
Restore umask when device node creation fails. Restore umask when device node creation fails.
Fix mirror table CTR code to handle 'block_on_error' and 'cluster' features Fix mirror table CTR code to handle 'block_on_error' and 'cluster' features

View File

@ -239,14 +239,14 @@ $(LIB_STATIC): $(OBJECTS)
clean: $(SUBDIRS.clean) clean: $(SUBDIRS.clean)
$(RM) $(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \ $(RM) $(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \
$(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \ $(SOURCES2:%.c=%.d) $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
$(SOURCES:%.c=%.gcda) $(LDDEPS) $(SOURCES:%.c=%.gcda) $(LDDEPS)
distclean: $(SUBDIRS.distclean) distclean: $(SUBDIRS.distclean)
$(RM) -rf $(DISTCLEAN_DIRS) $(RM) -rf $(DISTCLEAN_DIRS)
$(RM) $(DISTCLEAN_TARGETS) \ $(RM) $(DISTCLEAN_TARGETS) \
$(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \ $(OBJECTS) $(TARGETS) $(CLEAN_TARGETS) $(SOURCES:%.c=%.d) \
$(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \ $(SOURCES2:%.c=%.d) $(SOURCES:%.c=%.pot) $(SOURCES:%.c=%.gcno) \
$(SOURCES:%.c=%.gcda) $(LDDEPS) \ $(SOURCES:%.c=%.gcda) $(LDDEPS) \
config.cache config.log config.status \ config.cache config.log config.status \
Makefile make.tmpl core \ Makefile make.tmpl core \
@ -262,6 +262,9 @@ ifneq ($(MAKECMDGOALS),clean)
ifdef SOURCES ifdef SOURCES
-include $(SOURCES:.c=.d) -include $(SOURCES:.c=.d)
endif endif
ifdef SOURCES2
-include $(SOURCES2:.c=.d)
endif
endif endif
endif endif

View File

@ -62,6 +62,9 @@ SOURCES =\
vgscan.c \ vgscan.c \
vgsplit.c vgsplit.c
SOURCES2 =\
dmsetup.c
TARGETS =\ TARGETS =\
.commands \ .commands \
lvm lvm