34 ifeq ($(wildcard $(SPEC)),)
35 $(error Main.gmk needs SPEC set to a proper spec.gmk)
36 endif
37
38 # Now load the spec
39 include $(SPEC)
40
41 include $(TOPDIR)/make/MainSupport.gmk
42
43 # Load the vital tools for all the makefiles.
44 include $(TOPDIR)/make/common/MakeBase.gmk
45 include $(TOPDIR)/make/common/Modules.gmk
46 include $(TOPDIR)/make/common/FindTests.gmk
47
48 # Declare ALL_TARGETS as an immediate variable. This variable is a list of all
49 # valid top level targets. It's used to declare them all as PHONY and to
50 # generate the -only targets.
51 ALL_TARGETS :=
52
53 # Hook to include the corresponding custom file, if present.
54 $(eval $(call IncludeCustomExtension, , Main.gmk))
55
56 # All modules for the current target platform.
57 ALL_MODULES := $(call FindAllModules)
58
59 ################################################################################
60 ################################################################################
61 #
62 # Recipes for all targets. Only recipes, dependencies are declared later.
63 #
64 ################################################################################
65
66 ################################################################################
67 # Interim/build tools targets, compiling tools used during the build
68
69 # When creating a BUILDJDK, the buildtools and interim targets have already
70 # been built and should not be built again.
71 ifneq ($(CREATING_BUILDJDK), true)
72 buildtools-langtools:
73 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ToolsLangtools.gmk)
74
|
34 ifeq ($(wildcard $(SPEC)),)
35 $(error Main.gmk needs SPEC set to a proper spec.gmk)
36 endif
37
38 # Now load the spec
39 include $(SPEC)
40
41 include $(TOPDIR)/make/MainSupport.gmk
42
43 # Load the vital tools for all the makefiles.
44 include $(TOPDIR)/make/common/MakeBase.gmk
45 include $(TOPDIR)/make/common/Modules.gmk
46 include $(TOPDIR)/make/common/FindTests.gmk
47
48 # Declare ALL_TARGETS as an immediate variable. This variable is a list of all
49 # valid top level targets. It's used to declare them all as PHONY and to
50 # generate the -only targets.
51 ALL_TARGETS :=
52
53 # Hook to include the corresponding custom file, if present.
54 $(eval $(call IncludeCustomExtension, Main.gmk))
55
56 # All modules for the current target platform.
57 ALL_MODULES := $(call FindAllModules)
58
59 ################################################################################
60 ################################################################################
61 #
62 # Recipes for all targets. Only recipes, dependencies are declared later.
63 #
64 ################################################################################
65
66 ################################################################################
67 # Interim/build tools targets, compiling tools used during the build
68
69 # When creating a BUILDJDK, the buildtools and interim targets have already
70 # been built and should not be built again.
71 ifneq ($(CREATING_BUILDJDK), true)
72 buildtools-langtools:
73 +($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f ToolsLangtools.gmk)
74
|