make/Help.gmk
changeset 45384 457aa401b59a
parent 45266 29347d0c7122
child 47740 fbf7a51ce32f
equal deleted inserted replaced
45383:256e2cdc130a 45384:457aa401b59a
     1 #
     1 #
     2 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    45 	$(info $(_)                        # (gensrc, java, copy, libs, launchers, gendata, rmic))
    45 	$(info $(_)                        # (gensrc, java, copy, libs, launchers, gendata, rmic))
    46 	$(info $(_) make *-only            # Applies to most targets and disables compling the)
    46 	$(info $(_) make *-only            # Applies to most targets and disables compling the)
    47 	$(info $(_)                        # dependencies for the target. This is faster but may)
    47 	$(info $(_)                        # dependencies for the target. This is faster but may)
    48 	$(info $(_)                        # result in incorrect build results!)
    48 	$(info $(_)                        # result in incorrect build results!)
    49 	$(info $(_) make docs              # Create all docs)
    49 	$(info $(_) make docs              # Create all docs)
    50 	$(info $(_) make docs-javadoc      # Create just javadocs, depends on less than full docs)
    50 	$(info $(_) make docs-jdk-api      # Create just JDK javadocs)
    51 	$(info $(_) make profiles          # Create complete jre compact profile images)
    51 	$(info $(_) make profiles          # Create complete jre compact profile images)
    52 	$(info $(_) make bootcycle-images  # Build images twice, second time with newly built JDK)
    52 	$(info $(_) make bootcycle-images  # Build images twice, second time with newly built JDK)
    53 	$(info $(_) make install           # Install the generated images locally)
    53 	$(info $(_) make install           # Install the generated images locally)
    54 	$(info $(_) make reconfigure       # Rerun configure with the same arguments as last time)
    54 	$(info $(_) make reconfigure       # Rerun configure with the same arguments as last time)
    55 	$(info $(_) make help              # Give some help on using make)
    55 	$(info $(_) make help              # Give some help on using make)
    56 	$(info $(_) make test              # Run tests, default is all tests (see TEST below))
    56 	$(info $(_) make test              # Run tests, default is all tests (see TEST below))
       
    57 	$(info $(_) make run-test-<test>   # Run test, e.g. run-test-tier1)
       
    58 	$(info $(_) make run-test TEST=<t> # Run test(s) given by TEST specification)
       
    59 	$(info $(_) make exploded-run-test TEST=<t> # Run test(s) on the exploded image instead of)
       
    60 	$(info $(_)                        # the full jdk image)
    57 	$(info )
    61 	$(info )
    58 	$(info Targets for cleaning)
    62 	$(info Targets for cleaning)
    59 	$(info $(_) make clean             # Remove all files generated by make, but not those)
    63 	$(info $(_) make clean             # Remove all files generated by make, but not those)
    60 	$(info $(_)                        # generated by configure)
    64 	$(info $(_)                        # generated by configure)
    61 	$(info $(_) make dist-clean        # Remove all files, including configuration)
    65 	$(info $(_) make dist-clean        # Remove all files, including configuration)
    93 	$(info $(_) TEST_JOBS=<n>          # Run <n> parallel test jobs)
    97 	$(info $(_) TEST_JOBS=<n>          # Run <n> parallel test jobs)
    94 	$(info $(_) CONF_CHECK=<method>    # What to do if spec file is out of date)
    98 	$(info $(_) CONF_CHECK=<method>    # What to do if spec file is out of date)
    95 	$(info $(_)                        # method is 'auto', 'ignore' or 'fail' (default))
    99 	$(info $(_)                        # method is 'auto', 'ignore' or 'fail' (default))
    96 	$(info $(_) make test TEST=<test>  # Only run the given test or tests, e.g.)
   100 	$(info $(_) make test TEST=<test>  # Only run the given test or tests, e.g.)
    97 	$(info $(_)                        # make test TEST="jdk_lang jdk_net")
   101 	$(info $(_)                        # make test TEST="jdk_lang jdk_net")
       
   102 	$(info $(_) JTREG="OPT1=x;OPT2=y"  # Control the JTREG test harness for run-test)
       
   103 	$(info $(_) GTEST="OPT1=x;OPT2=y"  # Control the GTEST test harness for run-test)
    98 	$(info )
   104 	$(info )
    99 	$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
   105 	$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
   100 	    $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
   106 	    $(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
   101         # We need a dummy rule otherwise make will complain
   107         # We need a dummy rule otherwise make will complain
   102 	@true
   108 	@true