langtools/makefiles/Makefile
changeset 12920 1e7292e282af
parent 12340 feb749a05aaf
child 13720 0bea3fad987d
equal deleted inserted replaced
12796:5c5a64ec0839 12920:1e7292e282af
    21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22 # or visit www.oracle.com if you need additional information or have any
    22 # or visit www.oracle.com if you need additional information or have any
    23 # questions.
    23 # questions.
    24 #
    24 #
    25 
    25 
       
    26 # This must be the first rule
       
    27 default: all
       
    28 
    26 include $(SPEC)
    29 include $(SPEC)
    27 include MakeBase.gmk
    30 include MakeBase.gmk
    28 include JavaCompilation.gmk
    31 include JavaCompilation.gmk
    29 
       
    30 default: all
       
    31 
    32 
    32 # The BOOT_JAVAC setup uses the bootdir compiler to compile the tools
    33 # The BOOT_JAVAC setup uses the bootdir compiler to compile the tools
    33 # and the bootstrap javac, to be run by the bootdir jvm.
    34 # and the bootstrap javac, to be run by the bootdir jvm.
    34 $(eval $(call SetupJavaCompiler,BOOT_JAVAC,\
    35 $(eval $(call SetupJavaCompiler,BOOT_JAVAC,\
    35 	JAVAC:=$(JAVAC),\
    36 	JAVAC:=$(JAVAC),\
   182 
   183 
   183                 $(eval $(call SetupArchive,ARCHIVE_FULL_JAVAC,$(BUILD_FULL_JAVAC),\
   184                 $(eval $(call SetupArchive,ARCHIVE_FULL_JAVAC,$(BUILD_FULL_JAVAC),\
   184 			SETUP:=GENERATE_NEWBYTECODE,\
   185 			SETUP:=GENERATE_NEWBYTECODE,\
   185 			SRCS:=$(LANGTOOLS_OUTPUTDIR)/classes,\
   186 			SRCS:=$(LANGTOOLS_OUTPUTDIR)/classes,\
   186 			SUFFIXES:=.class $(RESOURCE_SUFFIXES),\
   187 			SUFFIXES:=.class $(RESOURCE_SUFFIXES),\
   187 			JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/lib/classes.jar,\
   188 			JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/lib/classes.jar))
   188 			HEADERS:=$(LANGTOOLS_OUTPUTDIR)/gensrc_headers))
       
   189 
   189 
   190                 $(eval $(call SetupZipArchive,ZIP_FULL_JAVAC_SOURCE,\
   190                 $(eval $(call SetupZipArchive,ZIP_FULL_JAVAC_SOURCE,\
   191 			SRC:=$(LANGTOOLS_TOPDIR)/src/share/classes $(LANGTOOLS_OUTPUTDIR)/gensrc,\
   191 			SRC:=$(LANGTOOLS_TOPDIR)/src/share/classes $(LANGTOOLS_OUTPUTDIR)/gensrc,\
   192 			ZIP:=$(LANGTOOLS_OUTPUTDIR)/dist/lib/src.zip))
   192 			ZIP:=$(LANGTOOLS_OUTPUTDIR)/dist/lib/src.zip))
   193 
   193