make/CompileInterim.gmk

Print this page




  29 include $(SPEC)
  30 include MakeBase.gmk
  31 include JavaCompilation.gmk
  32 include SetupJavaCompilers.gmk
  33 
  34 ################################################################################
  35 # Setup the rules to build the interim langtools jar, which is compiled by
  36 # the boot javac and can be run on the boot jdk. This will be used to compile
  37 # the rest of the product. Include the Genstubs build tool in this compilation
  38 # as it will be used together with the interim javac.
  39 $(eval $(call SetupJavaCompilation,BUILD_INTERIM_LANGTOOLS, \
  40     SETUP := BOOT_JAVAC, \
  41     DISABLE_SJAVAC := true, \
  42     SRC := $(LANGTOOLS_TOPDIR)/src/java.compiler/share/classes \
  43       $(LANGTOOLS_TOPDIR)/src/jdk.compiler/share/classes \
  44       $(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/classes \
  45       $(LANGTOOLS_TOPDIR)/src/jdk.jdeps/share/classes \
  46       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.compiler \
  47       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.javadoc \
  48       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdeps, \
  49     EXCLUDES := sun jdk, \
  50     COPY := .gif .png .xml .css .js javax.tools.JavaCompilerTool, \
  51     BIN := $(BUILDTOOLS_OUTPUTDIR)/langtools_interim_classes, \
  52     JAR := $(INTERIM_LANGTOOLS_JAR)))
  53 
  54 all: $(BUILD_INTERIM_LANGTOOLS)


  29 include $(SPEC)
  30 include MakeBase.gmk
  31 include JavaCompilation.gmk
  32 include SetupJavaCompilers.gmk
  33 
  34 ################################################################################
  35 # Setup the rules to build the interim langtools jar, which is compiled by
  36 # the boot javac and can be run on the boot jdk. This will be used to compile
  37 # the rest of the product. Include the Genstubs build tool in this compilation
  38 # as it will be used together with the interim javac.
  39 $(eval $(call SetupJavaCompilation,BUILD_INTERIM_LANGTOOLS, \
  40     SETUP := BOOT_JAVAC, \
  41     DISABLE_SJAVAC := true, \
  42     SRC := $(LANGTOOLS_TOPDIR)/src/java.compiler/share/classes \
  43       $(LANGTOOLS_TOPDIR)/src/jdk.compiler/share/classes \
  44       $(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/classes \
  45       $(LANGTOOLS_TOPDIR)/src/jdk.jdeps/share/classes \
  46       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.compiler \
  47       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.javadoc \
  48       $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdeps, \
  49     EXCLUDES := sun, \
  50     COPY := .gif .png .xml .css .js javax.tools.JavaCompilerTool, \
  51     BIN := $(BUILDTOOLS_OUTPUTDIR)/langtools_interim_classes, \
  52     JAR := $(INTERIM_LANGTOOLS_JAR)))
  53 
  54 all: $(BUILD_INTERIM_LANGTOOLS)