| OLD | NEW |
| 1 ## Makefile.in for ICU data | 1 ## Makefile.in for ICU data |
| 2 ## Copyright (C) 2016 and later: Unicode, Inc. and others. | 2 ## Copyright (C) 2016 and later: Unicode, Inc. and others. |
| 3 ## License & terms of use: http://www.unicode.org/copyright.html | 3 ## License & terms of use: http://www.unicode.org/copyright.html |
| 4 ## Copyright (c) 1999-2015, International Business Machines Corporation and | 4 ## Copyright (c) 1999-2015, International Business Machines Corporation and |
| 5 ## others. All Rights Reserved. | 5 ## others. All Rights Reserved. |
| 6 | 6 |
| 7 ## Source directory information | 7 ## Source directory information |
| 8 srcdir = @srcdir@ | 8 srcdir = @srcdir@ |
| 9 top_srcdir = @top_srcdir@ | 9 top_srcdir = @top_srcdir@ |
| 10 | 10 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 ##### Define all the data files. the build rule that depends on them is below. | 243 ##### Define all the data files. the build rule that depends on them is below. |
| 244 # X_FILES_SHORT = just the base names (for lists) | 244 # X_FILES_SHORT = just the base names (for lists) |
| 245 # X_FILES = full paths (for dependency) | 245 # X_FILES = full paths (for dependency) |
| 246 | 246 |
| 247 ## DAT files - Misc. data files. | 247 ## DAT files - Misc. data files. |
| 248 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) | 248 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) |
| 249 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) | 249 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) |
| 250 # 2010-dec Removed pnames.icu. | 250 # 2010-dec Removed pnames.icu. |
| 251 # These are now hardcoded in ICU4C and only loaded in ICU4J. | 251 # These are now hardcoded in ICU4C and only loaded in ICU4J. |
| 252 # | 252 # |
| 253 DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm ut
s46.nrm | 253 # Chromium: Drop unames.icu because we don't need Unicode character names. |
| 254 DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm |
| 254 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) | 255 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) |
| 255 | 256 |
| 256 ## BRK files | 257 ## BRK files |
| 257 BREAK_TREE=brkitr | 258 BREAK_TREE=brkitr |
| 258 -include $(BRKSRCDIR)/brkfiles.mk | 259 -include $(BRKSRCDIR)/brkfiles.mk |
| 259 -include $(BRKSRCDIR)/brklocal.mk | 260 -include $(BRKSRCDIR)/brklocal.mk |
| 260 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) | 261 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) |
| 261 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) | 262 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) |
| 262 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) | 263 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) |
| 263 ifdef BRK_DICT_SOURCE | 264 ifdef BRK_DICT_SOURCE |
| (...skipping 10 matching lines...) Expand all Loading... |
| 274 ## Confusables (Spoofing) files | 275 ## Confusables (Spoofing) files |
| 275 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt | 276 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt |
| 276 CFU_FILES_SHORT=confusables.cfu | 277 CFU_FILES_SHORT=confusables.cfu |
| 277 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) | 278 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) |
| 278 | 279 |
| 279 ## UCM files | 280 ## UCM files |
| 280 -include $(UCMSRCDIR)/ucmcore.mk | 281 -include $(UCMSRCDIR)/ucmcore.mk |
| 281 -include $(UCMSRCDIR)/ucmfiles.mk | 282 -include $(UCMSRCDIR)/ucmfiles.mk |
| 282 -include $(UCMSRCDIR)/ucmebcdic.mk | 283 -include $(UCMSRCDIR)/ucmebcdic.mk |
| 283 -include $(UCMSRCDIR)/ucmlocal.mk | 284 -include $(UCMSRCDIR)/ucmlocal.mk |
| 284 ALL_UCM_SOURCE=ibm-37_P100-1995.ucm ibm-1047_P100-1995.ucm $(UCM_SOURCE_CORE) $(
UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM_SOURCE_LOCAL) | 285 # Chromium: Drop 2 ibm encodings not necessary. |
| 286 ALL_UCM_SOURCE=$(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM
_SOURCE_LOCAL) |
| 285 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) | 287 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) |
| 286 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) | 288 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) |
| 287 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) | 289 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) |
| 288 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) | 290 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) |
| 289 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) | 291 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) |
| 290 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) | 292 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) |
| 291 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) | 293 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) |
| 292 | 294 |
| 293 ## RES files | 295 ## RES files |
| 294 -include $(LOCSRCDIR)/resfiles.mk | 296 -include $(LOCSRCDIR)/resfiles.mk |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 ifdef RBNF_SOURCE | 350 ifdef RBNF_SOURCE |
| 349 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL) | 351 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL) |
| 350 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) | 352 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) |
| 351 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) | 353 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) |
| 352 endif | 354 endif |
| 353 ifdef TRANSLIT_SOURCE | 355 ifdef TRANSLIT_SOURCE |
| 354 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA
L) | 356 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA
L) |
| 355 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) | 357 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) |
| 356 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:%
.txt=%) | 358 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:%
.txt=%) |
| 357 endif | 359 endif |
| 358 GENRBOPTS=-k | 360 # Chromium : To save space, use '-R' option (exclude collation rules. just |
| 361 # include the compiled binary data.) |
| 362 GENRBOPTS=-k -R |
| 359 | 363 |
| 360 ## MISC files | 364 ## MISC files |
| 361 -include $(MISCSRCDIR)/miscfiles.mk | 365 -include $(MISCSRCDIR)/miscfiles.mk |
| 362 -include $(MISCSRCDIR)/misclocal.mk | 366 -include $(MISCSRCDIR)/misclocal.mk |
| 363 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) | 367 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) |
| 364 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) | 368 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) |
| 365 | 369 |
| 366 ifeq ($(ENABLE_SO_VERSION_DATA),1) | 370 ifeq ($(ENABLE_SO_VERSION_DATA),1) |
| 367 ifeq ($(PKGDATA_MODE),dll) | 371 ifeq ($(PKGDATA_MODE),dll) |
| 368 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res | 372 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL
EXEEXT) | 530 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL
EXEEXT) |
| 527 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t | 531 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t |
| 528 | 532 |
| 529 # Targets for prebuilt Unicode data | 533 # Targets for prebuilt Unicode data |
| 530 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu | 534 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu |
| 531 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 535 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
| 532 | 536 |
| 533 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm | 537 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm |
| 534 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 538 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
| 535 | 539 |
| 536 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu | 540 # Chromium: To cut down the data size by 280kB, |
| 541 # use the code point order for CJK Ideographs in non-CJK locales instead |
| 542 # of the UniHan radical-stroke order. The latter is better, but non-CJK |
| 543 # locales do not have a great need for sorting CJK Ideographs. |
| 544 # Moreover, the most common subset (the original CJK Ideograph block) will |
| 545 # still be sorted correctly because the code point order is radical-stroke |
| 546 # order. |
| 547 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-implicithan.icu |
| 537 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 548 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
| 538 | 549 |
| 539 #################################################### SPP | 550 #################################################### SPP |
| 540 # SPP FILES | 551 # SPP FILES |
| 541 | 552 |
| 542 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu | 553 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu |
| 543 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) | 554 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) |
| 544 | 555 |
| 545 #################################################### BRK | 556 #################################################### BRK |
| 546 # BRK FILES | 557 # BRK FILES |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 done; | 942 done; |
| 932 | 943 |
| 933 ifeq ($(POST_DATA_BUILD), os400-data-rebind) | 944 ifeq ($(POST_DATA_BUILD), os400-data-rebind) |
| 934 os400-data-rebind: $(LIBICUUC) | 945 os400-data-rebind: $(LIBICUUC) |
| 935 | 946 |
| 936 $(LIBICUUC): $(LIBICUDT) | 947 $(LIBICUUC): $(LIBICUDT) |
| 937 $(RMV) $(LIBICUUC) | 948 $(RMV) $(LIBICUUC) |
| 938 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; | 949 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; |
| 939 endif | 950 endif |
| 940 | 951 |
| OLD | NEW |