< prev index next >

make/CompileJavaModules.gmk

Print this page




 474 # Order src dirs in order of override with the most important first. Generated
 475 # source before static source and platform specific source before shared.
 476 #
 477 # To use this variable, use $(call ALL_SRC_DIRS,module) with no space.
 478 GENERATED_SRC_DIRS += \
 479     $(SUPPORT_OUTPUTDIR)/gensrc/$1 \
 480     $(SUPPORT_OUTPUTDIR)/gensrc_no_docs/$1 \
 481     #
 482 
 483 OS_SRC_DIRS += $(JDK_TOPDIR)/src/$1/$(OPENJDK_TARGET_OS)/classes
 484 ifneq ($(OPENJDK_TARGET_OS), $(OPENJDK_TARGET_OS_TYPE))
 485   OS_TYPE_SRC_DIRS += $(JDK_TOPDIR)/src/$1/$(OPENJDK_TARGET_OS_TYPE)/classes
 486 endif
 487 
 488 SHARE_SRC_DIRS += \
 489     $(JDK_TOPDIR)/src/$1/share/classes \
 490     $(LANGTOOLS_TOPDIR)/src/$1/share/classes \
 491     $(CORBA_TOPDIR)/src/$1/share/classes \
 492     $(JAXP_TOPDIR)/src/$1/share/classes \
 493     $(JAXWS_TOPDIR)/src/$1/share/classes \

 494     #
 495 
 496 ALL_SRC_DIRS = \
 497     $(GENERATED_SRC_DIRS) \
 498     $(OS_SRC_DIRS) \
 499     $(OS_TYPE_SRC_DIRS) \
 500     $(SHARE_SRC_DIRS) \
 501     #
 502 
 503 # Find all modules with java sources. Filter out nashorn since it needs to be
 504 # compiled separately.
 505 ALL_JAVA_MODULES := $(filter-out jdk.scripting.nashorn, $(call FindJavaModules))
 506 JAVA_MODULES := $(ALL_JAVA_MODULES)
 507 
 508 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
 509 # JDK_FILTER at the make command line, only a subset of the JDK java files will
 510 # be recompiled. If multiple paths are separated by comma, convert that into a
 511 # space separated list.
 512 JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
 513 




 474 # Order src dirs in order of override with the most important first. Generated
 475 # source before static source and platform specific source before shared.
 476 #
 477 # To use this variable, use $(call ALL_SRC_DIRS,module) with no space.
 478 GENERATED_SRC_DIRS += \
 479     $(SUPPORT_OUTPUTDIR)/gensrc/$1 \
 480     $(SUPPORT_OUTPUTDIR)/gensrc_no_docs/$1 \
 481     #
 482 
 483 OS_SRC_DIRS += $(JDK_TOPDIR)/src/$1/$(OPENJDK_TARGET_OS)/classes
 484 ifneq ($(OPENJDK_TARGET_OS), $(OPENJDK_TARGET_OS_TYPE))
 485   OS_TYPE_SRC_DIRS += $(JDK_TOPDIR)/src/$1/$(OPENJDK_TARGET_OS_TYPE)/classes
 486 endif
 487 
 488 SHARE_SRC_DIRS += \
 489     $(JDK_TOPDIR)/src/$1/share/classes \
 490     $(LANGTOOLS_TOPDIR)/src/$1/share/classes \
 491     $(CORBA_TOPDIR)/src/$1/share/classes \
 492     $(JAXP_TOPDIR)/src/$1/share/classes \
 493     $(JAXWS_TOPDIR)/src/$1/share/classes \
 494     $(NASHORN_TOPDIR)/src/$1/share/classes \
 495     #
 496 
 497 ALL_SRC_DIRS = \
 498     $(GENERATED_SRC_DIRS) \
 499     $(OS_SRC_DIRS) \
 500     $(OS_TYPE_SRC_DIRS) \
 501     $(SHARE_SRC_DIRS) \
 502     #
 503 
 504 # Find all modules with java sources. Filter out nashorn since it needs to be
 505 # compiled separately.
 506 ALL_JAVA_MODULES := $(filter-out jdk.scripting.nashorn, $(call FindJavaModules))
 507 JAVA_MODULES := $(ALL_JAVA_MODULES)
 508 
 509 # The JDK_USER_DEFINED_FILTER is a poor man's incremental build: by specifying
 510 # JDK_FILTER at the make command line, only a subset of the JDK java files will
 511 # be recompiled. If multiple paths are separated by comma, convert that into a
 512 # space separated list.
 513 JDK_USER_DEFINED_FILTER := $(strip $(subst $(COMMA),$(SPACE), $(JDK_FILTER)))
 514 


< prev index next >