make/common/Modules.gmk
changeset 27602 236555ddac42
parent 27560 adc258b13e2c
parent 27586 e7cfdc266a70
child 30095 0034766ccb09
equal deleted inserted replaced
27581:9fffb959eb41 27602:236555ddac42
    44 # Find all modules with java sources by looking in the source dirs
    44 # Find all modules with java sources by looking in the source dirs
    45 define FindJavaModules
    45 define FindJavaModules
    46   $(filter-out $(JAVA_MODULES_FILTER), $(sort $(notdir \
    46   $(filter-out $(JAVA_MODULES_FILTER), $(sort $(notdir \
    47       $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
    47       $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir $(patsubst %/,%, $(dir \
    48       $(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
    48       $(wildcard $(patsubst %,%/*/share/classes/*, $(ALL_TOP_SRC_DIRS)) \
    49           $(patsubst %,%/*/$(OPENJDK_TARGET_OS_API_DIR)/classes/*, $(ALL_TOP_SRC_DIRS)) \
    49           $(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS)) \
    50           $(patsubst %,%/*/$(OPENJDK_TARGET_OS)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))))
    50           $(patsubst %,%/*/$(OPENJDK_TARGET_OS_TYPE)/classes/*, $(ALL_TOP_SRC_DIRS))))))))))))
    51 endef
    51 endef
    52 
    52 
    53 # Find all modules with source for the target platform.
    53 # Find all modules with source for the target platform.
    54 define FindAllModules
    54 define FindAllModules
    55   $(sort $(filter-out closed demo sample, $(notdir $(patsubst %/,%, $(dir \
    55   $(sort $(filter-out closed demo sample, $(notdir $(patsubst %/,%, $(dir \
    56       $(wildcard $(patsubst %, %/*/share, $(ALL_TOP_SRC_DIRS)) \
    56       $(wildcard $(patsubst %, %/*/share, $(ALL_TOP_SRC_DIRS)) \
    57       $(patsubst %, %/*/$(OPENJDK_TARGET_OS), $(ALL_TOP_SRC_DIRS)) \
    57       $(patsubst %, %/*/$(OPENJDK_TARGET_OS), $(ALL_TOP_SRC_DIRS)) \
    58       $(patsubst %, %/*/$(OPENJDK_TARGET_OS_API_DIR), $(ALL_TOP_SRC_DIRS))))))))
    58       $(patsubst %, %/*/$(OPENJDK_TARGET_OS_TYPE), $(ALL_TOP_SRC_DIRS))))))))
    59 endef
    59 endef
    60 
    60 
    61 ################################################################################
    61 ################################################################################
    62 
    62 
    63 $(eval $(call SetupJavaCompilation,BUILD_GENMODULESLIST, \
    63 $(eval $(call SetupJavaCompilation,BUILD_GENMODULESLIST, \