make/Main.gmk

changeset 2211
2209644bcac4
parent 1291
730f885548b4
child 2316
64a3eeabf6e5
child 2420
0bbd2bf737bf
equal deleted inserted replaced
2210:a05ed58d5ae0 2211:2209644bcac4
69 @$(call CheckIfMakeAtEnd) 69 @$(call CheckIfMakeAtEnd)
70 70
71 # Setup a rule for SPEC file that fails if executed. This check makes sure the configuration 71 # Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
72 # is up to date after changes to configure 72 # is up to date after changes to configure
73 $(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*) 73 $(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
74 @$(ECHO) ERROR: $(SPEC) is not up to date 74 @$(ECHO) "ERROR: $(SPEC) is not up to date."
75 @$(ECHO) Please rerun configure! 75 @$(ECHO) "Please rerun configure! Easiest way to do this is by running"
76 @$(ECHO) "'make reconfigure'."
76 @if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi 77 @if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
77 78
78 start-make: $(SPEC) 79 start-make: $(SPEC)
79 @$(call AtMakeStart) 80 @$(call AtMakeStart)
80 81
228 clean-docs: 229 clean-docs:
229 $(call CleanComponent,docs) 230 $(call CleanComponent,docs)
230 $(call CleanComponent,docstemp) 231 $(call CleanComponent,docstemp)
231 clean-test: 232 clean-test:
232 $(call CleanComponent,testoutput) 233 $(call CleanComponent,testoutput)
234
235 reconfigure:
236 ifneq ($(CONFIGURE_COMMAND_LINE), )
237 @$(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
238 else
239 @$(ECHO) "Re-running configure using default settings"
240 endif
241 @( cd $(OUTPUT_ROOT) && $(BASH) $(TOPDIR)/configure "$(CONFIGURE_COMMAND_LINE)" )
233 242
234 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs 243 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs
235 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only 244 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only
236 .PHONY: default all clean dist-clean bootcycle-images start-make 245 .PHONY: default all clean dist-clean bootcycle-images start-make
237 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build 246 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build

mercurial