makefiles/Makefile

changeset 1273
ac29cc95b5c5
parent 1244
807ca8ffbeb4
child 1318
463fea75b618
equal deleted inserted replaced
1264:02c5a3575539 1273:ac29cc95b5c5
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

mercurial