ICU-5117 generate data files from LDML2ICUConverter
X-SVN-Rev: 19569
This commit is contained in:
parent
74a465c31c
commit
cb17e6f035
@ -213,16 +213,19 @@ DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%)
|
||||
BREAK_TREE=brkitr
|
||||
-include $(BRKSRCDIR)/brkfiles.mk
|
||||
-include $(BRKSRCDIR)/brklocal.mk
|
||||
ALL_BRK_SOURCE=char.txt title.txt word.txt $(BRK_SOURCE) $(BRK_SOURCE_LOCAL)
|
||||
ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL)
|
||||
BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk)
|
||||
BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk)
|
||||
|
||||
## CTD files
|
||||
-include $(BRKSRCDIR)/ctdfiles.mk
|
||||
-include $(BRKSRCDIR)/ctdlocal.mk
|
||||
ALL_CTD_SOURCE=$(CTD_SOURCE) $(CTD_SOURCE_LOCAL)
|
||||
ifdef BRK_CTD_SOURCE
|
||||
ALL_CTD_SOURCE=$(BRK_CTD_SOURCE) $(BRK_CTD_SOURCE_LOCAL)
|
||||
CTD_FILES_SHORT=$(ALL_CTD_SOURCE:%.txt=$(BREAK_TREE)/%.ctd)
|
||||
CTD_FILES=$(ALL_CTD_SOURCE:%.txt=$(BRKBLDDIR)/%.ctd)
|
||||
endif
|
||||
ifdef BRK_RES_SOURCE
|
||||
BRS_SRC= root.txt $(BRK_RES_SOURCE) $(BRK_RES_SOURCE_LOCAL)
|
||||
BRS_SRC_FILES = $(BRS_SRC:%=$(BRKSRCDIR)/%)
|
||||
INSTALLED_BRS_FILES = $(BRK_RES_SOURCE:%.txt=%) $(BRK_RES_SOURCE_LOCAL:%.txt=%)
|
||||
endif
|
||||
|
||||
## UCM files
|
||||
-include $(UCMSRCDIR)/ucmcore.mk
|
||||
@ -237,7 +240,6 @@ CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv)
|
||||
## RES files
|
||||
-include $(LOCSRCDIR)/resfiles.mk
|
||||
-include $(COLSRCDIR)/colfiles.mk
|
||||
-include $(BRKSRCDIR)/brsfiles.mk
|
||||
-include $(RBNFSRCDIR)/rbnffiles.mk
|
||||
-include $(TRANSLITSRCDIR)/trnsfiles.mk
|
||||
-include $(LOCSRCDIR)/reslocal.mk
|
||||
@ -255,11 +257,6 @@ COL_SRC= root.txt $(COLLATION_SOURCE) $(COLLATION_ALIAS_SOURCE) $(COLLATION_SOUR
|
||||
COL_SRC_FILES = $(COL_SRC:%=$(COLSRCDIR)/%)
|
||||
INSTALLED_COL_FILES = $(COLLATION_SOURCE:%.txt=%) $(COLLATION_SOURCE_LOCAL:%.txt=%)
|
||||
endif
|
||||
ifdef BREAKRES_SOURCE
|
||||
BRS_SRC= root.txt $(BREAKRES_SOURCE) $(BREAKRES_SOURCE_LOCAL)
|
||||
BRS_SRC_FILES = $(BRS_SRC:%=$(BRKSRCDIR)/%)
|
||||
INSTALLED_BRS_FILES = $(BREAKRES_SOURCE:%.txt=%) $(BREAKRES_SOURCE_LOCAL:%.txt=%)
|
||||
endif
|
||||
ifdef RBNF_SOURCE
|
||||
RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL)
|
||||
RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%)
|
||||
@ -302,11 +299,11 @@ COLLATION_INDEX_RES_SHORT=$(COLLATION_TREE)/$(INDEX_NAME).res
|
||||
COLLATION_FILES = $(COL_SRC:%.txt=$(COLBLDDIR)/%.res) $(COLLATION_INDEX_RES)
|
||||
COLLATION_FILES_SHORT = $(COL_SRC:%.txt=$(COLLATION_TREE)/%.res)
|
||||
|
||||
BREAKRES_INDEX_FILE=$(OUTTMPDIR)/$(BREAK_TREE)/$(INDEX_NAME).txt
|
||||
BREAKRES_INDEX_RES=$(BRKBLDDIR)/$(INDEX_NAME).res
|
||||
BREAKRES_INDEX_RES_SHORT=$(BREAK_TREE)/$(INDEX_NAME).res
|
||||
BREAKRES_FILES = $(BRS_SRC:%.txt=$(BRKBLDDIR)/%.res) $(BREAKRES_INDEX_RES)
|
||||
BREAKRES_FILES_SHORT = $(BRS_SRC:%.txt=$(BREAK_TREE)/%.res)
|
||||
BRK_RES_INDEX_FILE=$(OUTTMPDIR)/$(BREAK_TREE)/$(INDEX_NAME).txt
|
||||
BRK_RES_INDEX_RES=$(BRKBLDDIR)/$(INDEX_NAME).res
|
||||
BRK_RES_INDEX_RES_SHORT=$(BREAK_TREE)/$(INDEX_NAME).res
|
||||
BRK_RES_FILES = $(BRS_SRC:%.txt=$(BRKBLDDIR)/%.res) $(BRK_RES_INDEX_RES)
|
||||
BRK_RES_FILES_SHORT = $(BRS_SRC:%.txt=$(BREAK_TREE)/%.res)
|
||||
|
||||
RBNF_TREE=rbnf
|
||||
RBNF_INDEX_FILE=$(OUTTMPDIR)/$(RBNF_TREE)/$(INDEX_NAME).txt
|
||||
@ -323,9 +320,9 @@ TRANSLIT_FILES = $(TRANSLIT_SRC:%.txt=$(TRANSLITBLDDIR)/%.res)
|
||||
TRANSLIT_FILES_SHORT = $(TRANSLIT_SRC:%.txt=$(TRANSLIT_TREE)/%.res)
|
||||
|
||||
## All generated files
|
||||
ALL_FILES = $(DAT_FILES) $(CNV_FILES) $(BRK_FILES) $(CTD_FILES) $(RES_FILES) $(INDEX_RES_FILE) $(COLLATION_FILES) $(BREAKRES_FILES) $(RBNF_FILES) $(TRANSLIT_FILES)
|
||||
ALL_FILES = $(DAT_FILES) $(CNV_FILES) $(BRK_FILES) $(CTD_FILES) $(RES_FILES) $(INDEX_RES_FILE) $(COLLATION_FILES) $(BRK_RES_FILES) $(RBNF_FILES) $(TRANSLIT_FILES)
|
||||
# a list to use in the .lst files (package-relative)
|
||||
ALL_FILES_LIST = $(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(BRK_FILES_SHORT) $(CTD_FILES_SHORT) $(RES_FILES_SHORT) $(INDEX_RES_FILE_SHORT) $(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT) $(BREAKRES_FILES_SHORT) $(BREAKRES_INDEX_RES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILES_SHORT)
|
||||
ALL_FILES_LIST = $(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(BRK_FILES_SHORT) $(CTD_FILES_SHORT) $(RES_FILES_SHORT) $(INDEX_RES_FILE_SHORT) $(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT) $(BRK_RES_FILES_SHORT) $(BRK_RES_INDEX_RES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILES_SHORT)
|
||||
|
||||
#####################################################
|
||||
# General data build rules
|
||||
|
@ -1,4 +1,4 @@
|
||||
# * Copyright (C) 1997-2006, International Business Machines
|
||||
# * Copyright (C) 1998-2006, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# A list of txt's to build
|
||||
# Note:
|
||||
@ -14,18 +14,32 @@
|
||||
#
|
||||
# * To add an additional locale to the list:
|
||||
# _____________________________________________________
|
||||
# | BRK_SOURCE_LOCAL = myLocale.txt ...
|
||||
# | BRK_RES_SOURCE_LOCAL = myLocale.txt ...
|
||||
#
|
||||
# * To REPLACE the default list and only build with a few
|
||||
# locale:
|
||||
# _____________________________________________________
|
||||
# | BRK_SOURCE = ar.txt ar_AE.txt en.txt de.txt zh.txt
|
||||
# | BRK_RES_SOURCE = ar.txt ar_AE.txt en.txt de.txt zh.txt
|
||||
#
|
||||
#
|
||||
# Generated by LDML2ICUConverter, from LDML source files.
|
||||
|
||||
# Aliases which do not have a corresponding xx.xml file (see icu-config.xml & build.xml)
|
||||
BRK_RES_SYNTHETIC_ALIAS =
|
||||
|
||||
|
||||
# don't include thaidict.brk - it goes into a resource bundle - plus it isn't deleted.
|
||||
# char.txt, title.txt and word.txt are not included so that more tests pass by default,
|
||||
# and so that the makefile rules are simplier.
|
||||
BRK_SOURCE = \
|
||||
line.txt sent.txt word_ja.txt word_POSIX.txt
|
||||
# All aliases (to not be included under 'installed'), but not including root.
|
||||
BRK_RES_ALIAS_SOURCE = $(BRK_RES_SYNTHETIC_ALIAS)
|
||||
|
||||
|
||||
# List of compact trie dictionary files (ctd).
|
||||
BRK_CTD_SOURCE = thaidict.txt
|
||||
|
||||
|
||||
# List of break iterator files (brk).
|
||||
BRK_SOURCE = word_POSIX.txt word_ja.txt char.txt word.txt line.txt sent.txt title.txt
|
||||
|
||||
|
||||
# Ordinary resources
|
||||
BRK_RES_SOURCE = en.txt en_US.txt en_US_POSIX.txt ja.txt
|
||||
|
||||
|
@ -1,27 +0,0 @@
|
||||
# * Copyright (C) 2006, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# A list of txt's to build
|
||||
# Note:
|
||||
#
|
||||
# If you are thinking of modifying this file, READ THIS.
|
||||
#
|
||||
# Instead of changing this file [unless you want to check it back in],
|
||||
# you should consider creating a 'brslocal.mk' file in this same directory.
|
||||
# Then, you can have your local changes remain even if you upgrade or
|
||||
# reconfigure ICU.
|
||||
#
|
||||
# Example 'brslocal.mk' files:
|
||||
#
|
||||
# * To add an additional locale to the list:
|
||||
# _____________________________________________________
|
||||
# | BREAKRES_SOURCE_LOCAL = myLocale.txt ...
|
||||
#
|
||||
# * To REPLACE the default list and only build with a few
|
||||
# locale:
|
||||
# _____________________________________________________
|
||||
# | BREAKRES_SOURCE = ar.txt ar_AE.txt en.txt de.txt zh.txt
|
||||
#
|
||||
#
|
||||
|
||||
# Ordinary resources
|
||||
BREAKRES_SOURCE = ja.txt en.txt en_US.txt en_US_POSIX.txt
|
@ -1,27 +0,0 @@
|
||||
# * Copyright (C) 2006, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# A list of txt's to build
|
||||
# Note:
|
||||
#
|
||||
# If you are thinking of modifying this file, READ THIS.
|
||||
#
|
||||
# Instead of changing this file [unless you want to check it back in],
|
||||
# you should consider creating a 'ctdlocal.mk' file in this same directory.
|
||||
# Then, you can have your local changes remain even if you upgrade or
|
||||
# reconfigure ICU.
|
||||
#
|
||||
# Example 'ctdlocal.mk' files:
|
||||
#
|
||||
# * To add an additional dictionary to the list:
|
||||
# _____________________________________________________
|
||||
# | CTD_SOURCE_LOCAL = myDict.txt ...
|
||||
#
|
||||
# * To REPLACE the default list and only build with a different
|
||||
# dictionary:
|
||||
# _____________________________________________________
|
||||
# | CTD_SOURCE = myDict.txt
|
||||
#
|
||||
#
|
||||
|
||||
CTD_SOURCE = \
|
||||
thaidict.txt
|
@ -3,12 +3,9 @@
|
||||
// * Copyright (C) 2006 International Business Machines
|
||||
// * Corporation and others. All Rights Reserved.
|
||||
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
|
||||
// * Source File:<path>/common/main/en_US_POSIX.xml
|
||||
// * Source File:<path>/xml/brkitr/en.xml
|
||||
// *
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* ICU <specials> source: <path>/xml/main/en.xml
|
||||
*/
|
||||
en{
|
||||
Version{"1.36"}
|
||||
Version{"1.25"}
|
||||
}
|
||||
|
@ -3,12 +3,9 @@
|
||||
// * Copyright (C) 2006 International Business Machines
|
||||
// * Corporation and others. All Rights Reserved.
|
||||
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
|
||||
// * Source File:<path>/common/main/en_US_POSIX.xml
|
||||
// * Source File:<path>/xml/brkitr/en_US.xml
|
||||
// *
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* ICU <specials> source: <path>/xml/main/en_US.xml
|
||||
*/
|
||||
en_US{
|
||||
Version{"1.36"}
|
||||
Version{"1.25"}
|
||||
}
|
||||
|
@ -3,15 +3,12 @@
|
||||
// * Copyright (C) 2006 International Business Machines
|
||||
// * Corporation and others. All Rights Reserved.
|
||||
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
|
||||
// * Source File:<path>/common/main/en_US_POSIX.xml
|
||||
// * Source File:<path>/xml/brkitr/en_US_POSIX.xml
|
||||
// *
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* ICU <specials> source: <path>/xml/main/en_US_POSIX.xml
|
||||
*/
|
||||
en_US_POSIX{
|
||||
Version{"1.36"}
|
||||
Version{"1.26"}
|
||||
boundaries{
|
||||
word{"word_POSIX"}
|
||||
word:process(dependency){"word_POSIX.brk"}
|
||||
}
|
||||
}
|
||||
|
@ -3,15 +3,12 @@
|
||||
// * Copyright (C) 2006 International Business Machines
|
||||
// * Corporation and others. All Rights Reserved.
|
||||
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
|
||||
// * Source File:<path>/common/main/ja.xml
|
||||
// * Source File:<path>/xml/brkitr/ja.xml
|
||||
// *
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* ICU <specials> source: <path>/xml/main/ja.xml
|
||||
*/
|
||||
ja{
|
||||
Version{"1.68"}
|
||||
Version{"1.26"}
|
||||
boundaries{
|
||||
word{"word_ja"}
|
||||
word:process(dependency){"word_ja.brk"}
|
||||
}
|
||||
}
|
||||
|
@ -3,22 +3,19 @@
|
||||
// * Copyright (C) 2006 International Business Machines
|
||||
// * Corporation and others. All Rights Reserved.
|
||||
// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
|
||||
// * Source File:<path>/common/main/root.xml
|
||||
// * Source File:<path>/xml/brkitr/root.xml
|
||||
// *
|
||||
// ***************************************************************************
|
||||
/**
|
||||
* ICU <specials> source: <path>/xml/main/root.xml
|
||||
*/
|
||||
root{
|
||||
Version{"1.00"}
|
||||
Version{"1.26"}
|
||||
boundaries{
|
||||
grapheme{"char"}
|
||||
line{"line"}
|
||||
sentence{"sent"}
|
||||
title{"title"}
|
||||
word{"word"}
|
||||
grapheme:process(dependency){"char.brk"}
|
||||
line:process(dependency){"line.brk"}
|
||||
sentence:process(dependency){"sent.brk"}
|
||||
title:process(dependency){"title.brk"}
|
||||
word:process(dependency){"word.brk"}
|
||||
}
|
||||
dictionaries{
|
||||
Thai{"thaidict"}
|
||||
Thai:process(dependency){"thaidict.ctd"}
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<!--
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2005, International Business Machines Corporation and *
|
||||
* Copyright (C) 2005-2006, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -70,7 +70,7 @@
|
||||
</taskdef>
|
||||
</target>
|
||||
<!-- target for generating ICU data -->
|
||||
<target name="all" depends="locales, resfiles, collation, colfiles, supplementalData" />
|
||||
<target name="all" depends="locales, resfiles, collation, colfiles, supplementalData, brkitr, brkfiles" />
|
||||
|
||||
<target name="locales" depends="init,setup" description="builds locale files in ICU text format">
|
||||
<cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
|
||||
@ -189,6 +189,34 @@
|
||||
</run>
|
||||
</cldr-build>
|
||||
</target>
|
||||
<target name="brkitr" depends="init,setup" description="builds break iterator files in ICU text format">
|
||||
<cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
|
||||
<run>
|
||||
<args>
|
||||
<arg name="--sourcedir" value="${env.ICU4C_DIR}/source/data/xml/brkitr"/>
|
||||
<arg name="--destdir" value="${env.ICU4C_DIR}/source/data/brkitr"/>
|
||||
<arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
|
||||
</args>
|
||||
<!-- The entity include is not required for this target -->
|
||||
<!-- http://ant.apache.org/faq.html#xml-entity-include
|
||||
&icu-config;
|
||||
-->
|
||||
</run>
|
||||
</cldr-build>
|
||||
</target>
|
||||
<target name="brkfiles" depends="init, setup" description="builds brkfiles.mk">
|
||||
<cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="brkfiles.mk" noArgs="true">
|
||||
<!-- launch the tool and generate the data after reading the config file -->
|
||||
<run>
|
||||
<args>
|
||||
<arg name="-s" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
|
||||
<arg name="-d" value="${env.ICU4C_DIR}/source/data/brkitr"/>
|
||||
<arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
|
||||
<arg name="-w" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
|
||||
</args>
|
||||
</run>
|
||||
</cldr-build>
|
||||
</target>
|
||||
<target name="clean" depends="init, setup" description="deletes all txt files and mk files from coll and locales directories">
|
||||
<delete>
|
||||
<fileset id="locales" dir="${env.ICU4C_DIR}/source/data/locales">
|
||||
@ -199,6 +227,12 @@
|
||||
<include name="*.txt" />
|
||||
<include name="colfiles.mk" />
|
||||
</fileset>
|
||||
<fileset id="locales" dir="${env.ICU4C_DIR}/source/data/brkitr">
|
||||
<!-- brkitr directory contains bunch of txt files that are not produced by LDML2ICUConverter.
|
||||
So can't clean up everything. This needs to be updated when new files are added to xml/brkitr directory -->
|
||||
<include name="root.txt, en.txt, en_US.txt, en_US_POSIX.txt, ja.txt" />
|
||||
<include name="brkfiles.mk" />
|
||||
</fileset>
|
||||
<fileset id="locales" dir="${env.ICU4C_DIR}/source/data/misc">
|
||||
<include name="CurrencyData.txt" />
|
||||
</fileset>
|
||||
|
@ -207,13 +207,14 @@ CNV_FILES=$(UCM_SOURCE:.ucm=.cnv)
|
||||
!IF EXISTS("$(ICUSRCDATA)\$(ICUBRK)\brklocal.mk")
|
||||
!INCLUDE "$(ICUSRCDATA)\$(ICUBRK)\brklocal.mk"
|
||||
BRK_SOURCE=$(BRK_SOURCE) $(BRK_SOURCE_LOCAL)
|
||||
BRK_CTD_SOURCE=$(BRK_CTD_SOURCE) $(BRK_CTD_SOURCE_LOCAL)
|
||||
BRK_RES_SOURCE=$(BRK_RES_SOURCE) $(BRK_RES_SOURCE_LOCAL)
|
||||
!ELSE
|
||||
!MESSAGE Information: cannot find "brklocal.mk". Not building user-additional break iterator files.
|
||||
!ENDIF
|
||||
!ELSE
|
||||
!MESSAGE Warning: cannot find "brkfiles.mk"
|
||||
!ENDIF
|
||||
BRK_SOURCE=char.txt title.txt word.txt $(BRK_SOURCE)
|
||||
|
||||
#
|
||||
# Break iterator data files.
|
||||
@ -222,38 +223,14 @@ BRK_FILES=$(ICUBRK)\$(BRK_SOURCE:.txt =.brk brkitr\)
|
||||
BRK_FILES=$(BRK_FILES:.txt=.brk)
|
||||
BRK_FILES=$(BRK_FILES:brkitr\ =brkitr\)
|
||||
|
||||
!IF EXISTS("$(ICUSRCDATA)\$(ICUBRK)\ctdfiles.mk")
|
||||
!INCLUDE "$(ICUSRCDATA)\$(ICUBRK)\ctdfiles.mk"
|
||||
!IF EXISTS("$(ICUSRCDATA)\$(ICUBRK)\ctdlocal.mk")
|
||||
!INCLUDE "$(ICUSRCDATA)\$(ICUBRK)\ctdlocal.mk"
|
||||
CTD_SOURCE=$(CTD_SOURCE) $(CTD_SOURCE_LOCAL)
|
||||
!ELSE
|
||||
!MESSAGE Information: cannot find "ctdlocal.mk". Not building user-additional break iterator dictionary files.
|
||||
!ENDIF
|
||||
!ELSE
|
||||
!MESSAGE Warning: cannot find "ctdfiles.mk"
|
||||
!IFDEF BRK_CTD_SOURCE
|
||||
BRK_CTD_FILES = $(ICUBRK)\$(BRK_CTD_SOURCE:.txt =.ctd brkitr\)
|
||||
BRK_CTD_FILES = $(BRK_CTD_FILES:.txt=.ctd)
|
||||
BRK_CTD_FILES = $(BRK_CTD_FILES:brkitr\ =)
|
||||
!ENDIF
|
||||
|
||||
!IFDEF CTD_SOURCE
|
||||
CTD_FILES = $(ICUBRK)\$(CTD_SOURCE:.txt =.ctd brkitr\)
|
||||
CTD_FILES = $(CTD_FILES:.txt=.ctd)
|
||||
CTD_FILES = $(CTD_FILES:brkitr\ =)
|
||||
!ENDIF
|
||||
|
||||
!IF EXISTS("$(ICUSRCDATA)\$(ICUBRK)\brsfiles.mk")
|
||||
!INCLUDE "$(ICUSRCDATA)\$(ICUBRK)\brsfiles.mk"
|
||||
!IF EXISTS("$(ICUSRCDATA)\$(ICUBRK)\brslocal.mk")
|
||||
!INCLUDE "$(ICUSRCDATA)\$(ICUBRK)\brslocal.mk"
|
||||
BREAKRES_SOURCE=$(BREAKRES_SOURCE) $(BREAKRES_SOURCE_LOCAL)
|
||||
!ELSE
|
||||
!MESSAGE Information: cannot find "brslocal.mk". Not building user-additional break iterator resource files.
|
||||
!ENDIF
|
||||
!ELSE
|
||||
!MESSAGE Warning: cannot find "brsfiles.mk"
|
||||
!ENDIF
|
||||
|
||||
!IFDEF BREAKRES_SOURCE
|
||||
BRK_RES_SOURCE = $(ICUBRK)\root.txt $(BREAKRES_SOURCE)
|
||||
!IFDEF BRK_RES_SOURCE
|
||||
BRK_RES_SOURCE = $(ICUBRK)\root.txt $(BRK_RES_SOURCE)
|
||||
BRK_RES_FILES = $(BRK_RES_SOURCE:.txt =.res brkitr\)
|
||||
BRK_RES_FILES = $(BRK_RES_FILES:.txt=.res)
|
||||
BRK_RES_FILES = $(BRK_RES_FILES:brkitr\ =)
|
||||
@ -413,7 +390,7 @@ uni-core-data: GODATA "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$(IC
|
||||
copy "$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_ENDIAN_SUFFIX).dat"
|
||||
-@erase "$(ICUPKG).dat"
|
||||
!ELSE
|
||||
"$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) $(CNV_FILES) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\ucadata.icu" "$(ICUBLD_PKG)\invuca.icu" "$(ICUBLD_PKG)\uidna.spp" $(BRK_FILES) $(CTD_FILES) $(BRK_RES_FILES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(TRANSLIT_RES_FILES) $(ALL_RES)
|
||||
"$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) $(CNV_FILES) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\ucadata.icu" "$(ICUBLD_PKG)\invuca.icu" "$(ICUBLD_PKG)\uidna.spp" $(BRK_FILES) $(BRK_CTD_FILES) $(BRK_RES_FILES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(TRANSLIT_RES_FILES) $(ALL_RES)
|
||||
@echo Building icu data
|
||||
cd "$(ICUBLD_PKG)"
|
||||
"$(ICUP)\bin\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) <<"$(ICUTMP)\icudata.lst"
|
||||
@ -435,7 +412,7 @@ $(TRANSLIT_RES_FILES:.res =.res
|
||||
)
|
||||
$(BRK_FILES:.brk =.brk
|
||||
)
|
||||
$(CTD_FILES:.ctd =.ctd
|
||||
$(BRK_CTD_FILES:.ctd =.ctd
|
||||
)
|
||||
$(BRK_RES_FILES:.res =.res
|
||||
)
|
||||
|
18
icu4c/source/data/xml/brkitr/en.xml
Normal file
18
icu4c/source/data/xml/brkitr/en.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2006 International Business Machines Corporation and others. All rights reserved.
|
||||
-->
|
||||
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.4/ldml.dtd"
|
||||
[
|
||||
<!ENTITY % icu SYSTEM " http://www.unicode.org/cldr/dtd/1.4/ldmlICU.dtd">
|
||||
%icu;
|
||||
]
|
||||
>
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 1.1 $"/>
|
||||
<generation date="$Date: 2006/04/21 00:54:06 $"/>
|
||||
<language type="en"/>
|
||||
</identity>
|
||||
</ldml>
|
||||
|
19
icu4c/source/data/xml/brkitr/en_US.xml
Normal file
19
icu4c/source/data/xml/brkitr/en_US.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2006 International Business Machines Corporation and others. All rights reserved.
|
||||
-->
|
||||
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.4/ldml.dtd"
|
||||
[
|
||||
<!ENTITY % icu SYSTEM " http://www.unicode.org/cldr/dtd/1.4/ldmlICU.dtd">
|
||||
%icu;
|
||||
]
|
||||
>
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 1.1 $"/>
|
||||
<generation date="$Date: 2006/04/21 00:54:06 $"/>
|
||||
<language type="en"/>
|
||||
<territory type="US"/>
|
||||
</identity>
|
||||
</ldml>
|
||||
|
27
icu4c/source/data/xml/brkitr/en_US_POSIX.xml
Normal file
27
icu4c/source/data/xml/brkitr/en_US_POSIX.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2006 International Business Machines Corporation and others. All rights reserved.
|
||||
-->
|
||||
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.4/ldml.dtd"
|
||||
[
|
||||
<!ENTITY % icu SYSTEM " http://www.unicode.org/cldr/dtd/1.4/ldmlICU.dtd">
|
||||
%icu;
|
||||
]
|
||||
>
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 1.1 $"/>
|
||||
<generation date="$Date: 2006/04/21 00:54:06 $"/>
|
||||
<language type="en"/>
|
||||
<territory type="US"/>
|
||||
<variant type="POSIX"/>
|
||||
</identity>
|
||||
<special xmlns:icu="http://www.icu-project.org/">
|
||||
<icu:breakIteratorData>
|
||||
<icu:boundaries>
|
||||
<icu:word icu:dependency="word_POSIX.brk"/>
|
||||
</icu:boundaries>
|
||||
</icu:breakIteratorData>
|
||||
</special>
|
||||
</ldml>
|
||||
|
25
icu4c/source/data/xml/brkitr/ja.xml
Normal file
25
icu4c/source/data/xml/brkitr/ja.xml
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2006 International Business Machines Corporation and others. All rights reserved.
|
||||
-->
|
||||
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.4/ldml.dtd"
|
||||
[
|
||||
<!ENTITY % icu SYSTEM " http://www.unicode.org/cldr/dtd/1.4/ldmlICU.dtd">
|
||||
%icu;
|
||||
]
|
||||
>
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 1.1 $"/>
|
||||
<generation date="$Date: 2006/04/21 00:54:07 $"/>
|
||||
<language type="ja"/>
|
||||
</identity>
|
||||
<special xmlns:icu="http://www.icu-project.org/">
|
||||
<icu:breakIteratorData>
|
||||
<icu:boundaries>
|
||||
<icu:word icu:dependency="word_ja.brk"/>
|
||||
</icu:boundaries>
|
||||
</icu:breakIteratorData>
|
||||
</special>
|
||||
</ldml>
|
||||
|
32
icu4c/source/data/xml/brkitr/root.xml
Normal file
32
icu4c/source/data/xml/brkitr/root.xml
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Copyright (c) 2006 International Business Machines Corporation and others. All rights reserved.
|
||||
-->
|
||||
<!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.4/ldml.dtd"
|
||||
[
|
||||
<!ENTITY % icu SYSTEM " http://www.unicode.org/cldr/dtd/1.4/ldmlICU.dtd">
|
||||
%icu;
|
||||
]
|
||||
>
|
||||
<ldml>
|
||||
<identity>
|
||||
<version number="$Revision: 1.1 $"/>
|
||||
<generation date="$Date: 2006/04/21 00:54:07 $"/>
|
||||
<language type="root"/>
|
||||
</identity>
|
||||
<special xmlns:icu="http://www.icu-project.org/">
|
||||
<icu:breakIteratorData>
|
||||
<icu:boundaries>
|
||||
<icu:grapheme icu:dependency="char.brk"/>
|
||||
<icu:word icu:dependency="word.brk"/>
|
||||
<icu:line icu:dependency="line.brk"/>
|
||||
<icu:sentence icu:dependency="sent.brk"/>
|
||||
<icu:title icu:dependency="title.brk"/>
|
||||
</icu:boundaries>
|
||||
<icu:dictionaries>
|
||||
<icu:dictionary type="Thai" icu:dependency="thaidict.ctd"/>
|
||||
</icu:dictionaries>
|
||||
</icu:breakIteratorData>
|
||||
</special>
|
||||
</ldml>
|
||||
|
Loading…
Reference in New Issue
Block a user