-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcommon.inc.mk
45 lines (38 loc) · 1.1 KB
/
common.inc.mk
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ifdef INSTALL_CORE_INC_MK
else
ifndef CORE_INC_MK_DIR
CORE_INC_MK_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
endif
# defined here for consistency, later defined properly in exe.gnu.inc.mk
DATE := date
ECHO := echo
GREP := grep
PYTHON := python
include $(CORE_INC_MK_DIR)/chars.inc.mk
include $(CORE_INC_MK_DIR)/core.inc.mk
include $(CORE_INC_MK_DIR)/exe.inc.mk
include $(CORE_INC_MK_DIR)/os.inc.mk
include $(CORE_INC_MK_DIR)/git.inc.mk
include $(CORE_INC_MK_DIR)/target.env.inc.mk
include $(CORE_INC_MK_DIR)/target.help.inc.mk
include $(CORE_INC_MK_DIR)/target.noop.inc.mk
include $(CORE_INC_MK_DIR)/target.printvar.inc.mk
include $(CORE_INC_MK_DIR)/target.verbose.inc.mk
include $(CORE_INC_MK_DIR)/target.lazy.inc.mk
ifneq (,$(.VARIABLES_LAZY))
MAKEFILE_LAZY ?= true
ifeq (true,$(MAKEFILE_LAZY))
MAKECMDGOALS ?=
ifeq ($(MAKECMDGOALS),$(filter-out %Makefile.lazy,$(MAKECMDGOALS)))
ifeq (,$(wildcard Makefile.lazy))
$(info [DO ] Generating Makefile.lazy...)
$(info $(shell $(MAKE) Makefile.lazy))
$(info [DONE])
$(info )
endif
include Makefile.lazy
endif
endif
endif
INSTALL_CORE_INC_MK := 1
endif