common/makefiles/Main.gmk

Print this page
rev 765 : 8023491: Remove target names from test/Makefile and defer to sub-repo makefiles.
Reviewed-by: duke


 166 docs: jdk docs-only
 167 docs-only: start-make
 168         @$(call TargetEnter)
 169         @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 170         @$(call TargetExit)
 171 
 172 sign-jars: jdk sign-jars-only
 173 sign-jars-only: start-make
 174         @$(call TargetEnter)
 175         @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
 176         @$(call TargetExit)
 177 
 178 bootcycle-images: images bootcycle-images-only
 179 bootcycle-images-only: start-make
 180         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 181         @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) SPEC=$(dir $(SPEC))bootcycle-spec.gmk images)
 182 
 183 test: images test-only
 184 test-only: start-make
 185         @$(call TargetEnter)
 186         @($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) -j1 -k MAKEFLAGS= JT_HOME=$(JT_HOME) PRODUCT_HOME=$(JDK_IMAGE_DIR) JPRT_JAVA_HOME=$(JDK_IMAGE_DIR) ALT_OUTPUTDIR=$(OUTPUT_ROOT) CONCURRENCY=$(JOBS) $(TEST)) || true
 187         @$(call TargetExit)
 188 
 189 # Stores the tips for each repository. This file is be used when constructing the jdk image and can be
 190 # used to track the exact sources used to build that image.
 191 source-tips: $(OUTPUT_ROOT)/source_tips
 192 $(OUTPUT_ROOT)/source_tips: FRC
 193         @$(MKDIR) -p $(@D)
 194         @$(RM) $@
 195         @$(call GetSourceTips)
 196 
 197 
 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 clean-test
 200         @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
 201         @$(ECHO) Cleaned all build artifacts.
 202 
 203 # Remove everything, including configure configuration.
 204 # If the output directory was created by configure and now becomes empty, remove it as well.
 205 # FIXME: tmp should not be here, fix ResetTimers instead. And remove spec.sh!
 206 dist-clean: clean




 166 docs: jdk docs-only
 167 docs-only: start-make
 168         @$(call TargetEnter)
 169         @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 170         @$(call TargetExit)
 171 
 172 sign-jars: jdk sign-jars-only
 173 sign-jars-only: start-make
 174         @$(call TargetEnter)
 175         @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
 176         @$(call TargetExit)
 177 
 178 bootcycle-images: images bootcycle-images-only
 179 bootcycle-images-only: start-make
 180         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 181         @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) SPEC=$(dir $(SPEC))bootcycle-spec.gmk images)
 182 
 183 test: images test-only
 184 test-only: start-make
 185         @$(call TargetEnter)
 186         @($(CD) $(SRC_ROOT)/test && $(BUILD_LOG_WRAPPER) $(MAKE) -j1 -k MAKEFLAGS= JT_HOME=$(JT_HOME) PRODUCT_HOME=$(JDK_IMAGE_DIR) ALT_OUTPUTDIR=$(OUTPUT_ROOT) CONCURRENCY=$(JOBS) $(TEST)) || true
 187         @$(call TargetExit)
 188 
 189 # Stores the tips for each repository. This file is be used when constructing the jdk image and can be
 190 # used to track the exact sources used to build that image.
 191 source-tips: $(OUTPUT_ROOT)/source_tips
 192 $(OUTPUT_ROOT)/source_tips: FRC
 193         @$(MKDIR) -p $(@D)
 194         @$(RM) $@
 195         @$(call GetSourceTips)
 196 
 197 
 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 clean-test
 200         @($(CD) $(OUTPUT_ROOT) && $(RM) -r tmp source_tips build.log* build-trace*.log*)
 201         @$(ECHO) Cleaned all build artifacts.
 202 
 203 # Remove everything, including configure configuration.
 204 # If the output directory was created by configure and now becomes empty, remove it as well.
 205 # FIXME: tmp should not be here, fix ResetTimers instead. And remove spec.sh!
 206 dist-clean: clean