627 $(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
628 ) \
629 ), \
630 .properties \
631 )
632
633 ifeq ($(MODULE), java.sql.rowset)
634 TARGETS += $(call CreateHkTargets, $(java.sql.rowset_CLEAN_FILES))
635 endif
636
637 ifeq ($(MODULE), java.rmi)
638 TARGETS += $(call CreateHkTargets, $(java.rmi_CLEAN_FILES))
639 endif
640
641 ################################################################################
642 # If this is an imported module, copy the pre built classes and resources into
643 # the modules output dir
644
645 ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
646 $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
647 $(call CacheFind, $(IMPORT_MODULES_CLASSES)/$(MODULE))
648 $(call MakeDir, $(@D))
649 # Do not delete marker and build meta data files
650 $(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
651 $(CP) -R $(IMPORT_MODULES_CLASSES)/$(MODULE)/* $(@D)/
652 $(TOUCH) $@
653
654 TARGETS += $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker
655
656 # Add this dependency to avoid a race between compiling module-info.java and
657 # importing the classes.
658 $($(MODULE)_COMPILE_TARGET): $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker
659 endif
660
661 ################################################################################
662
663 ifeq ($(MODULE), jdk.scripting.nashorn)
664 include CompileJavaModulesNashorn.gmk
665 endif
666
667 ################################################################################
|
627 $(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
628 ) \
629 ), \
630 .properties \
631 )
632
633 ifeq ($(MODULE), java.sql.rowset)
634 TARGETS += $(call CreateHkTargets, $(java.sql.rowset_CLEAN_FILES))
635 endif
636
637 ifeq ($(MODULE), java.rmi)
638 TARGETS += $(call CreateHkTargets, $(java.rmi_CLEAN_FILES))
639 endif
640
641 ################################################################################
642 # If this is an imported module, copy the pre built classes and resources into
643 # the modules output dir
644
645 ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
646 $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
647 $(call FindFiles, $(IMPORT_MODULES_CLASSES)/$(MODULE))
648 $(call MakeDir, $(@D))
649 # Do not delete marker and build meta data files
650 $(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
651 $(CP) -R $(IMPORT_MODULES_CLASSES)/$(MODULE)/* $(@D)/
652 $(TOUCH) $@
653
654 TARGETS += $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker
655
656 # Add this dependency to avoid a race between compiling module-info.java and
657 # importing the classes.
658 $($(MODULE)_COMPILE_TARGET): $(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker
659 endif
660
661 ################################################################################
662
663 ifeq ($(MODULE), jdk.scripting.nashorn)
664 include CompileJavaModulesNashorn.gmk
665 endif
666
667 ################################################################################
|