summaryrefslogtreecommitdiff
path: root/template/GNUmakefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'template/GNUmakefile.in')
-rw-r--r--template/GNUmakefile.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/template/GNUmakefile.in b/template/GNUmakefile.in
index 4fe4aab979..22ff1078dc 100644
--- a/template/GNUmakefile.in
+++ b/template/GNUmakefile.in
@@ -1,10 +1,14 @@
gnumake = yes
+ifneq ($(filter notintermediate,$(.FEATURES)),)
+DOT_WAIT = .WAIT
+endif
+
ifeq ($(filter Makefile,$(MAKEFILE_LIST)),)
include Makefile
+endif
GNUmakefile: $(srcdir)/template/GNUmakefile.in
-endif
override silence := $(if $(findstring s,$(firstword $(MFLAGS))),yes,no)
@@ -12,8 +16,16 @@ ifeq ($(HAVE_BASERUBY),yes)
override REVISION_FORCE := PHONY
endif
-include $(srcdir)/defs/universal.mk
+override order_only := |
+
+# Needs the dependency when any Unicode tables data files exist.
+override UNICODE_TABLES_DEPENDENTS = \
+ $(if $(or \
+ $(filter yes,$(ALWAYS_UPDATE_UNICODE)), \
+ $(wildcard \
+ $(if $(filter .,$(UNICODE_FILES) $(UNICODE_PROPERTY_FILES)),,\
+ $(UNICODE_TABLES_DATA_FILES)))),\
+ force,none)
+
-include uncommon.mk
include $(srcdir)/defs/gmake.mk
-
-GNUmakefile: $(srcdir)/template/GNUmakefile.in