1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/make/README.pre-components Sat Dec 01 00:00:00 2007 +0000 1.3 @@ -0,0 +1,42 @@ 1.4 +README-pre-components: 1.5 +--------------------- 1.6 +Current pre-components are langtools, jaxws, jaxp, and corba. 1.7 + 1.8 +Pre-components can use ant to build but must have a make/Makefile for 1.9 +building (a GNU make Makefile). 1.10 +All ant knowledge is being isolated in the workspaces that use it. 1.11 + 1.12 +Also for various reasons it is nice to have a Makefile wrapper over the 1.13 +running of ant, but in general having to do 1.14 +anything with shell commands is much easier to do in a Makefile 1.15 +than in an ant script. 1.16 + 1.17 +The make/makefile rules are: 1.18 + 1.19 + Variables: 1.20 + ALT_BOOTDIR The jdk home to use to build, if provided 1.21 + ALT_LANGTOOLS_DIST The dist area from a langtools build to use, if provided 1.22 + ALT_OUTPUTDIR Parent dir of build and dist directories, if provided 1.23 + VARIANT If DBG, debug build, if OPT, optimized build 1.24 + TARGET_CLASS_VERSION The classfile version number (currently 5) 1.25 + ANT_HOME Home of ant to use, if provided 1.26 + FINDBUGS_HOME Home of findbugs to use, if provided 1.27 + QUIET If defined, be quiet 1.28 + VERBOSE If defined, be verbose 1.29 + JDK_VERSION Version being built 1.30 + FULL_VERSION Full version string for this jdk build 1.31 + MILESTONE fcs, beta, internal or empty 1.32 + BUILD_NUMBER Number of the jdk build 1.33 + JPRT_ARCHIVE_BUNDLE Path to zip bundle to create for JPRT 1.34 + 1.35 + Targets: 1.36 + all Build everything, including dist 1.37 + build Build build area 1.38 + clean Clean up 1.39 + clobber Same as clean (don't ask) 1.40 + sanity Perform any sanity checks, exit non-zero if errors 1.41 + jprt_build_product JPRT product build, zip results into JPRT_ARCHIVE_BUNDLE 1.42 + jprt_build_debug JPRT debug build, zip results into JPRT_ARCHIVE_BUNDLE 1.43 + jprt_build_fastdebug JPRT fastdebug build, zip results into JPRT_ARCHIVE_BUNDLE 1.44 + 1.45 +Then of course we expect a dist/lib/classes.jar, dist/lib/src.zip and dist/lib/bin.zip.