Give warning for 'make depend' with --enable-md.
This commit is contained in:
Родитель
ab5e7dc253
Коммит
73bba50332
|
@ -948,12 +948,17 @@ else
|
|||
MKDEPEND_BUILTIN =
|
||||
endif
|
||||
|
||||
ifdef COMPILER_DEPEND
|
||||
depend::
|
||||
@echo Warning: No need to run \"$(MAKE) depend\" with \"--enable-md\". 2>&1
|
||||
else
|
||||
ifdef OBJS
|
||||
depend:: $(MKDEPEND_BUILTIN) $(MKDEPENDENCIES)
|
||||
else
|
||||
depend::
|
||||
endif
|
||||
+$(LOOP_OVER_DIRS)
|
||||
endif
|
||||
|
||||
dependclean::
|
||||
rm -f $(MKDEPENDENCIES)
|
||||
|
@ -973,13 +978,13 @@ MDDEPEND_FILES := $(foreach obj, $(OBJS), \
|
|||
MDDEPEND_FILES := $(wildcard $(MDDEPEND_FILES))
|
||||
ifdef MDDEPEND_FILES
|
||||
# Get the list of objects to force.
|
||||
MDDEPEND_FORCE := $(shell $(PERL) $(topsrcdir)/config/mddepend.pl $(MDDEPEND_FILES) > $(OBJDIR)/.deps/.all.pp)
|
||||
foo := `$(PERL) $(topsrcdir)/config/mddepend.pl $(MDDEPEND_FILES) \
|
||||
>$(OBJDIR)/.deps/.all.pp`
|
||||
-include $(OBJDIR)/.deps/.all.pp
|
||||
# (MDDEPEND_FORCE gets added to the PHONY target).
|
||||
endif
|
||||
#endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
#############################################################################
|
||||
|
||||
-include $(MY_RULES)
|
||||
|
|
Загрузка…
Ссылка в новой задаче