ICU-310 check foran empty $(MAKECMDGOALS) and also include dependencies
in this case, so that a make in a subdir does include deps. X-SVN-Rev: 1122
This commit is contained in:
parent
a8ea7e8c8b
commit
e45f4fd7cb
@ -135,9 +135,11 @@ unicode/platform.h: $(srcdir)/unicode/platform.h.in $(top_builddir)/config.statu
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(SHLIB.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
||||
|
@ -99,5 +99,3 @@ distclean-local: clean-local
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
|
||||
|
@ -116,9 +116,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(SHLIB.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -117,9 +117,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(SHLIB.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -98,6 +98,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
||||
|
@ -96,9 +96,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -96,9 +96,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -110,6 +110,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
||||
|
@ -96,9 +96,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -108,9 +108,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -97,9 +97,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(SHLIB.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -101,9 +101,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -101,8 +101,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
@ -112,8 +112,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
@ -141,7 +141,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
@ -113,8 +113,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
||||
|
@ -113,8 +113,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
@ -164,14 +164,13 @@ $(TARGET) : $(OBJECTS)
|
||||
|
||||
# the 'mv' will always fail if you are building in the source dir
|
||||
|
||||
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
all-local:
|
||||
install-local:
|
||||
|
||||
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
||||
|
@ -114,8 +114,12 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
@ -113,8 +113,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
endif
|
@ -121,9 +121,10 @@ $(TARGET) : $(OBJECTS)
|
||||
@echo -n "$< -> "
|
||||
@./makeconv -d @DATABUILDDIR@ $<
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -97,9 +97,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
@ -99,15 +99,10 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(SHLIB.cc) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user