Makefile
changeset 27560 adc258b13e2c
parent 26548 3b002da2aee1
child 27602 236555ddac42
equal deleted inserted replaced
27559:23d1529db8c7 27560:adc258b13e2c
   141 	$(info )
   141 	$(info )
   142 	$(info Common make targets)
   142 	$(info Common make targets)
   143 	$(info .  make [default]         # Compile all modules in langtools, hotspot, jaxp, jaxws,)
   143 	$(info .  make [default]         # Compile all modules in langtools, hotspot, jaxp, jaxws,)
   144 	$(info .                         # corba and jdk and create a runnable "exploded" image)
   144 	$(info .                         # corba and jdk and create a runnable "exploded" image)
   145 	$(info .  make all               # Compile everything, all repos, docs and images)
   145 	$(info .  make all               # Compile everything, all repos, docs and images)
   146 	$(info .  make images            # Create complete j2sdk and j2re images)
   146 	$(info .  make images            # Create complete jdk and jre images)
       
   147 	$(info .  make <phase>           # Compile the specified phase and everything it depends on)
       
   148 	$(info .                         # (gensrc, java, copy, libs, launchers, gendata, rmic))
       
   149 	$(info .  make *-only            # Applies to most targets and disables compling the)
       
   150 	$(info .                         # dependencies for the target. This is faster but may)
       
   151 	$(info .                         # result in incorrect build results!)
   147 	$(info .  make docs              # Create all docs)
   152 	$(info .  make docs              # Create all docs)
   148 	$(info .  make docs-javadoc      # Create just javadocs, depends on less than full docs)
   153 	$(info .  make docs-javadoc      # Create just javadocs, depends on less than full docs)
   149 	$(info .  make profiles          # Create complete j2re compact profile images)
   154 	$(info .  make profiles          # Create complete jre compact profile images)
   150 	$(info .  make bootcycle-images  # Build images twice, second time with newly built JDK)
   155 	$(info .  make bootcycle-images  # Build images twice, second time with newly built JDK)
   151 	$(info .  make install           # Install the generated images locally)
   156 	$(info .  make install           # Install the generated images locally)
   152 	$(info .  make reconfigure       # Rerun configure with the same arguments as last time)
   157 	$(info .  make reconfigure       # Rerun configure with the same arguments as last time)
       
   158 	$(info .  make help              # Give some help on using make)
       
   159 	$(info .  make test              # Run tests, default is all tests (see TEST below))
       
   160 	$(info )
       
   161 	$(info Targets for cleaning)
   153 	$(info .  make clean             # Remove all files generated by make, but not those)
   162 	$(info .  make clean             # Remove all files generated by make, but not those)
   154 	$(info .                         # generated by configure)
   163 	$(info .                         # generated by configure)
   155 	$(info .  make dist-clean        # Remove all files, including configuration)
   164 	$(info .  make dist-clean        # Remove all files, including configuration)
   156 	$(info .  make help              # Give some help on using make)
   165 	$(info .  make clean-<outputdir> # Remove the subdir in the output dir with the name)
   157 	$(info .  make test              # Run tests, default is all tests (see TEST below))
   166 	$(info .  make clean-<phase>     # Remove all build results related to a certain build)
       
   167 	$(info .                         # phase (gensrc, java, libs, launchers))
       
   168 	$(info .  make clean-<module>    # Remove all build results related to a certain module)
       
   169 	$(info .  make clean-<module>-<phase> # Remove all build results related to a certain)
       
   170 	$(info .                         # module and phase)
   158 	$(info )
   171 	$(info )
   159 	$(info Targets for specific modules)
   172 	$(info Targets for specific modules)
   160 	$(info .  make <module>          # Build <module> and everything it depends on. )
   173 	$(info .  make <module>          # Build <module> and everything it depends on. )
   161 	$(info .  make <module>-only     # Build <module> only, without dependencies. This)
   174 	$(info .  make <module>-<phase>  # Compile the specified phase for the specified module)
   162 	$(info .                         # is faster but can result in incorrect build results!)
   175 	$(info .                         # and everything it depends on)
   163 	$(info .  make <module>-java     # Compile java classes for <module> and everything it)
   176 	$(info .                         # (gensrc, java, copy, libs, launchers, gendata, rmic))
   164 	$(info .                         # depends on)
       
   165 	$(info .  make <module>-libs     # Build native libraries for <module> and everything it)
       
   166 	$(info .                         # depends on)
       
   167 	$(info .  make <module>-launchers# Build native executables for <module> and everything it)
       
   168 	$(info .                         # depends on)
       
   169 	$(info .  make <module>-gensrc   # Execute the gensrc step for <module> and everything it)
       
   170 	$(info .                         # depends on)
       
   171 	$(info )
   177 	$(info )
   172 	$(info Useful make variables)
   178 	$(info Useful make variables)
   173 	$(info .  make CONF=             # Build all configurations (note, assignment is empty))
   179 	$(info .  make CONF=             # Build all configurations (note, assignment is empty))
   174 	$(info .  make CONF=<substring>  # Build the configuration(s) with a name matching)
   180 	$(info .  make CONF=<substring>  # Build the configuration(s) with a name matching)
   175 	$(info .                         # <substring>)
   181 	$(info .                         # <substring>)