194 @$(RM) $@ |
194 @$(RM) $@ |
195 @$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@) |
195 @$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@) |
196 |
196 |
197 |
197 |
198 # Remove everything, except the output from configure. |
198 # Remove everything, except the output from configure. |
199 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs |
199 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build clean-docs clean-test |
200 @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*) |
200 @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*) |
201 @$(ECHO) Cleaned all build artifacts. |
201 @$(ECHO) Cleaned all build artifacts. |
202 |
202 |
203 # Remove everything, including configure configuration. |
203 # Remove everything, including configure configuration. |
204 # If the output directory was created by configure and now becomes empty, remove it as well. |
204 # If the output directory was created by configure and now becomes empty, remove it as well. |
235 clean-bootcycle-build: |
235 clean-bootcycle-build: |
236 $(call CleanComponent,bootcycle-build) |
236 $(call CleanComponent,bootcycle-build) |
237 clean-docs: |
237 clean-docs: |
238 $(call CleanComponent,docs) |
238 $(call CleanComponent,docs) |
239 $(call CleanComponent,docstemp) |
239 $(call CleanComponent,docstemp) |
|
240 clean-test: |
|
241 $(call CleanComponent,testoutput) |
240 |
242 |
241 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install |
243 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install |
242 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only |
244 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only |
243 .PHONY: all test clean dist-clean bootcycle-images start-make |
245 .PHONY: all test clean dist-clean bootcycle-images start-make |
244 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images 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-overlay-images clean-bootcycle-build |