86 $(info $(_) # method is 'auto', 'ignore' or 'fail' (default)) |
86 $(info $(_) # method is 'auto', 'ignore' or 'fail' (default)) |
87 $(info $(_) make test TEST=<test> # Only run the given test or tests, e.g.) |
87 $(info $(_) make test TEST=<test> # Only run the given test or tests, e.g.) |
88 $(info $(_) # make test TEST="jdk_lang jdk_net") |
88 $(info $(_) # make test TEST="jdk_lang jdk_net") |
89 $(info ) |
89 $(info ) |
90 $(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\ |
90 $(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\ |
91 $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration)) |
91 $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.)) |
92 # We need a dummy rule otherwise make will complain |
92 # We need a dummy rule otherwise make will complain |
93 @true |
93 @true |
94 |
|
95 print-targets: |
|
96 $(if $(any_spec_file), ,\ |
|
97 @echo "Note: More targets will be available when at least one configuration exists." 1>&2\ |
|
98 ) |
|
99 @echo $(ALL_TARGETS) |
|
100 |
|
101 print-modules: |
|
102 $(if $(any_spec_file), \ |
|
103 @$(MAKE) -s -f $(topdir)/make/Main.gmk -I $(topdir)/make/common SPEC=$(any_spec_file) print-modules \ |
|
104 , \ |
|
105 @echo print-modules can currently only be run when at least one configuration exists \ |
|
106 ) |
|
107 |
94 |
108 print-configurations: |
95 print-configurations: |
109 $(foreach var, $(all_confs), $(info $(var))) |
96 $(foreach var, $(all_confs), $(info $(var))) |
110 # We need a dummy rule otherwise make will complain |
97 # We need a dummy rule otherwise make will complain |
111 @true |
98 @true |
112 |
99 |
113 ALL_GLOBAL_TARGETS := help print-modules print-targets print-configurations |
100 ALL_GLOBAL_TARGETS := help print-configurations |
114 |
101 |
115 .PHONY: $(ALL_GLOBAL_TARGETS) |
102 .PHONY: $(ALL_GLOBAL_TARGETS) |