jdk-24/make
Andy Herrick d23d2cf6a9 Merge
2010-10-02 11:08:37 -04:00
..
templates 6982137: Rebranding pass 2 - missed copyright changes 2010-09-09 17:08:42 -07:00
corba-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
Defs-internal.gmk 6960853: Cleanup makefiles, remove unused vars etc 2010-06-21 11:00:15 -07:00
deploy-rules.gmk 6982520: Move kernel to install ws 2010-09-28 10:29:08 -07:00
hotspot-rules.gmk 6976186: Integrate Shark 2010-08-24 13:27:45 +01:00
install-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
jaxp-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
jaxws-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
jdk-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
jprt.gmk 6960853: Cleanup makefiles, remove unused vars etc 2010-06-21 11:00:15 -07:00
jprt.properties 6982946: Change make/jprt.properties to defer to JPRT itself for jdk platform list 2010-09-07 15:13:58 -07:00
langtools-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00
README.pre-components 6854244: change source/target used to compile JDK to 7 2009-07-27 15:19:11 -07:00
sanity-rules.gmk 6972274: Fix the use of egrep -ci in the top level makefile sanity checks 2010-07-26 14:14:42 -07:00
sponsors-rules.gmk 6943119: Rebrand source copyright notices 2010-05-25 15:51:26 -07:00

README-pre-components:
---------------------
Current pre-components are langtools, jaxws, jaxp, and corba.

Pre-components can use ant to build but must have a make/Makefile for
building (a GNU make Makefile).
All ant knowledge is being isolated in the workspaces that use it.

Also for various reasons it is nice to have a Makefile wrapper over the
running of ant, but in general having to do
anything with shell commands is much easier to do in a Makefile
than in an ant script.

The make/makefile rules are:

 Variables:
  ALT_BOOTDIR           The jdk home to use to build, if provided
  ALT_LANGTOOLS_DIST    The dist area from a langtools build to use, if provided
  ALT_OUTPUTDIR         Parent dir of build and dist directories, if provided
  VARIANT               If DBG, debug build, if OPT, optimized build
  TARGET_CLASS_VERSION  The classfile version number (currently 7)
  ANT_HOME              Home of ant to use, if provided
  QUIET                 If defined, be quiet
  VERBOSE               If defined, be verbose
  JDK_VERSION           Version being built
  FULL_VERSION          Full version string for this jdk build
  MILESTONE             fcs, beta, internal or empty
  BUILD_NUMBER          Number of the jdk build
  JPRT_ARCHIVE_BUNDLE   Path to zip bundle to create for JPRT

 Targets:
  all                   Build everything, including dist
  build                 Build build area
  clean                 Clean up
  clobber               Same as clean (don't ask)
  sanity                Perform any sanity checks, exit non-zero if errors
  jprt_build_product    JPRT product build, zip results into JPRT_ARCHIVE_BUNDLE
  jprt_build_debug      JPRT debug build, zip results into JPRT_ARCHIVE_BUNDLE
  jprt_build_fastdebug  JPRT fastdebug build, zip results into JPRT_ARCHIVE_BUNDLE

Then of course we expect a dist/lib/classes.jar, dist/lib/src.zip and dist/lib/bin.zip.