OLD | NEW |
1 ## Makefile.in for ICU data | 1 ## Makefile.in for ICU data |
2 ## Copyright (c) 1999-2014, International Business Machines Corporation and | 2 ## Copyright (c) 1999-2014, International Business Machines Corporation and |
3 ## others. All Rights Reserved. | 3 ## others. All Rights Reserved. |
4 | 4 |
5 ## Source directory information | 5 ## Source directory information |
6 srcdir = @srcdir@ | 6 srcdir = @srcdir@ |
7 top_srcdir = @top_srcdir@ | 7 top_srcdir = @top_srcdir@ |
8 | 8 |
9 # So that you have $(top_builddir)/config.status | 9 # So that you have $(top_builddir)/config.status |
10 top_builddir = .. | 10 top_builddir = .. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 ##### Define all the data files. the build rule that depends on them is below. | 239 ##### Define all the data files. the build rule that depends on them is below. |
240 # X_FILES_SHORT = just the base names (for lists) | 240 # X_FILES_SHORT = just the base names (for lists) |
241 # X_FILES = full paths (for dependency) | 241 # X_FILES = full paths (for dependency) |
242 | 242 |
243 ## DAT files - Misc. data files. | 243 ## DAT files - Misc. data files. |
244 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) | 244 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) |
245 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) | 245 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) |
246 # 2010-dec Removed pnames.icu. | 246 # 2010-dec Removed pnames.icu. |
247 # These are now hardcoded in ICU4C and only loaded in ICU4J. | 247 # These are now hardcoded in ICU4C and only loaded in ICU4J. |
248 # | 248 # |
249 DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm ut
s46.nrm | 249 # Chromium: Drop unames.icu because we don't need Unicode character names. |
| 250 DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm |
250 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) | 251 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) |
251 | 252 |
252 ## BRK files | 253 ## BRK files |
253 BREAK_TREE=brkitr | 254 BREAK_TREE=brkitr |
254 -include $(BRKSRCDIR)/brkfiles.mk | 255 -include $(BRKSRCDIR)/brkfiles.mk |
255 -include $(BRKSRCDIR)/brklocal.mk | 256 -include $(BRKSRCDIR)/brklocal.mk |
256 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) | 257 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) |
257 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) | 258 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) |
258 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) | 259 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) |
259 ifdef BRK_DICT_SOURCE | 260 ifdef BRK_DICT_SOURCE |
(...skipping 10 matching lines...) Expand all Loading... |
270 ## Confusables (Spoofing) files | 271 ## Confusables (Spoofing) files |
271 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt | 272 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt |
272 CFU_FILES_SHORT=confusables.cfu | 273 CFU_FILES_SHORT=confusables.cfu |
273 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) | 274 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) |
274 | 275 |
275 ## UCM files | 276 ## UCM files |
276 -include $(UCMSRCDIR)/ucmcore.mk | 277 -include $(UCMSRCDIR)/ucmcore.mk |
277 -include $(UCMSRCDIR)/ucmfiles.mk | 278 -include $(UCMSRCDIR)/ucmfiles.mk |
278 -include $(UCMSRCDIR)/ucmebcdic.mk | 279 -include $(UCMSRCDIR)/ucmebcdic.mk |
279 -include $(UCMSRCDIR)/ucmlocal.mk | 280 -include $(UCMSRCDIR)/ucmlocal.mk |
280 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) | 281 # Chromium: Drop 2 ibm encodings not necessary. |
| 282 ALL_UCM_SOURCE=$(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM
_SOURCE_LOCAL) |
281 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) | 283 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) |
282 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) | 284 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) |
283 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) | 285 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) |
284 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) | 286 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) |
285 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) | 287 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) |
286 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) | 288 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) |
287 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) | 289 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) |
288 | 290 |
289 ## RES files | 291 ## RES files |
290 -include $(LOCSRCDIR)/resfiles.mk | 292 -include $(LOCSRCDIR)/resfiles.mk |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL
EXEEXT) | 524 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL
EXEEXT) |
523 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t | 525 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t |
524 | 526 |
525 # Targets for prebuilt Unicode data | 527 # Targets for prebuilt Unicode data |
526 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu | 528 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu |
527 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 529 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
528 | 530 |
529 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm | 531 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm |
530 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 532 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
531 | 533 |
532 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu | 534 # Chromium: To cut down the data size by 280kB, |
| 535 # use the code point order for CJK Ideographs in non-CJK locales instead |
| 536 # of the UniHan radical-stroke order. The latter is better, but non-CJK |
| 537 # locales do not have a great need for sorting CJK Ideographs. |
| 538 # Moreover, the most common subset (the original CJK Ideograph block) will |
| 539 # still be sorted correctly because the code point order is radical-stroke |
| 540 # order. |
| 541 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-implicithan.icu |
533 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 542 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
534 | 543 |
535 #################################################### SPP | 544 #################################################### SPP |
536 # SPP FILES | 545 # SPP FILES |
537 | 546 |
538 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu | 547 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu |
539 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) | 548 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) |
540 | 549 |
541 #################################################### BRK | 550 #################################################### BRK |
542 # BRK FILES | 551 # BRK FILES |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 done; | 936 done; |
928 | 937 |
929 ifeq ($(POST_DATA_BUILD), os400-data-rebind) | 938 ifeq ($(POST_DATA_BUILD), os400-data-rebind) |
930 os400-data-rebind: $(LIBICUUC) | 939 os400-data-rebind: $(LIBICUUC) |
931 | 940 |
932 $(LIBICUUC): $(LIBICUDT) | 941 $(LIBICUUC): $(LIBICUDT) |
933 $(RMV) $(LIBICUUC) | 942 $(RMV) $(LIBICUUC) |
934 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; | 943 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; |
935 endif | 944 endif |
936 | 945 |
OLD | NEW |