< prev index next >

make/Main.gmk

Print this page
rev 2786 : 8154313: Generated javadoc scattered all over the place
Summary: Added new top level target zip-docs which scans all generated javadocs and prepare zip-archive in way understandable to most IDEs
Reviewed-by: sgehwolf, andrew


 144         @$(call TargetExit)
 145 
 146 profiles: source-tips jdk hotspot profiles-only
 147 profiles-only: start-make
 148         @$(call TargetEnter)
 149         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
 150         @$(call TargetExit)
 151 
 152 install: images install-only
 153 install-only: start-make
 154         @$(call TargetEnter)
 155         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
 156         @$(call TargetExit)
 157 
 158 docs: jdk docs-only
 159 docs-only: start-make
 160         @$(call TargetEnter)
 161         @($(CD) $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 162         @$(call TargetExit)
 163 






 164 sign-jars: jdk sign-jars-only
 165 sign-jars-only: start-make
 166         @$(call TargetEnter)
 167         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
 168         @$(call TargetExit)
 169 
 170 bootcycle-images: images bootcycle-images-only
 171 bootcycle-images-only: start-make
 172         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 173         @($(CD) $(SRC_ROOT) && $(BUILD_LOG_WRAPPER) $(MAKE) SPEC=$(dir $(SPEC))bootcycle-spec.gmk images)
 174 
 175 # If the tests produced a $(TEST)_exitcode.txt file, use the number in that
 176 # file for the exit code of the "make test" invocation.
 177 test: images test-only
 178 test-only: start-make
 179         @$(call TargetEnter)
 180         @($(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
 181         @$(call TargetExit)
 182         @(if [ -r $(OUTPUT_ROOT)/testoutput/$(TEST)_exitcode.txt ]; then \
 183                 EXIT=$$($(CAT) $(OUTPUT_ROOT)/testoutput/$(TEST)_exitcode.txt); \


 218         $(call CleanComponent,corba)
 219 clean-jaxp:
 220         $(call CleanComponent,jaxp)
 221 clean-jaxws:
 222         $(call CleanComponent,jaxws)
 223 clean-hotspot:
 224         $(call CleanComponent,hotspot)
 225 clean-jdk:
 226         $(call CleanComponent,jdk)
 227 clean-nashorn:
 228         $(call CleanComponent,nashorn)
 229 clean-images:
 230         $(call CleanComponent,images)
 231 clean-overlay-images:
 232         $(call CleanComponent,overlay-images)
 233 clean-bootcycle-build:
 234         $(call CleanComponent,bootcycle-build)
 235 clean-docs:
 236         $(call CleanComponent,docs)
 237         $(call CleanComponent,docstemp)


 238 clean-test:
 239         $(call CleanComponent,testoutput)
 240         
 241 reconfigure:
 242         ifneq ($(CONFIGURE_COMMAND_LINE), )
 243           @$(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
 244         else
 245           @$(ECHO) "Re-running configure using default settings"
 246         endif
 247         @( cd $(OUTPUT_ROOT) && $(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
 248 
 249 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs
 250 .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
 251 .PHONY: default all clean dist-clean bootcycle-images start-make
 252 .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
 253 .PHONY: profiles profiles-only
 254 
 255 include $(root_dir)/make/Jprt.gmk
 256 
 257 FRC: # Force target


 144         @$(call TargetExit)
 145 
 146 profiles: source-tips jdk hotspot profiles-only
 147 profiles-only: start-make
 148         @$(call TargetEnter)
 149         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
 150         @$(call TargetExit)
 151 
 152 install: images install-only
 153 install-only: start-make
 154         @$(call TargetEnter)
 155         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
 156         @$(call TargetExit)
 157 
 158 docs: jdk docs-only
 159 docs-only: start-make
 160         @$(call TargetEnter)
 161         @($(CD) $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 162         @$(call TargetExit)
 163 
 164 docs-zip: docs docs-zip-only
 165 docs-zip-only: start-make
 166         @$(call TargetEnter)
 167         @($(CD) $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs-zip)
 168         @$(call TargetExit)
 169 
 170 sign-jars: jdk sign-jars-only
 171 sign-jars-only: start-make
 172         @$(call TargetEnter)
 173         @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
 174         @$(call TargetExit)
 175 
 176 bootcycle-images: images bootcycle-images-only
 177 bootcycle-images-only: start-make
 178         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 179         @($(CD) $(SRC_ROOT) && $(BUILD_LOG_WRAPPER) $(MAKE) SPEC=$(dir $(SPEC))bootcycle-spec.gmk images)
 180 
 181 # If the tests produced a $(TEST)_exitcode.txt file, use the number in that
 182 # file for the exit code of the "make test" invocation.
 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         @(if [ -r $(OUTPUT_ROOT)/testoutput/$(TEST)_exitcode.txt ]; then \
 189                 EXIT=$$($(CAT) $(OUTPUT_ROOT)/testoutput/$(TEST)_exitcode.txt); \


 224         $(call CleanComponent,corba)
 225 clean-jaxp:
 226         $(call CleanComponent,jaxp)
 227 clean-jaxws:
 228         $(call CleanComponent,jaxws)
 229 clean-hotspot:
 230         $(call CleanComponent,hotspot)
 231 clean-jdk:
 232         $(call CleanComponent,jdk)
 233 clean-nashorn:
 234         $(call CleanComponent,nashorn)
 235 clean-images:
 236         $(call CleanComponent,images)
 237 clean-overlay-images:
 238         $(call CleanComponent,overlay-images)
 239 clean-bootcycle-build:
 240         $(call CleanComponent,bootcycle-build)
 241 clean-docs:
 242         $(call CleanComponent,docs)
 243         $(call CleanComponent,docstemp)
 244 clean-docs-zip:
 245         $(call CleanComponent,bundles/jdk-*-docs.zip)
 246 clean-test:
 247         $(call CleanComponent,testoutput)
 248         
 249 reconfigure:
 250         ifneq ($(CONFIGURE_COMMAND_LINE), )
 251           @$(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"
 252         else
 253           @$(ECHO) "Re-running configure using default settings"
 254         endif
 255         @( cd $(OUTPUT_ROOT) && $(BASH) $(TOPDIR)/configure $(CONFIGURE_COMMAND_LINE) )
 256 
 257 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs docs-zip
 258 .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 docs-zip-only
 259 .PHONY: default all clean dist-clean bootcycle-images start-make
 260 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-docs-zip clean-test clean-overlay-images clean-bootcycle-build
 261 .PHONY: profiles profiles-only
 262 
 263 include $(root_dir)/make/Jprt.gmk
 264 
 265 FRC: # Force target
< prev index next >