< prev index next >

make/gendata/GendataBreakIterator.gmk

Print this page




  67     --add-exports java.base/sun.text.resources=ALL-UNNAMED \
  68     --add-exports jdk.localedata/sun.text.resources.ext=ALL-UNNAMED \
  69     #
  70 
  71 # Generate data resource files.
  72 # input
  73 UNICODEDATA := $(TOPDIR)/make/data/unicodedata/UnicodeData.txt
  74 
  75 # output
  76 BASE_DATA_PKG_DIR := $(JDK_OUTPUTDIR)/modules/java.base/sun/text/resources
  77 LD_DATA_PKG_DIR := $(JDK_OUTPUTDIR)/modules/jdk.localedata/sun/text/resources/ext
  78 BIFILES := $(BASE_DATA_PKG_DIR)/CharacterBreakIteratorData \
  79     $(BASE_DATA_PKG_DIR)/WordBreakIteratorData \
  80     $(BASE_DATA_PKG_DIR)/LineBreakIteratorData \
  81     $(BASE_DATA_PKG_DIR)/SentenceBreakIteratorData
  82 BIFILES_TH := $(LD_DATA_PKG_DIR)/WordBreakIteratorData_th \
  83     $(LD_DATA_PKG_DIR)/LineBreakIteratorData_th
  84 
  85 $(BIFILES): $(BASE_DATA_PKG_DIR)/_the.bifiles
  86 $(BASE_DATA_PKG_DIR)/_the.bifiles: JAVA_FLAGS += $(BREAK_ITERATOR_BOOTCLASSPATH)
  87 $(BASE_DATA_PKG_DIR)/_the.bifiles: $(BUILD_TOOLS_JDK) $(UNICODEDATA) \
  88     $(BUILD_BREAKITERATOR_BASE) $(BUILD_BREAKITERATOR_LD)
  89         $(call LogInfo, Generating BreakIteratorData)
  90         $(call MakeDir, $(@D))
  91         $(RM) $(BIFILES)
  92         $(TOOL_GENERATEBREAKITERATORDATA) \
  93             -o $(@D) \
  94             -spec $(UNICODEDATA)
  95         $(TOUCH) $@
  96 
  97 $(BIFILES_TH): $(LD_DATA_PKG_DIR)/_the.bifiles_th
  98 $(LD_DATA_PKG_DIR)/_the.bifiles_th: JAVA_FLAGS += $(BREAK_ITERATOR_BOOTCLASSPATH)
  99 $(LD_DATA_PKG_DIR)/_the.bifiles_th: $(BUILD_TOOLS_JDK) $(UNICODEDATA) \
 100     $(BUILD_BREAKITERATOR_BASE) $(BUILD_BREAKITERATOR_LD)
 101         $(call LogInfo, Generating BreakIteratorData_th)
 102         $(RM) $(BIFILES_TH)
 103         $(TOOL_GENERATEBREAKITERATORDATA) \
 104             -o $(@D) \
 105             -spec $(UNICODEDATA) \
 106             -language th
 107         $(TOUCH) $@
 108 
 109 TARGETS += $(BIFILES) $(BIFILES_TH)


  67     --add-exports java.base/sun.text.resources=ALL-UNNAMED \
  68     --add-exports jdk.localedata/sun.text.resources.ext=ALL-UNNAMED \
  69     #
  70 
  71 # Generate data resource files.
  72 # input
  73 UNICODEDATA := $(TOPDIR)/make/data/unicodedata/UnicodeData.txt
  74 
  75 # output
  76 BASE_DATA_PKG_DIR := $(JDK_OUTPUTDIR)/modules/java.base/sun/text/resources
  77 LD_DATA_PKG_DIR := $(JDK_OUTPUTDIR)/modules/jdk.localedata/sun/text/resources/ext
  78 BIFILES := $(BASE_DATA_PKG_DIR)/CharacterBreakIteratorData \
  79     $(BASE_DATA_PKG_DIR)/WordBreakIteratorData \
  80     $(BASE_DATA_PKG_DIR)/LineBreakIteratorData \
  81     $(BASE_DATA_PKG_DIR)/SentenceBreakIteratorData
  82 BIFILES_TH := $(LD_DATA_PKG_DIR)/WordBreakIteratorData_th \
  83     $(LD_DATA_PKG_DIR)/LineBreakIteratorData_th
  84 
  85 $(BIFILES): $(BASE_DATA_PKG_DIR)/_the.bifiles
  86 $(BASE_DATA_PKG_DIR)/_the.bifiles: JAVA_FLAGS += $(BREAK_ITERATOR_BOOTCLASSPATH)
  87 $(BASE_DATA_PKG_DIR)/_the.bifiles: $(BUILD_TOOLS) $(UNICODEDATA) \
  88     $(BUILD_BREAKITERATOR_BASE) $(BUILD_BREAKITERATOR_LD)
  89         $(call LogInfo, Generating BreakIteratorData)
  90         $(call MakeDir, $(@D))
  91         $(RM) $(BIFILES)
  92         $(TOOL_GENERATEBREAKITERATORDATA) \
  93             -o $(@D) \
  94             -spec $(UNICODEDATA)
  95         $(TOUCH) $@
  96 
  97 $(BIFILES_TH): $(LD_DATA_PKG_DIR)/_the.bifiles_th
  98 $(LD_DATA_PKG_DIR)/_the.bifiles_th: JAVA_FLAGS += $(BREAK_ITERATOR_BOOTCLASSPATH)
  99 $(LD_DATA_PKG_DIR)/_the.bifiles_th: $(BUILD_TOOLS) $(UNICODEDATA) \
 100     $(BUILD_BREAKITERATOR_BASE) $(BUILD_BREAKITERATOR_LD)
 101         $(call LogInfo, Generating BreakIteratorData_th)
 102         $(RM) $(BIFILES_TH)
 103         $(TOOL_GENERATEBREAKITERATORDATA) \
 104             -o $(@D) \
 105             -spec $(UNICODEDATA) \
 106             -language th
 107         $(TOUCH) $@
 108 
 109 TARGETS += $(BIFILES) $(BIFILES_TH)
< prev index next >