summaryrefslogtreecommitdiff
path: root/template/GNUmakefile.in
blob: 22ff1078dcbbb61f2dff071cb18833cf168ac15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
gnumake = yes

ifneq ($(filter notintermediate,$(.FEATURES)),)
DOT_WAIT = .WAIT
endif

ifeq ($(filter Makefile,$(MAKEFILE_LIST)),)
include Makefile
endif

GNUmakefile: $(srcdir)/template/GNUmakefile.in

override silence := $(if $(findstring s,$(firstword $(MFLAGS))),yes,no)

ifeq ($(HAVE_BASERUBY),yes)
override REVISION_FORCE := PHONY
endif

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