| OLD | NEW |
| 1 #********************************************************************** | 1 #********************************************************************** |
| 2 #* Copyright (C) 1999-2013, International Business Machines Corporation | 2 #* Copyright (C) 1999-2014, International Business Machines Corporation |
| 3 #* and others. All Rights Reserved. | 3 #* and others. All Rights Reserved. |
| 4 #********************************************************************** | 4 #********************************************************************** |
| 5 # nmake file for creating data files on win32 | 5 # nmake file for creating data files on win32 |
| 6 # invoke with | 6 # invoke with |
| 7 # nmake /f makedata.mak icumake=$(ProjectDir) | 7 # nmake /f makedata.mak icumake=$(ProjectDir) |
| 8 # | 8 # |
| 9 # 12/10/1999 weiv Created | 9 # 12/10/1999 weiv Created |
| 10 | 10 |
| 11 ############################################################################## | 11 ############################################################################## |
| 12 # Keep the following in sync with the version - see common/unicode/uvernum.h | 12 # Keep the following in sync with the version - see common/unicode/uvernum.h |
| 13 U_ICUDATA_NAME=icudt52 | 13 U_ICUDATA_NAME=icudt54 |
| 14 ############################################################################## | 14 ############################################################################## |
| 15 U_ICUDATA_ENDIAN_SUFFIX=l | 15 U_ICUDATA_ENDIAN_SUFFIX=l |
| 16 UNICODE_VERSION=6.3 | 16 UNICODE_VERSION=7.0 |
| 17 ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll | 17 ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll |
| 18 | 18 |
| 19 # ICUMAKE | 19 # ICUMAKE |
| 20 # Must be provided by whoever runs this makefile. | 20 # Must be provided by whoever runs this makefile. |
| 21 # Is the directory containing this file (makedata.mak) | 21 # Is the directory containing this file (makedata.mak) |
| 22 # Is the directory into which most data is built (prior to packaging) | 22 # Is the directory into which most data is built (prior to packaging) |
| 23 # Is icu\source\data\ | 23 # Is icu\source\data\ |
| 24 # | 24 # |
| 25 !IF "$(ICUMAKE)"=="" | 25 !IF "$(ICUMAKE)"=="" |
| 26 !ERROR Can't find ICUMAKE (ICU Data Make dir, should point to icu\source\data\ )
! | 26 !ERROR Can't find ICUMAKE (ICU Data Make dir, should point to icu\source\data\ )
! |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 | 349 |
| 350 # Read the list of time zone display name resource bundle files | 350 # Read the list of time zone display name resource bundle files |
| 351 !IF EXISTS("$(ICUSRCDATA)\zone\resfiles.mk") | 351 !IF EXISTS("$(ICUSRCDATA)\zone\resfiles.mk") |
| 352 !INCLUDE "$(ICUSRCDATA)\zone\resfiles.mk" | 352 !INCLUDE "$(ICUSRCDATA)\zone\resfiles.mk" |
| 353 !IF EXISTS("$(ICUSRCDATA)\zone\reslocal.mk") | 353 !IF EXISTS("$(ICUSRCDATA)\zone\reslocal.mk") |
| 354 !INCLUDE "$(ICUSRCDATA)\zone\reslocal.mk" | 354 !INCLUDE "$(ICUSRCDATA)\zone\reslocal.mk" |
| 355 ZONE_SOURCE=$(ZONE_SOURCE) $(ZONE_SOURCE_LOCAL) | 355 ZONE_SOURCE=$(ZONE_SOURCE) $(ZONE_SOURCE_LOCAL) |
| 356 !ELSE | 356 !ELSE |
| 357 !MESSAGE Information: cannot find "zone\reslocal.mk". Not building user-addition
al resource bundle files. | 357 !MESSAGE Information: cannot find "zone\reslocal.mk". Not building user-addition
al resource bundle files. |
| 358 !ENDIF | 358 !ENDIF |
| 359 ZONE_SOURCE=$(ZONE_SOURCE) tzdbNames.txt |
| 359 !ELSE | 360 !ELSE |
| 360 !MESSAGE Warning: cannot find "zone\resfiles.mk" | 361 !MESSAGE Warning: cannot find "zone\resfiles.mk" |
| 361 !ENDIF | 362 !ENDIF |
| 362 | 363 |
| 363 !IFDEF ZONE_SOURCE | 364 !IFDEF ZONE_SOURCE |
| 364 ZONE_FILES = zone\root.txt $(ZONE_ALIAS_SOURCE) $(ZONE_SOURCE) | 365 ZONE_FILES = zone\root.txt $(ZONE_ALIAS_SOURCE) $(ZONE_SOURCE) |
| 365 ZONE_RES_FILES = $(ZONE_FILES:.txt =.res zone\) | 366 ZONE_RES_FILES = $(ZONE_FILES:.txt =.res zone\) |
| 366 ZONE_RES_FILES = $(ZONE_RES_FILES:.txt=.res) | 367 ZONE_RES_FILES = $(ZONE_RES_FILES:.txt=.res) |
| 367 ZONE_RES_FILES = zone\pool.res $(ZONE_RES_FILES:zone\ =zone\) | 368 ZONE_RES_FILES = zone\pool.res $(ZONE_RES_FILES:zone\ =zone\) |
| 368 ALL_RES = $(ALL_RES) zone\res_index.res | 369 ALL_RES = $(ALL_RES) zone\res_index.res |
| 369 !ENDIF | 370 !ENDIF |
| 370 | 371 |
| 372 # Read the list of units display name resource bundle files |
| 373 !IF EXISTS("$(ICUSRCDATA)\unit\resfiles.mk") |
| 374 !INCLUDE "$(ICUSRCDATA)\unit\resfiles.mk" |
| 375 !IF EXISTS("$(ICUSRCDATA)\unit\reslocal.mk") |
| 376 !INCLUDE "$(ICUSRCDATA)\unit\reslocal.mk" |
| 377 UNIT_SOURCE=$(UNIT_SOURCE) $(UNIT_SOURCE_LOCAL) |
| 378 !ELSE |
| 379 !MESSAGE Information: cannot find "unit\reslocal.mk". Not building user-addition
al resource bundle files. |
| 380 !ENDIF |
| 381 !ELSE |
| 382 !MESSAGE Warning: cannot find "unit\resfiles.mk" |
| 383 !ENDIF |
| 384 |
| 385 !IFDEF UNIT_SOURCE |
| 386 UNIT_FILES = unit\root.txt $(UNIT_ALIAS_SOURCE) $(UNIT_SOURCE) |
| 387 UNIT_RES_FILES = $(UNIT_FILES:.txt =.res unit\) |
| 388 UNIT_RES_FILES = $(UNIT_RES_FILES:.txt=.res) |
| 389 UNIT_RES_FILES = unit\pool.res $(UNIT_RES_FILES:unit\ =unit\) |
| 390 ALL_RES = $(ALL_RES) unit\res_index.res |
| 391 !ENDIF |
| 392 |
| 371 # Read the list of collation resource bundle files | 393 # Read the list of collation resource bundle files |
| 372 !IF EXISTS("$(ICUSRCDATA)\$(ICUCOL)\colfiles.mk") | 394 !IF EXISTS("$(ICUSRCDATA)\$(ICUCOL)\colfiles.mk") |
| 373 !INCLUDE "$(ICUSRCDATA)\$(ICUCOL)\colfiles.mk" | 395 !INCLUDE "$(ICUSRCDATA)\$(ICUCOL)\colfiles.mk" |
| 374 !IF EXISTS("$(ICUSRCDATA)\$(ICUCOL)\collocal.mk") | 396 !IF EXISTS("$(ICUSRCDATA)\$(ICUCOL)\collocal.mk") |
| 375 !INCLUDE "$(ICUSRCDATA)\$(ICUCOL)\collocal.mk" | 397 !INCLUDE "$(ICUSRCDATA)\$(ICUCOL)\collocal.mk" |
| 376 COLLATION_SOURCE=$(COLLATION_SOURCE) $(COLLATION_SOURCE_LOCAL) | 398 COLLATION_SOURCE=$(COLLATION_SOURCE) $(COLLATION_SOURCE_LOCAL) |
| 377 !ELSE | 399 !ELSE |
| 378 !MESSAGE Information: cannot find "collocal.mk". Not building user-additional re
source bundle files. | 400 !MESSAGE Information: cannot find "collocal.mk". Not building user-additional re
source bundle files. |
| 379 !ENDIF | 401 !ENDIF |
| 380 !ELSE | 402 !ELSE |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 | 493 |
| 472 ############################################################################# | 494 ############################################################################# |
| 473 # | 495 # |
| 474 # ALL | 496 # ALL |
| 475 # This target builds all the data files. The world starts here. | 497 # This target builds all the data files. The world starts here. |
| 476 # Note: we really want the common data dll to go to $(DLL_
OUTPUT), not $(ICUBLD_PKG). But specifying | 498 # Note: we really want the common data dll to go to $(DLL_
OUTPUT), not $(ICUBLD_PKG). But specifying |
| 477 # that here seems to cause confusion with the buil
ding of the stub library of the same name. | 499 # that here seems to cause confusion with the buil
ding of the stub library of the same name. |
| 478 # Building the common dll in $(ICUBLD_PKG) uncondi
tionally copies it to $(DLL_OUTPUT) too. | 500 # Building the common dll in $(ICUBLD_PKG) uncondi
tionally copies it to $(DLL_OUTPUT) too. |
| 479 # | 501 # |
| 480 ############################################################################# | 502 ############################################################################# |
| 481 ALL : GODATA "$(ICU_LIB_TARGET)" | 503 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" |
| 482 @echo All targets are up to date | 504 @echo All targets are up to date |
| 483 | 505 |
| 484 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) | 506 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) |
| 485 # are hardcoded in the common DLL and therefore not included in the data package
any more. | 507 # are hardcoded in the common DLL and therefore not included in the data package
any more. |
| 486 # They are not built by default but need to be built for ICU4J data and for gett
ing the .c source files | 508 # They are not built by default but need to be built for ICU4J data and for gett
ing the .c source files |
| 487 # when updating the Unicode data. | 509 # when updating the Unicode data. |
| 488 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. | 510 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. |
| 489 # 2010-dec Removed pnames.icu. | 511 # 2010-dec Removed pnames.icu. |
| 490 # Command line: | 512 # Command line: |
| 491 # C:\svn\icuproj\icu\trunk\source\data>nmake -f makedata.mak ICUMAKE=C:\svn\ic
uproj\icu\trunk\source\data\ CFG=x86\Debug uni-core-data | 513 # C:\svn\icuproj\icu\trunk\source\data>nmake -f makedata.mak ICUMAKE=C:\svn\ic
uproj\icu\trunk\source\data\ CFG=x86\Debug uni-core-data |
| 492 uni-core-data: GODATA "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "$(I
CUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" | 514 uni-core-data: GODATA "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "$(I
CUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" "$(ICUBLD_PKG)\nfc.nrm" |
| 493 @echo Unicode .icu files built to "$(ICUBLD_PKG)" | 515 @echo Unicode .icu files built to "$(ICUBLD_PKG)" |
| 494 | 516 |
| 495 # Build the ICU4J icudata.jar and testdata.jar. | 517 # Build the ICU4J icudata.jar and testdata.jar. |
| 496 # see icu4j-readme.txt | 518 # see icu4j-readme.txt |
| 497 | 519 |
| 498 ICU4J_TZDATA="$(ICUOUT)\icu4j\icutzdata.jar" | 520 ICU4J_TZDATA="$(ICUOUT)\icu4j\icutzdata.jar" |
| 499 ICU4J_DATA_DIRNAME=com\ibm\icu\impl\data\$(U_ICUDATA_NAME)b | 521 ICU4J_DATA_DIRNAME=com\ibm\icu\impl\data\$(U_ICUDATA_NAME)b |
| 500 ICU4J_TZDATA_PATHS=$(ICU4J_DATA_DIRNAME)\zoneinfo64.res $(ICU4J_DATA_DIRNAME)\me
taZones.res $(ICU4J_DATA_DIRNAME)\timezoneTypes.res $(ICU4J_DATA_DIRNAME)\window
sZones.res | 522 ICU4J_TZDATA_PATHS=$(ICU4J_DATA_DIRNAME)\zoneinfo64.res $(ICU4J_DATA_DIRNAME)\me
taZones.res $(ICU4J_DATA_DIRNAME)\timezoneTypes.res $(ICU4J_DATA_DIRNAME)\window
sZones.res |
| 501 | 523 |
| 502 generate-data: GODATA "$(ICUOUT)\$(ICUPKG).dat" uni-core-data | 524 generate-data: GODATA "$(ICUOUT)\$(ICUPKG).dat" uni-core-data |
| 503 if not exist "$(ICUOUT)\icu4j\$(ICU4J_DATA_DIRNAME)" mkdir "$(ICUOUT)\ic
u4j\$(ICU4J_DATA_DIRNAME)" | 525 if not exist "$(ICUOUT)\icu4j\$(ICU4J_DATA_DIRNAME)" mkdir "$(ICUOUT)\ic
u4j\$(ICU4J_DATA_DIRNAME)" |
| 504 if not exist "$(ICUOUT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" mkdir "$(ICU
OUT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" | 526 if not exist "$(ICUOUT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" mkdir "$(ICU
OUT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" |
| 505 » echo pnames.icu ubidi.icu ucase.icu uprops.icu > "$(ICUOUT)\icu4j\add.tx
t" | 527 » echo pnames.icu ubidi.icu ucase.icu uprops.icu nfc.nrm > "$(ICUOUT)\icu4
j\add.txt" |
| 506 "$(ICUPBIN)\icupkg" "$(ICUOUT)\$(ICUPKG).dat" "$(ICUOUT)\icu4j\$(U_ICUDA
TA_NAME)b.dat" -a "$(ICUOUT)\icu4j\add.txt" -s "$(ICUBLD_PKG)" -x * -tb -d "$(IC
UOUT)\icu4j\$(ICU4J_DATA_DIRNAME)" | 528 "$(ICUPBIN)\icupkg" "$(ICUOUT)\$(ICUPKG).dat" "$(ICUOUT)\icu4j\$(U_ICUDA
TA_NAME)b.dat" -a "$(ICUOUT)\icu4j\add.txt" -s "$(ICUBLD_PKG)" -x * -tb -d "$(IC
UOUT)\icu4j\$(ICU4J_DATA_DIRNAME)" |
| 507 @for %f in ($(ICU4J_TZDATA_PATHS)) do @move "$(ICUOUT)\icu4j\%f" "$(ICUO
UT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" | 529 @for %f in ($(ICU4J_TZDATA_PATHS)) do @move "$(ICUOUT)\icu4j\%f" "$(ICUO
UT)\icu4j\tzdata\$(ICU4J_DATA_DIRNAME)" |
| 508 | 530 |
| 509 "$(ICUOUT)\icu4j\icutzdata.jar": GODATA generate-data | 531 "$(ICUOUT)\icu4j\icutzdata.jar": GODATA generate-data |
| 510 "$(JAR)" cf "$(ICUOUT)\icu4j\icutzdata.jar" -C "$(ICUOUT)\icu4j\tzdata"
"$(ICU4J_DATA_DIRNAME)" | 532 "$(JAR)" cf "$(ICUOUT)\icu4j\icutzdata.jar" -C "$(ICUOUT)\icu4j\tzdata"
"$(ICU4J_DATA_DIRNAME)" |
| 511 | 533 |
| 512 # Build icudata.jar: | 534 # Build icudata.jar: |
| 513 # - add the uni-core-data to the ICU package | 535 # - add the uni-core-data to the ICU package |
| 514 # - swap the ICU data | 536 # - swap the ICU data |
| 515 # - extract all data items | 537 # - extract all data items |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 # | 612 # |
| 591 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) | 613 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) |
| 592 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) | 614 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) |
| 593 # | 615 # |
| 594 !IFDEF ICUDATA_SOURCE_ARCHIVE | 616 !IFDEF ICUDATA_SOURCE_ARCHIVE |
| 595 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) "$(ICUDATA_SOURCE_ARCHIVE)" | 617 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) "$(ICUDATA_SOURCE_ARCHIVE)" |
| 596 @echo Building icu data from $(ICUDATA_SOURCE_ARCHIVE) | 618 @echo Building icu data from $(ICUDATA_SOURCE_ARCHIVE) |
| 597 cd "$(ICUBLD_PKG)" | 619 cd "$(ICUBLD_PKG)" |
| 598 "$(ICUPBIN)\icupkg" -x * --list "$(ICUDATA_SOURCE_ARCHIVE)" > "$(ICUTMP)
\icudata.lst" | 620 "$(ICUPBIN)\icupkg" -x * --list "$(ICUDATA_SOURCE_ARCHIVE)" > "$(ICUTMP)
\icudata.lst" |
| 599 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) "$(ICUTMP)\icudata.lst" | 621 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) "$(ICUTMP)\icudata.lst" |
| 600 editbin /NXCOMPAT /DYNAMICBASE "$(U_ICUDATA_NAME).dll" | |
| 601 copy "$(U_ICUDATA_NAME).dll" "$(DLL_OUTPUT)" | 622 copy "$(U_ICUDATA_NAME).dll" "$(DLL_OUTPUT)" |
| 602 -@erase "$(U_ICUDATA_NAME).dll" | 623 -@erase "$(U_ICUDATA_NAME).dll" |
| 603 copy "$(ICUTMP)\$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_E
NDIAN_SUFFIX).dat" | 624 copy "$(ICUTMP)\$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_E
NDIAN_SUFFIX).dat" |
| 604 -@erase "$(ICUTMP)\$(ICUPKG).dat" | 625 -@erase "$(ICUTMP)\$(ICUPKG).dat" |
| 605 !ELSE | 626 !ELSE |
| 606 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) $(CNV_FILES) $(CNV_FILES_SP
ECIAL) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\nf
c.nrm" "$(ICUBLD_PKG)\nfkc.nrm" "$(ICUBLD_PKG)\nfkc_cf.nrm" "$(ICUBLD_PKG)\uts46
.nrm" "$(ICUBLD_PKG)\$(ICUCOL)\ucadata.icu" "$(ICUBLD_PKG)\$(ICUCOL)\invuca.icu"
$(CURR_RES_FILES) $(LANG_RES_FILES) $(REGION_RES_FILES) $(ZONE_RES_FILES) $(BRK
_FILES) $(BRK_DICT_FILES) $(BRK_RES_FILES) $(ALL_RES) $(COL_COL_FILES) $(RBNF_RE
S_FILES) $(TRANSLIT_RES_FILES) $(SPREP_FILES) "$(ICUBLD_PKG)\confusables.cfu" | 627 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) $(CNV_FILES) $(CNV_FILES_SP
ECIAL) "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\cnvalias.icu" "$(ICUBLD_PKG)\nf
kc.nrm" "$(ICUBLD_PKG)\nfkc_cf.nrm" "$(ICUBLD_PKG)\uts46.nrm" "$(ICUBLD_PKG)\$(I
CUCOL)\ucadata.icu" $(CURR_RES_FILES) $(LANG_RES_FILES) $(REGION_RES_FILES) $(Z
ONE_RES_FILES) $(UNIT_RES_FILES) $(BRK_FILES) $(BRK_DICT_FILES) $(BRK_RES_FILES)
$(ALL_RES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(TRANSLIT_RES_FILES) $(SPREP_FIL
ES) "$(ICUBLD_PKG)\confusables.cfu" |
| 607 @echo Building icu data | 628 @echo Building icu data |
| 608 cd "$(ICUBLD_PKG)" | 629 cd "$(ICUBLD_PKG)" |
| 609 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) <<"$(ICUTMP)\icudata.ls
t" | 630 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) <<"$(ICUTMP)\icudata.ls
t" |
| 610 unames.icu | 631 unames.icu |
| 611 confusables.cfu | 632 confusables.cfu |
| 612 $(ICUCOL)\ucadata.icu | 633 $(ICUCOL)\ucadata.icu |
| 613 $(ICUCOL)\invuca.icu | |
| 614 cnvalias.icu | 634 cnvalias.icu |
| 615 nfc.nrm | |
| 616 nfkc.nrm | 635 nfkc.nrm |
| 617 nfkc_cf.nrm | 636 nfkc_cf.nrm |
| 618 uts46.nrm | 637 uts46.nrm |
| 619 $(CNV_FILES:.cnv =.cnv | 638 $(CNV_FILES:.cnv =.cnv |
| 620 ) | 639 ) |
| 621 $(CNV_FILES_SPECIAL:.cnv =.cnv | 640 $(CNV_FILES_SPECIAL:.cnv =.cnv |
| 622 ) | 641 ) |
| 623 $(ALL_RES:.res =.res | 642 $(ALL_RES:.res =.res |
| 624 ) | 643 ) |
| 625 $(CURR_RES_FILES:.res =.res | 644 $(CURR_RES_FILES:.res =.res |
| 626 ) | 645 ) |
| 627 $(LANG_RES_FILES:.res =.res | 646 $(LANG_RES_FILES:.res =.res |
| 628 ) | 647 ) |
| 629 $(REGION_RES_FILES:.res =.res | 648 $(REGION_RES_FILES:.res =.res |
| 630 ) | 649 ) |
| 631 $(ZONE_RES_FILES:.res =.res | 650 $(ZONE_RES_FILES:.res =.res |
| 632 ) | 651 ) |
| 652 $(UNIT_RES_FILES:.res =.res |
| 653 ) |
| 633 $(COL_COL_FILES:.res =.res | 654 $(COL_COL_FILES:.res =.res |
| 634 ) | 655 ) |
| 635 $(RBNF_RES_FILES:.res =.res | 656 $(RBNF_RES_FILES:.res =.res |
| 636 ) | 657 ) |
| 637 $(TRANSLIT_RES_FILES:.res =.res | 658 $(TRANSLIT_RES_FILES:.res =.res |
| 638 ) | 659 ) |
| 639 $(BRK_FILES:.brk =.brk | 660 $(BRK_FILES:.brk =.brk |
| 640 ) | 661 ) |
| 641 $(BRK_DICT_FILES:.dict =.dict | 662 $(BRK_DICT_FILES:.dict =.dict |
| 642 ) | 663 ) |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 @echo Creating $@ | 756 @echo Creating $@ |
| 736 @"$(ICUTOOLS)\genbrk\$(CFG)\genbrk" -c -r $< -o $@ -d"$(ICUBLD_PKG)" -i
"$(ICUBLD_PKG)" | 757 @"$(ICUTOOLS)\genbrk\$(CFG)\genbrk" -c -r $< -o $@ -d"$(ICUBLD_PKG)" -i
"$(ICUBLD_PKG)" |
| 737 | 758 |
| 738 #RBBI .dict file generation. | 759 #RBBI .dict file generation. |
| 739 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)}.txt.dict: | 760 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)}.txt.dict: |
| 740 @echo Creating $@ | 761 @echo Creating $@ |
| 741 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@" | 762 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@" |
| 742 | 763 |
| 743 $(ICUBRK)\thaidict.dict: | 764 $(ICUBRK)\thaidict.dict: |
| 744 @echo Creating $(ICUBRK)\thaidict.dict | 765 @echo Creating $(ICUBRK)\thaidict.dict |
| 745 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0xe0
0 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\thaidict.txt "$(ICUBLD_PKG)\$(ICUBRK)\th
aidict.dict" | 766 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e
00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\thaidict.txt "$(ICUBLD_PKG)\$(ICUBRK)\t
haidict.dict" |
| 746 | 767 |
| 747 $(ICUBRK)\laodict.dict: | 768 $(ICUBRK)\laodict.dict: |
| 748 @echo Creating $(ICUBRK)\laodict.dict | 769 @echo Creating $(ICUBRK)\laodict.dict |
| 749 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0xe0
0 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\laodict.txt "$(ICUBLD_PKG)\$(ICUBRK)\lao
dict.dict" | 770 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e
80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\laodict.txt "$(ICUBLD_PKG)\$(ICUBRK)\la
odict.dict" |
| 771 |
| 772 $(ICUBRK)\burmesedict.dict: |
| 773 » @echo Creating $(ICUBRK)\burmesedict.dict |
| 774 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x10
00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\burmesedict.txt "$(ICUBLD_PKG)\$(ICUBRK
)\burmesedict.dict" |
| 750 | 775 |
| 751 $(ICUBRK)\khmerdict.dict: | 776 $(ICUBRK)\khmerdict.dict: |
| 752 @echo Creating $(ICUBRK)\khmerdict.dict | 777 @echo Creating $(ICUBRK)\khmerdict.dict |
| 753 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x17
80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\khmerdict.txt "$(ICUBLD_PKG)\$(ICUBRK)\
khmerdict.dict" | 778 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x17
80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\khmerdict.txt "$(ICUBLD_PKG)\$(ICUBRK)\
khmerdict.dict" |
| 754 | 779 |
| 755 !IFNDEF ICUDATA_SOURCE_ARCHIVE | 780 !IFNDEF ICUDATA_SOURCE_ARCHIVE |
| 756 # Rule for creating converters | 781 # Rule for creating converters |
| 757 $(CNV_FILES): $(UCM_SOURCE) | 782 $(CNV_FILES): $(UCM_SOURCE) |
| 758 @echo Building Charset Conversion table $(@B) | 783 @echo Building Charset Conversion table $(@B) |
| 759 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c -d"$(ICUBLD_PKG)" $(ICUSRCDAT
A_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm | 784 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c -d"$(ICUBLD_PKG)" $(ICUSRCDAT
A_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 res_index:table(nofallback) { | 903 res_index:table(nofallback) { |
| 879 InstalledLocales { | 904 InstalledLocales { |
| 880 $(ZONE_SOURCE:.txt= {""} | 905 $(ZONE_SOURCE:.txt= {""} |
| 881 ) | 906 ) |
| 882 } | 907 } |
| 883 } | 908 } |
| 884 <<KEEP | 909 <<KEEP |
| 885 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\zone" .\zone\res_i
ndex.txt | 910 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\zone" .\zone\res_i
ndex.txt |
| 886 | 911 |
| 887 | 912 |
| 913 {$(ICUSRCDATA_RELATIVE_PATH)\unit}.txt{unit}.res:: |
| 914 @echo Making unit display name files |
| 915 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\unit -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\unit" $< |
| 916 |
| 917 # copy the unit/pool.res file from the source folder to the build output folder |
| 918 # and swap it to native endianness |
| 919 unit\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res |
| 920 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res" unit
\pool.res |
| 921 |
| 922 unit\res_index.res: |
| 923 @echo Generating <<unit\res_index.txt |
| 924 // Warning this file is automatically generated |
| 925 res_index:table(nofallback) { |
| 926 InstalledLocales { |
| 927 $(UNIT_SOURCE:.txt= {""} |
| 928 ) |
| 929 } |
| 930 } |
| 931 <<KEEP |
| 932 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\unit" .\unit\res_i
ndex.txt |
| 933 |
| 934 |
| 888 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUCOL)}.txt{$(ICUCOL)}.res:: | 935 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUCOL)}.txt{$(ICUCOL)}.res:: |
| 889 @echo Making Collation files | 936 @echo Making Collation files |
| 890 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICUCOL)" $< | 937 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICUCOL)" $< |
| 891 | 938 |
| 892 $(ICUCOL)\res_index.res: | 939 $(ICUCOL)\res_index.res: |
| 893 @echo Generating <<$(ICUCOL)\res_index.txt | 940 @echo Generating <<$(ICUCOL)\res_index.txt |
| 894 // Warning this file is automatically generated | 941 // Warning this file is automatically generated |
| 895 res_index:table(nofallback) { | 942 res_index:table(nofallback) { |
| 896 InstalledLocales { | 943 InstalledLocales { |
| 897 $(COLLATION_SOURCE:.txt= {""} | 944 $(COLLATION_SOURCE:.txt= {""} |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 | 1017 |
| 971 "$(ICUBLD_PKG)\nfkc.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc.nrm | 1018 "$(ICUBLD_PKG)\nfkc.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc.nrm |
| 972 "$(ICUPBIN)\icupkg" -tl $? $@ | 1019 "$(ICUPBIN)\icupkg" -tl $? $@ |
| 973 | 1020 |
| 974 "$(ICUBLD_PKG)\nfkc_cf.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc_cf.nrm | 1021 "$(ICUBLD_PKG)\nfkc_cf.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\nfkc_cf.nrm |
| 975 "$(ICUPBIN)\icupkg" -tl $? $@ | 1022 "$(ICUPBIN)\icupkg" -tl $? $@ |
| 976 | 1023 |
| 977 "$(ICUBLD_PKG)\uts46.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\uts46.nrm | 1024 "$(ICUBLD_PKG)\uts46.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\uts46.nrm |
| 978 "$(ICUPBIN)\icupkg" -tl $? $@ | 1025 "$(ICUPBIN)\icupkg" -tl $? $@ |
| 979 | 1026 |
| 980 "$(ICUBLD_PKG)\coll\invuca.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\coll\invuca.icu | 1027 "$(ICUBLD_PKG)\coll\ucadata.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\coll\ucadata-un
ihan.icu |
| 981 » "$(ICUPBIN)\icupkg" -tl $? $@ | |
| 982 | |
| 983 "$(ICUBLD_PKG)\coll\ucadata.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\coll\ucadata.ic
u | |
| 984 "$(ICUPBIN)\icupkg" -tl $? $@ | 1028 "$(ICUPBIN)\icupkg" -tl $? $@ |
| 985 | 1029 |
| 986 # Stringprep .spp file generation. | 1030 # Stringprep .spp file generation. |
| 987 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUSPREP)}.txt.spp: | 1031 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUSPREP)}.txt.spp: |
| 988 @echo Creating $@ | 1032 @echo Creating $@ |
| 989 @"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s $(<D) -d "$(ICUBLD_PKG)" -b $
(@B) -m "$(ICUUNIDATA)" -u 3.2.0 $(<F) | 1033 @"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s $(<D) -d "$(ICUBLD_PKG)" -b $
(@B) -m "$(ICUUNIDATA)" -u 3.2.0 $(<F) |
| 990 | 1034 |
| 991 # Confusables .cfu file generation | 1035 # Confusables .cfu file generation |
| 992 # Can't use an inference rule because two .txt source files combine to produ
ce a single .cfu output file | 1036 # Can't use an inference rule because two .txt source files combine to produ
ce a single .cfu output file |
| 993 "$(ICUBLD_PKG)\confusables.cfu": "$(ICUUNIDATA)\confusables.txt" "$(ICUUNIDATA)\
confusablesWholeScript.txt" "$(ICUTOOLS)\gencfu\$(CFG)\gencfu.exe" | 1037 "$(ICUBLD_PKG)\confusables.cfu": "$(ICUUNIDATA)\confusables.txt" "$(ICUUNIDATA)\
confusablesWholeScript.txt" "$(ICUTOOLS)\gencfu\$(CFG)\gencfu.exe" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 1004 !IFNDEF ICUDATA_SOURCE_ARCHIVE | 1048 !IFNDEF ICUDATA_SOURCE_ARCHIVE |
| 1005 $(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe | 1049 $(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe |
| 1006 | 1050 |
| 1007 !IFDEF BUILD_SPECIAL_CNV_FILES | 1051 !IFDEF BUILD_SPECIAL_CNV_FILES |
| 1008 $(UCM_SOURCE_SPECIAL): {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe | 1052 $(UCM_SOURCE_SPECIAL): {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe |
| 1009 !ENDIF | 1053 !ENDIF |
| 1010 | 1054 |
| 1011 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" | 1055 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" |
| 1012 # This data is now hard coded as a part of the library. | 1056 # This data is now hard coded as a part of the library. |
| 1013 # See Jitterbug 4497 for details. | 1057 # See Jitterbug 4497 for details. |
| 1014 $(MISC_SOURCE) $(RB_FILES) $(CURR_FILES) $(LANG_FILES) $(REGION_FILES) $(ZONE_FI
LES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(BRK_RES_FILES) $(TRANSLIT_RES_FILES):
{"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe "$(ICUBLD_PKG)\nfc.nrm" "$(ICUBLD_PKG)\$(I
CUCOL)\ucadata.icu" | 1058 $(MISC_SOURCE) $(RB_FILES) $(CURR_FILES) $(LANG_FILES) $(REGION_FILES) $(ZONE_FI
LES) $(UNIT_FILES) $(COL_COL_FILES) $(RBNF_RES_FILES) $(BRK_RES_FILES) $(TRANSLI
T_RES_FILES): {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe "$(ICUBLD_PKG)\$(ICUCOL)\uca
data.icu" |
| 1015 | 1059 |
| 1016 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" | 1060 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" |
| 1017 # These are now hardcoded in ICU4C and only loaded in ICU4J. | 1061 # These are now hardcoded in ICU4C and only loaded in ICU4J. |
| 1018 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" "$(ICUBLD_PKG)\nfc.nrm" | 1062 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" |
| 1019 !ENDIF | 1063 !ENDIF |
| 1020 | |
| OLD | NEW |