common/makefiles/Main.gmk
changeset 15903 bc0e6cd9d760
parent 15587 c9c8462e0bc3
child 15910 e57109801d9c
child 21156 7a0479f63dcd
equal deleted inserted replaced
15902:c50813cf3f68 15903:bc0e6cd9d760
   121 jdk-only: start-make
   121 jdk-only: start-make
   122 	@$(call TargetEnter)
   122 	@$(call TargetEnter)
   123 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
   123 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
   124 	@$(call TargetExit)
   124 	@$(call TargetExit)
   125 
   125 
       
   126 nashorn: jdk nashorn-only
       
   127 nashorn-only: start-make
       
   128 	@$(call TargetEnter)
       
   129 	@($(CD) $(NASHORN_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildNashorn.gmk)
       
   130 	@$(call TargetExit)
       
   131 
   126 demos: jdk demos-only
   132 demos: jdk demos-only
   127 demos-only: start-make
   133 demos-only: start-make
   128 	@$(call TargetEnter)
   134 	@$(call TargetEnter)
   129 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
   135 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
   130 	@$(call TargetExit)
   136 	@$(call TargetExit)
   131 
   137 
   132 # Note: This double-colon rule is intentional, to support
   138 # Note: This double-colon rule is intentional, to support
   133 # custom make file integration.
   139 # custom make file integration.
   134 images:: source-tips demos images-only
   140 images:: source-tips demos nashorn images-only
   135 images-only: start-make
   141 images-only: start-make
   136 	@$(call TargetEnter)
   142 	@$(call TargetEnter)
   137 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
   143 	@($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
   138 	@$(call TargetExit)
   144 	@$(call TargetExit)
   139 
   145 
   191 	@$(RM) $@
   197 	@$(RM) $@
   192 	@$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@)
   198 	@$(if $(HG),$(call GetSourceTips),$(ECHO) "hg not installed" > $@)
   193 
   199 
   194 
   200 
   195 # Remove everything, except the output from configure.
   201 # Remove everything, except the output from configure.
   196 clean: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build clean-docs
   202 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
   197 	@($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
   203 	@($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
   198 	@$(ECHO) Cleaned all build artifacts.
   204 	@$(ECHO) Cleaned all build artifacts.
   199 
   205 
   200 # Remove everything, including configure configuration.
   206 # Remove everything, including configure configuration.
   201 # If the output directory was created by configure and now becomes empty, remove it as well.
   207 # If the output directory was created by configure and now becomes empty, remove it as well.
   221 	$(call CleanComponent,jaxws)
   227 	$(call CleanComponent,jaxws)
   222 clean-hotspot:
   228 clean-hotspot:
   223 	$(call CleanComponent,hotspot)
   229 	$(call CleanComponent,hotspot)
   224 clean-jdk:
   230 clean-jdk:
   225 	$(call CleanComponent,jdk)
   231 	$(call CleanComponent,jdk)
       
   232 clean-nashorn:
       
   233 	$(call CleanComponent,nashorn)
   226 clean-images:
   234 clean-images:
   227 	$(call CleanComponent,images)
   235 	$(call CleanComponent,images)
   228 clean-overlay-images:
   236 clean-overlay-images:
   229 	$(call CleanComponent,overlay-images)
   237 	$(call CleanComponent,overlay-images)
   230 clean-bootcycle-build:
   238 clean-bootcycle-build:
   231 	$(call CleanComponent,bootcycle-build)
   239 	$(call CleanComponent,bootcycle-build)
   232 clean-docs:
   240 clean-docs:
   233 	$(call CleanComponent,docs)
   241 	$(call CleanComponent,docs)
   234 	$(call CleanComponent,docstemp)
   242 	$(call CleanComponent,docstemp)
   235 
   243 
   236 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install
   244 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install
   237 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only
   245 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only
   238 .PHONY: all test clean dist-clean bootcycle-images start-make
   246 .PHONY: all test clean dist-clean bootcycle-images start-make
   239 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build
   247 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-overlay-images clean-bootcycle-build
   240 .PHONY: profiles profiles-only profiles-oscheck
   248 .PHONY: profiles profiles-only profiles-oscheck
   241 
   249 
   242 FRC: # Force target
   250 FRC: # Force target