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-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 = .. |
11 | 11 |
12 ## All the flags and other definitions are included here. | 12 ## All the flags and other definitions are included here. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 -test -z *.map || $(RMV) *.map | 145 -test -z *.map || $(RMV) *.map |
146 | 146 |
147 clean-local: cleanpackage cleanfiles clean-map | 147 clean-local: cleanpackage cleanfiles clean-map |
148 $(RMV) build-dir* build-local packagedata uni-core-data | 148 $(RMV) build-dir* build-local packagedata uni-core-data |
149 | 149 |
150 cleanfiles: | 150 cleanfiles: |
151 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | 151 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
152 | 152 |
153 cleanpackage: | 153 cleanpackage: |
154 $(RMV) $(OUTDIR) | 154 $(RMV) $(OUTDIR) |
155 » $(RMV) $(LIBDIR)/$(LIB_ICUDATA_NAME)*.$(SO)* $(LIBDIR)/$(LIB_STATIC_ICUD
ATA_NAME).$(A) | 155 » $(RMV) $(LIBDIR)/*$(LIB_ICUDATA_NAME)*.$(SO)* $(LIBDIR)/$(LIB_STATIC_ICU
DATA_NAME).$(A) |
156 | 156 |
157 check-local: | 157 check-local: |
158 | 158 |
159 # Find out if we have a source archive. | 159 # Find out if we have a source archive. |
160 # If we have that, then use that instead of building everything from scratch. | 160 # If we have that, then use that instead of building everything from scratch. |
161 ICUDATA_SOURCE_ARCHIVE = $(wildcard $(srcdir)/in/$(ICUDATA_PLATFORM_NAME).dat) | 161 ICUDATA_SOURCE_ARCHIVE = $(wildcard $(srcdir)/in/$(ICUDATA_PLATFORM_NAME).dat) |
162 ifeq ($(ICUDATA_SOURCE_ARCHIVE),) | 162 ifeq ($(ICUDATA_SOURCE_ARCHIVE),) |
163 ICUDATA_ARCHIVE = $(firstword $(wildcard $(srcdir)/in/$(ICUDATA_BASENAME_VERSION
)*.dat)) | 163 ICUDATA_ARCHIVE = $(firstword $(wildcard $(srcdir)/in/$(ICUDATA_BASENAME_VERSION
)*.dat)) |
164 # We don't have the data in the current endianess or charset. | 164 # We don't have the data in the current endianess or charset. |
165 # See if we can find data of any archive type, | 165 # See if we can find data of any archive type, |
(...skipping 73 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 # Chromium: Drop unames.icu because we don't need Unicode character names. | 249 DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm ut
s46.nrm |
250 DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm | |
251 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) | 250 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) |
252 | 251 |
253 ## BRK files | 252 ## BRK files |
254 BREAK_TREE=brkitr | 253 BREAK_TREE=brkitr |
255 -include $(BRKSRCDIR)/brkfiles.mk | 254 -include $(BRKSRCDIR)/brkfiles.mk |
256 -include $(BRKSRCDIR)/brklocal.mk | 255 -include $(BRKSRCDIR)/brklocal.mk |
257 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) | 256 ALL_BRK_SOURCE= $(BRK_SOURCE) $(BRK_SOURCE_LOCAL) |
258 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) | 257 BRK_FILES_SHORT=$(ALL_BRK_SOURCE:%.txt=$(BREAK_TREE)/%.brk) |
259 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) | 258 BRK_FILES=$(ALL_BRK_SOURCE:%.txt=$(BRKBLDDIR)/%.brk) |
260 ifdef BRK_DICT_SOURCE | 259 ifdef BRK_DICT_SOURCE |
(...skipping 10 matching lines...) Expand all Loading... |
271 ## Confusables (Spoofing) files | 270 ## Confusables (Spoofing) files |
272 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt | 271 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWh
oleScript.txt |
273 CFU_FILES_SHORT=confusables.cfu | 272 CFU_FILES_SHORT=confusables.cfu |
274 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) | 273 CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) |
275 | 274 |
276 ## UCM files | 275 ## UCM files |
277 -include $(UCMSRCDIR)/ucmcore.mk | 276 -include $(UCMSRCDIR)/ucmcore.mk |
278 -include $(UCMSRCDIR)/ucmfiles.mk | 277 -include $(UCMSRCDIR)/ucmfiles.mk |
279 -include $(UCMSRCDIR)/ucmebcdic.mk | 278 -include $(UCMSRCDIR)/ucmebcdic.mk |
280 -include $(UCMSRCDIR)/ucmlocal.mk | 279 -include $(UCMSRCDIR)/ucmlocal.mk |
281 # Chromium: Drop 2 ibm encodings not necessary. | 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) |
282 ALL_UCM_SOURCE=$(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM
_SOURCE_LOCAL) | |
283 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) | 281 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) |
284 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) | 282 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) |
285 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) | 283 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) |
286 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) | 284 UCM_SOURCE_SPECIAL=$(UCM_SOURCE_EBCDIC_IGNORE_SISO) $(UCM_SOURCE_EBCDIC_IGNORE_S
ISO_LOCAL) |
287 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) | 285 UCM_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%=$(UCMSRCDIR)/%) |
288 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) | 286 CNV_FILES_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=$(BUILDDIR)/%.cnv) |
289 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) | 287 CNV_FILES_SHORT_SPECIAL=$(UCM_SOURCE_SPECIAL:%.ucm=%.cnv) |
290 | 288 |
291 ## RES files | 289 ## RES files |
292 -include $(LOCSRCDIR)/resfiles.mk | 290 -include $(LOCSRCDIR)/resfiles.mk |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 ifdef RBNF_SOURCE | 344 ifdef RBNF_SOURCE |
347 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL) | 345 RBNF_SRC= root.txt $(RBNF_SOURCE) $(RBNF_ALIAS_SOURCE) $(RBNF_SOURCE_LOCAL) |
348 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) | 346 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) |
349 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) | 347 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) |
350 endif | 348 endif |
351 ifdef TRANSLIT_SOURCE | 349 ifdef TRANSLIT_SOURCE |
352 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA
L) | 350 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA
L) |
353 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) | 351 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) |
354 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:%
.txt=%) | 352 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:%
.txt=%) |
355 endif | 353 endif |
356 # Chromium : To save space, use '-R' option (exclude collation rules. just | 354 GENRBOPTS=-k |
357 # include the compiled binary data.) | |
358 GENRBOPTS=-k -R | |
359 | 355 |
360 ## MISC files | 356 ## MISC files |
361 -include $(MISCSRCDIR)/miscfiles.mk | 357 -include $(MISCSRCDIR)/miscfiles.mk |
362 -include $(MISCSRCDIR)/misclocal.mk | 358 -include $(MISCSRCDIR)/misclocal.mk |
363 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) | 359 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) |
364 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) | 360 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) |
365 | 361 |
366 ifeq ($(ENABLE_SO_VERSION_DATA),1) | 362 ifeq ($(ENABLE_SO_VERSION_DATA),1) |
367 ifeq ($(PKGDATA_MODE),dll) | 363 ifeq ($(PKGDATA_MODE),dll) |
368 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res | 364 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) | 522 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL
EXEEXT) |
527 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t | 523 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx
t |
528 | 524 |
529 # Targets for prebuilt Unicode data | 525 # Targets for prebuilt Unicode data |
530 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu | 526 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu |
531 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 527 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
532 | 528 |
533 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm | 529 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm |
534 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 530 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
535 | 531 |
536 # Chromium: To cut down the data size by 280kB, | 532 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu |
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 | |
544 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ | 533 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ |
545 | 534 |
546 #################################################### SPP | 535 #################################################### SPP |
547 # SPP FILES | 536 # SPP FILES |
548 | 537 |
549 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu | 538 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU
ILDDIR)/unames.icu |
550 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) | 539 $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPRE
PSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F) |
551 | 540 |
552 #################################################### BRK | 541 #################################################### BRK |
553 # BRK FILES | 542 # BRK FILES |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
938 done; | 927 done; |
939 | 928 |
940 ifeq ($(POST_DATA_BUILD), os400-data-rebind) | 929 ifeq ($(POST_DATA_BUILD), os400-data-rebind) |
941 os400-data-rebind: $(LIBICUUC) | 930 os400-data-rebind: $(LIBICUUC) |
942 | 931 |
943 $(LIBICUUC): $(LIBICUDT) | 932 $(LIBICUUC): $(LIBICUDT) |
944 $(RMV) $(LIBICUUC) | 933 $(RMV) $(LIBICUUC) |
945 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; | 934 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; |
946 endif | 935 endif |
947 | 936 |
OLD | NEW |