Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: source/data/Makefile.in

Issue 1624643003: ICU 56 step 2: Make the tree ready for local modifications (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561upstream
Patch Set: review comments addressed Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « scripts/trim_data.sh ('k') | source/data/coll/collocal.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Makefile.in for ICU data 1 ## Makefile.in for ICU data
2 ## Copyright (c) 1999-2015, International Business Machines Corporation and 2 ## Copyright (c) 1999-2015, 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
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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 ifdef RBNF_SOURCE 346 ifdef RBNF_SOURCE
345 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL) 347 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL)
346 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) 348 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%)
347 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) 349 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%)
348 endif 350 endif
349 ifdef TRANSLIT_SOURCE 351 ifdef TRANSLIT_SOURCE
350 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA L) 352 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA L)
351 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) 353 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%)
352 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:% .txt=%) 354 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:% .txt=%)
353 endif 355 endif
354 GENRBOPTS=-k 356 # Chromium : To save space, use '-R' option (exclude collation rules. just
357 # include the compiled binary data.)
358 GENRBOPTS=-k -R
355 359
356 ## MISC files 360 ## MISC files
357 -include $(MISCSRCDIR)/miscfiles.mk 361 -include $(MISCSRCDIR)/miscfiles.mk
358 -include $(MISCSRCDIR)/misclocal.mk 362 -include $(MISCSRCDIR)/misclocal.mk
359 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) 363 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL)
360 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) 364 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%)
361 365
362 ifeq ($(ENABLE_SO_VERSION_DATA),1) 366 ifeq ($(ENABLE_SO_VERSION_DATA),1)
363 ifeq ($(PKGDATA_MODE),dll) 367 ifeq ($(PKGDATA_MODE),dll)
364 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res 368 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL EXEEXT) 526 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL EXEEXT)
523 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx t 527 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx t
524 528
525 # Targets for prebuilt Unicode data 529 # Targets for prebuilt Unicode data
526 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu 530 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu
527 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 531 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
528 532
529 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm 533 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm
530 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 534 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
531 535
532 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu 536 # Chromium: To cut down the data size by 280kB,
537 # use the code point order for CJK Ideographs in non-CJK locales instead
538 # of the UniHan radical-stroke order. The latter is better, but non-CJK
539 # locales do not have a great need for sorting CJK Ideographs.
540 # Moreover, the most common subset (the original CJK Ideograph block) will
541 # still be sorted correctly because the code point order is radical-stroke
542 # order.
543 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-implicithan.icu
533 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 544 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
534 545
535 #################################################### SPP 546 #################################################### SPP
536 # SPP FILES 547 # SPP FILES
537 548
538 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU ILDDIR)/unames.icu 549 $(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) 550 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F)
540 551
541 #################################################### BRK 552 #################################################### BRK
542 # BRK FILES 553 # BRK FILES
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 done; 938 done;
928 939
929 ifeq ($(POST_DATA_BUILD), os400-data-rebind) 940 ifeq ($(POST_DATA_BUILD), os400-data-rebind)
930 os400-data-rebind: $(LIBICUUC) 941 os400-data-rebind: $(LIBICUUC)
931 942
932 $(LIBICUUC): $(LIBICUDT) 943 $(LIBICUUC): $(LIBICUDT)
933 $(RMV) $(LIBICUUC) 944 $(RMV) $(LIBICUUC)
934 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; 945 (cd ../common && $(MAKE) RECURSIVE=YES) || exit;
935 endif 946 endif
936 947
OLDNEW
« no previous file with comments | « scripts/trim_data.sh ('k') | source/data/coll/collocal.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698