-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
31 lines (24 loc) · 924 Bytes
/
Makefile.in
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
# This makefile sets up the building environment and calls mkhelper.mk.
SHELL= @SHELL@
BUILD_ENV= @BUILD_ENV_MAKE@
DELEGATEE_FILE= mkhelper.mk
.SUFFIXES:
.NOTPARALLEL:
.PHONY: all distclean force-delegate
# Default target:
all:
@$(BUILD_ENV) $(MAKE) -f $(DELEGATEE_FILE) $@
# A rule for targets that are unknown to this makefile. The dependency on a
# phony target 'force-delegate' enforces running make with $(DELEGATEE_FILE)
# even if the requested target already exists. The fact that the rule is
# terminal (i.e. declared with double colon) allows for building targets that
# are normally not matched by "match-anything" pattern rules (e.g. generated
# source files):
%:: force-delegate
@$(BUILD_ENV) $(MAKE) -f $(DELEGATEE_FILE) $@
# Disable attempts to build this makefile with the previous
# "match-anything" pattern rule:
Makefile:;
distclean:
@$(BUILD_ENV) $(MAKE) -f $(DELEGATEE_FILE) $@
rm -f Makefile