< prev index next >

common/autoconf/spec.gmk.in

Print this page




 557 JAR=@FIXPATH@ $(JAR_CMD)
 558 JLINK = @FIXPATH@ $(JLINK_CMD) $(JAVA_TOOL_FLAGS_SMALL)
 559 JMOD = @FIXPATH@ $(JMOD_CMD) $(JAVA_TOOL_FLAGS_SMALL)
 560 JARSIGNER=@FIXPATH@ $(JARSIGNER_CMD)
 561 # A specific java binary with specific options can be used to run
 562 # the long running background sjavac servers and other long running tasks.
 563 SJAVAC_SERVER_JAVA=@FIXPATH@ @FIXPATH_DETACH_FLAG@ $(SJAVAC_SERVER_JAVA_CMD) \
 564     $(SJAVAC_SERVER_JAVA_FLAGS)
 565 
 566 # Hotspot sets this variable before reading the SPEC when compiling sa-jdi.jar. Avoid
 567 # overriding that value by using ?=.
 568 JAVAC_FLAGS?=@JAVAC_FLAGS@
 569 
 570 
 571 BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
 572 BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
 573 
 574 # Use ?= as this can be overridden from bootcycle-spec.gmk
 575 BOOT_JDK_MODULAR ?= @BOOT_JDK_MODULAR@
 576 
 577 INTERIM_OVERRIDE_MODULES := java.compiler jdk.compiler \
 578     jdk.jdeps jdk.javadoc jdk.rmic

 579 ifeq ($(BOOT_JDK_MODULAR), true)
 580   INTERIM_OVERRIDE_MODULES_ARGS = $(foreach m, $(INTERIM_OVERRIDE_MODULES), \

 581       --patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
 582   INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS)




 583   JAVAC_MAIN_CLASS = -m jdk.compiler/com.sun.tools.javac.Main
 584   JAVADOC_MAIN_CLASS = -m jdk.javadoc/jdk.javadoc.internal.tool.Main
 585 else
 586   INTERIM_OVERRIDE_MODULES_ARGS = \




 587       -Xbootclasspath/p:$(call PathList, \
 588           $(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
 589               $(INTERIM_OVERRIDE_MODULES)))
 590   INTERIM_LANGTOOLS_ARGS = $(INTERIM_OVERRIDE_MODULES_ARGS) \

 591       -cp $(BUILDTOOLS_OUTPUTDIR)/override_modules/jdk.compiler
 592   JAVAC_MAIN_CLASS = com.sun.tools.javac.Main
 593   JAVADOC_MAIN_CLASS = jdk.javadoc.internal.tool.Main
 594 endif
 595 # You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
 596 # Use = assignment to be able to override in bootcycle-spec.gmk
 597 NEW_JAVAC   = $(INTERIM_LANGTOOLS_ARGS) $(JAVAC_MAIN_CLASS)
 598 NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) $(JAVADOC_MAIN_CLASS)
 599 
 600 JLINK_KEEP_PACKAGED_MODULES:=@JLINK_KEEP_PACKAGED_MODULES@
 601 
 602 # Base flags for RC
 603 # Guarding this against resetting value. Legacy make files include spec multiple
 604 # times.
 605 ifndef RC_FLAGS
 606   RC_FLAGS:=@RC_FLAGS@
 607 endif
 608 
 609 # Tools adhering to a minimal and common standard of posix compliance.
 610 AWK:=@AWK@




 557 JAR=@FIXPATH@ $(JAR_CMD)
 558 JLINK = @FIXPATH@ $(JLINK_CMD) $(JAVA_TOOL_FLAGS_SMALL)
 559 JMOD = @FIXPATH@ $(JMOD_CMD) $(JAVA_TOOL_FLAGS_SMALL)
 560 JARSIGNER=@FIXPATH@ $(JARSIGNER_CMD)
 561 # A specific java binary with specific options can be used to run
 562 # the long running background sjavac servers and other long running tasks.
 563 SJAVAC_SERVER_JAVA=@FIXPATH@ @FIXPATH_DETACH_FLAG@ $(SJAVAC_SERVER_JAVA_CMD) \
 564     $(SJAVAC_SERVER_JAVA_FLAGS)
 565 
 566 # Hotspot sets this variable before reading the SPEC when compiling sa-jdi.jar. Avoid
 567 # overriding that value by using ?=.
 568 JAVAC_FLAGS?=@JAVAC_FLAGS@
 569 
 570 
 571 BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
 572 BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
 573 
 574 # Use ?= as this can be overridden from bootcycle-spec.gmk
 575 BOOT_JDK_MODULAR ?= @BOOT_JDK_MODULAR@
 576 
 577 INTERIM_LANGTOOLS_OVERRIDE_MODULES := java.compiler jdk.compiler \
 578     jdk.jdeps jdk.javadoc
 579 INTERIM_RMIC_OVERRIDE_MODULES := jdk.rmic
 580 ifeq ($(BOOT_JDK_MODULAR), true)
 581   INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = $(foreach m, \
 582       $(INTERIM_LANGTOOLS_OVERRIDE_MODULES), \
 583       --patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
 584   INTERIM_RMIC_OVERRIDE_MODULES_ARGS = $(foreach m, \
 585       $(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
 586       $(INTERIM_RMIC_OVERRIDE_MODULES), \
 587       --patch-module $m=$(BUILDTOOLS_OUTPUTDIR)/override_modules/$m)
 588   INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS)
 589   JAVAC_MAIN_CLASS = -m jdk.compiler/com.sun.tools.javac.Main
 590   JAVADOC_MAIN_CLASS = -m jdk.javadoc/jdk.javadoc.internal.tool.Main
 591 else
 592   INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS = \
 593       -Xbootclasspath/p:$(call PathList, \
 594           $(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
 595               $(INTERIM_LANGTOOLS_OVERRIDE_MODULES)))
 596   INTERIM_RMIC_OVERRIDE_MODULES_ARGS = \
 597       -Xbootclasspath/p:$(call PathList, \
 598           $(addprefix $(BUILDTOOLS_OUTPUTDIR)/override_modules/, \
 599               $(INTERIM_LANGTOOLS_OVERRIDE_MODULES) \
 600               $(INTERIM_RMIC_OVERRIDE_MODULES)))
 601   INTERIM_LANGTOOLS_ARGS = $(INTERIM_LANGTOOLS_OVERRIDE_MODULES_ARGS) \
 602       -cp $(BUILDTOOLS_OUTPUTDIR)/override_modules/jdk.compiler
 603   JAVAC_MAIN_CLASS = com.sun.tools.javac.Main
 604   JAVADOC_MAIN_CLASS = jdk.javadoc.internal.tool.Main
 605 endif
 606 # You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
 607 # Use = assignment to be able to override in bootcycle-spec.gmk
 608 NEW_JAVAC   = $(INTERIM_LANGTOOLS_ARGS) $(JAVAC_MAIN_CLASS)
 609 NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) $(JAVADOC_MAIN_CLASS)
 610 
 611 JLINK_KEEP_PACKAGED_MODULES:=@JLINK_KEEP_PACKAGED_MODULES@
 612 
 613 # Base flags for RC
 614 # Guarding this against resetting value. Legacy make files include spec multiple
 615 # times.
 616 ifndef RC_FLAGS
 617   RC_FLAGS:=@RC_FLAGS@
 618 endif
 619 
 620 # Tools adhering to a minimal and common standard of posix compliance.
 621 AWK:=@AWK@


< prev index next >