OLD | NEW |
1 # Copyright (C) 2016 and later: Unicode, Inc. and others. | 1 # Copyright (C) 2016 and later: Unicode, Inc. and others. |
2 # License & terms of use: http://www.unicode.org/copyright.html | 2 # License & terms of use: http://www.unicode.org/copyright.html |
3 #********************************************************************** | 3 #********************************************************************** |
4 #* Copyright (C) 1999-2016, International Business Machines Corporation | 4 #* Copyright (C) 1999-2016, International Business Machines Corporation |
5 #* and others. All Rights Reserved. | 5 #* and others. All Rights Reserved. |
6 #********************************************************************** | 6 #********************************************************************** |
7 # nmake file for creating data files on win32 | 7 # nmake file for creating data files on win32 |
8 # invoke with | 8 # invoke with |
9 # nmake /f makedata.mak icumake=$(ProjectDir) | 9 # nmake /f makedata.mak icumake=$(ProjectDir) |
10 # | 10 # |
11 # 12/10/1999 weiv Created | 11 # 12/10/1999 weiv Created |
12 | 12 |
13 ############################################################################## | 13 ############################################################################## |
14 # Keep the following in sync with the version - see common/unicode/uvernum.h | 14 # Keep the following in sync with the version - see common/unicode/uvernum.h |
15 U_ICUDATA_NAME=icudt59 | 15 U_ICUDATA_NAME=icudt59 |
16 ############################################################################## | 16 ############################################################################## |
| 17 !IF "$(UWP)" == "UWP" |
| 18 U_ICUDATA_NAME=icudt |
| 19 !ENDIF |
17 U_ICUDATA_ENDIAN_SUFFIX=l | 20 U_ICUDATA_ENDIAN_SUFFIX=l |
18 UNICODE_VERSION=9.0 | 21 UNICODE_VERSION=9.0 |
19 ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll | 22 ICU_LIB_TARGET=$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll |
20 | 23 |
21 # ICUMAKE | 24 # ICUMAKE |
22 # Must be provided by whoever runs this makefile. | 25 # Must be provided by whoever runs this makefile. |
23 # Is the directory containing this file (makedata.mak) | 26 # Is the directory containing this file (makedata.mak) |
24 # Is the directory into which most data is built (prior to packaging) | 27 # Is the directory into which most data is built (prior to packaging) |
25 # Is icu\source\data\ | 28 # Is icu\source\data\ |
26 # | 29 # |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 # The source directory. Contains the source files for the common data to be
built. | 115 # The source directory. Contains the source files for the common data to be
built. |
113 # WARNING: NOT THE SAME AS ICU_DATA environment variable. Confusing. | 116 # WARNING: NOT THE SAME AS ICU_DATA environment variable. Confusing. |
114 ICUDATA=$(ICUP)\source\data | 117 ICUDATA=$(ICUP)\source\data |
115 | 118 |
116 # | 119 # |
117 # DLL_OUTPUT | 120 # DLL_OUTPUT |
118 # Destination directory for the common data DLL file. | 121 # Destination directory for the common data DLL file. |
119 # This is the same place that all of the other ICU DLLs go (the code-contai
ning DLLs) | 122 # This is the same place that all of the other ICU DLLs go (the code-contai
ning DLLs) |
120 # The lib file for the data DLL goes in $(DLL_OUTPUT)/../lib/ | 123 # The lib file for the data DLL goes in $(DLL_OUTPUT)/../lib/ |
121 # | 124 # |
122 !IF "$(CFG)" == "x64\Release" || "$(CFG)" == "x64\Debug" | 125 !IF "$(CFG)" == "ARM\Release" || "$(CFG)" == "ARM\Debug" |
123 DLL_OUTPUT=$(ICUP)\bin64 | 126 DLL_OUTPUT=$(ICUP)\binARM$(UWP) |
| 127 !ELSE IF "$(CFG)" == "x64\Release" || "$(CFG)" == "x64\Debug" |
| 128 DLL_OUTPUT=$(ICUP)\bin64$(UWP) |
| 129 !ELSE IF "$(UWP)" == "UWP" |
| 130 DLL_OUTPUT=$(ICUP)\bin32$(UWP) |
124 !ELSE | 131 !ELSE |
125 DLL_OUTPUT=$(ICUP)\bin | 132 DLL_OUTPUT=$(ICUP)\bin$(UWP) |
126 !ENDIF | 133 !ENDIF |
127 | 134 |
128 # | 135 # |
129 # TESTDATA | 136 # TESTDATA |
130 # The source directory for data needed for test programs. | 137 # The source directory for data needed for test programs. |
131 TESTDATA=$(ICUP)\source\test\testdata | 138 TESTDATA=$(ICUP)\source\test\testdata |
132 | 139 |
133 # | 140 # |
134 # TESTDATAOUT | 141 # TESTDATAOUT |
135 # The destination directory for the built test data .dat file | 142 # The destination directory for the built test data .dat file |
136 TESTDATAOUT=$(ICUP)\source\test\testdata\out | 143 TESTDATAOUT=$(ICUP)\source\test\testdata\out |
137 | 144 |
138 # | 145 # |
139 # TESTDATABLD | 146 # TESTDATABLD |
140 # The build directory for test data intermidiate files | 147 # The build directory for test data intermidiate files |
141 # (Tests are NOT run from this makefile, | 148 # (Tests are NOT run from this makefile, |
142 # only the data is put in place.) | 149 # only the data is put in place.) |
143 TESTDATABLD=$(ICUP)\source\test\testdata\out\build | 150 TESTDATABLD=$(ICUP)\source\test\testdata\out\build |
144 | 151 |
145 # | 152 # |
146 # ICUTOOLS | 153 # ICUTOOLS |
147 # Directory under which all of the ICU data building tools live. | 154 # Directory under which all of the ICU data building tools live. |
148 # | 155 # |
149 ICUTOOLS=$(ICUP)\source\tools | 156 ICUTOOLS=$(ICUP)\source\tools |
| 157 !MESSAGE ICU tools path is $(ICUTOOLS) |
| 158 |
| 159 # |
| 160 # TOOLS CFG PATH |
| 161 # ARM needs to use one of the other tools, so make sure to get an usable cf
g path |
| 162 # Since tools, particularly pkggen, have architecture built-in, we made x64
on |
| 163 # Windows be machine-independent and use those tools. |
| 164 # |
| 165 CFGTOOLS=$(CFG) |
| 166 !IF "$(CFG)" == "ARM\Release" || "$(CFG)" == "ARM\Debug" |
| 167 CFGTOOLS=x64\Release |
| 168 !ENDIF |
| 169 !MESSAGE ICU tools CFG subpath is $(CFGTOOLS) |
150 | 170 |
151 # The current ICU tools need to be in the path first. | 171 # The current ICU tools need to be in the path first. |
152 !IF "$(CFG)" == "x64\Release" || "$(CFG)" == "x64\Debug" | 172 # x86 uses x86, x64 and arm use x64 |
| 173 !IF "$(CFG)" == "x86\Release" || "$(CFG)" == "x86\Debug" |
| 174 PATH = $(ICUP)\bin;$(PATH) |
| 175 ICUPBIN=$(ICUP)\bin |
| 176 !ELSE |
153 PATH = $(ICUP)\bin64;$(PATH) | 177 PATH = $(ICUP)\bin64;$(PATH) |
154 ICUPBIN=$(ICUP)\bin64 | 178 ICUPBIN=$(ICUP)\bin64 |
155 !ELSE | |
156 PATH = $(ICUP)\bin;$(PATH) | |
157 ICUPBIN=$(ICUP)\bin | |
158 !ENDIF | 179 !ENDIF |
159 | 180 |
160 | 181 |
161 # This variable can be overridden to "-m static" by the project settings, | 182 # This variable can be overridden to "-m static" by the project settings, |
162 # if you want a static data library. | 183 # if you want a static data library. |
163 !IF "$(ICU_PACKAGE_MODE)"=="" | 184 !IF "$(ICU_PACKAGE_MODE)"=="" |
164 ICU_PACKAGE_MODE=-m dll | 185 ICU_PACKAGE_MODE=-m dll |
165 !ENDIF | 186 !ENDIF |
166 | 187 |
167 # If this archive exists, build from that | 188 # If this archive exists, build from that |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 !ENDIF | 506 !ENDIF |
486 !ELSE | 507 !ELSE |
487 !MESSAGE Warning: cannot find "sprepfiles.mk" | 508 !MESSAGE Warning: cannot find "sprepfiles.mk" |
488 !ENDIF | 509 !ENDIF |
489 | 510 |
490 SPREP_FILES = $(SPREP_SOURCE:.txt=.spp) | 511 SPREP_FILES = $(SPREP_SOURCE:.txt=.spp) |
491 | 512 |
492 # Common defines for both ways of building ICU's data library. | 513 # Common defines for both ways of building ICU's data library. |
493 COMMON_ICUDATA_DEPENDENCIES="$(ICUPBIN)\pkgdata.exe" "$(ICUTMP)\icudata.res" "$(
ICUP)\source\stubdata\stubdatabuilt.txt" | 514 COMMON_ICUDATA_DEPENDENCIES="$(ICUPBIN)\pkgdata.exe" "$(ICUTMP)\icudata.res" "$(
ICUP)\source\stubdata\stubdatabuilt.txt" |
494 COMMON_ICUDATA_ARGUMENTS=-f -e $(U_ICUDATA_NAME) -v $(ICU_PACKAGE_MODE) -c -p $(
ICUPKG) -T "$(ICUTMP)" -L $(U_ICUDATA_NAME) -d "$(ICUBLD_PKG)" -s . | 515 COMMON_ICUDATA_ARGUMENTS=-f -e $(U_ICUDATA_NAME) -v $(ICU_PACKAGE_MODE) -c -p $(
ICUPKG) -T "$(ICUTMP)" -L $(U_ICUDATA_NAME) -d "$(ICUBLD_PKG)" -s . |
| 516 !IF "$(UWP)" == "UWP" |
| 517 COMMON_ICUDATA_ARGUMENTS=$(COMMON_ICUDATA_ARGUMENTS) -u |
| 518 !IF "$(CFG)" == "ARM\Release" || "$(CFG)" == "ARM\Debug" |
| 519 COMMON_ICUDATA_ARGUMENTS=$(COMMON_ICUDATA_ARGUMENTS) -a |
| 520 !ENDIF |
| 521 !ENDIF |
495 | 522 |
496 ############################################################################# | 523 ############################################################################# |
497 # | 524 # |
498 # ALL | 525 # ALL |
499 # This target builds all the data files. The world starts here. | 526 # This target builds all the data files. The world starts here. |
500 # Note: we really want the common data dll to go to $(DLL_
OUTPUT), not $(ICUBLD_PKG). But specifying | 527 # Note: we really want the common data dll to go to $(DLL_
OUTPUT), not $(ICUBLD_PKG). But specifying |
501 # that here seems to cause confusion with the buil
ding of the stub library of the same name. | 528 # that here seems to cause confusion with the buil
ding of the stub library of the same name. |
502 # Building the common dll in $(ICUBLD_PKG) uncondi
tionally copies it to $(DLL_OUTPUT) too. | 529 # Building the common dll in $(ICUBLD_PKG) uncondi
tionally copies it to $(DLL_OUTPUT) too. |
503 # | 530 # |
504 ############################################################################# | 531 ############################################################################# |
505 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" | 532 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" |
506 @echo All targets are up to date | 533 @echo All targets are up to date |
507 | 534 |
| 535 !IF "$(UWP)" == "UWP" |
| 536 @if not exist "$(ICUMAKE)\..\..\commondata\" mkdir "$(ICUMAKE)\..\..\com
mondata\" |
| 537 copy "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_ENDIAN_SUFFIX).dat" "$(ICUMAKE)
\..\..\commondata\" |
| 538 !ENDIF |
| 539 |
508 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) | 540 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) |
509 # are hardcoded in the common DLL and therefore not included in the data package
any more. | 541 # are hardcoded in the common DLL and therefore not included in the data package
any more. |
510 # They are not built by default but need to be built for ICU4J data and for gett
ing the .c source files | 542 # They are not built by default but need to be built for ICU4J data and for gett
ing the .c source files |
511 # when updating the Unicode data. | 543 # when updating the Unicode data. |
512 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. | 544 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. |
513 # 2010-dec Removed pnames.icu. | 545 # 2010-dec Removed pnames.icu. |
514 # Command line: | 546 # Command line: |
515 # 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 | 547 # 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 |
516 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" | 548 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" |
517 @echo Unicode .icu files built to "$(ICUBLD_PKG)" | 549 @echo Unicode .icu files built to "$(ICUBLD_PKG)" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 if not exist "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" mkdir "$(IC
UOUT)\icu4j\com\ibm\icu\dev\data\testdata" | 581 if not exist "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" mkdir "$(IC
UOUT)\icu4j\com\ibm\icu\dev\data\testdata" |
550 "$(ICUPBIN)\icupkg" "$(TESTDATAOUT)\testdata.dat" -r test.icu -x * -tb -
d "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" | 582 "$(ICUPBIN)\icupkg" "$(TESTDATAOUT)\testdata.dat" -r test.icu -x * -tb -
d "$(ICUOUT)\icu4j\com\ibm\icu\dev\data\testdata" |
551 "$(JAR)" cf "$(ICUOUT)\icu4j\testdata.jar" -C "$(ICUOUT)\icu4j" com\ibm\
icu\dev\data\testdata | 583 "$(JAR)" cf "$(ICUOUT)\icu4j\testdata.jar" -C "$(ICUOUT)\icu4j" com\ibm\
icu\dev\data\testdata |
552 | 584 |
553 ## Compare to: source\data\Makefile.in and source\test\testdata\Makefile.in | 585 ## Compare to: source\data\Makefile.in and source\test\testdata\Makefile.in |
554 | 586 |
555 DEBUGUTILITIESDATA_DIR=main\tests\core\src\com\ibm\icu\dev\test\util | 587 DEBUGUTILITIESDATA_DIR=main\tests\core\src\com\ibm\icu\dev\test\util |
556 DEBUGUTILITIESDATA_SRC=DebugUtilitiesData.java | 588 DEBUGUTILITIESDATA_SRC=DebugUtilitiesData.java |
557 | 589 |
558 # Build DebugUtilitiesData.java | 590 # Build DebugUtilitiesData.java |
559 "$(ICUOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)\$(DEBUGUTILITIESDATA_SRC)" : {"$(
ICUTOOLS)\gentest\$(CFG)"}gentest.exe | 591 "$(ICUOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)\$(DEBUGUTILITIESDATA_SRC)" : {"$(
ICUTOOLS)\gentest\$(CFGTOOLS)"}gentest.exe |
560 if not exist "$(ICUOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)" mkdir "$(IC
UOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)" | 592 if not exist "$(ICUOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)" mkdir "$(IC
UOUT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)" |
561 » "$(ICUTOOLS)\gentest\$(CFG)\gentest" -j -d"$(ICUOUT)\icu4j\src\$(DEBUGUT
ILITIESDATA_DIR)" | 593 » "$(ICUTOOLS)\gentest\$(CFGTOOLS)\gentest" -j -d"$(ICUOUT)\icu4j\src\$(DE
BUGUTILITIESDATA_DIR)" |
562 | 594 |
563 ICU4J_DATA="$(ICUOUT)\icu4j\icudata.jar" "$(ICUOUT)\icu4j\testdata.jar" "$(ICUO
UT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)\$(DEBUGUTILITIESDATA_SRC)" | 595 ICU4J_DATA="$(ICUOUT)\icu4j\icudata.jar" "$(ICUOUT)\icu4j\testdata.jar" "$(ICUO
UT)\icu4j\src\$(DEBUGUTILITIESDATA_DIR)\$(DEBUGUTILITIESDATA_SRC)" |
564 | 596 |
565 icu4j-data: GODATA $(ICU4J_DATA) $(ICU4J_TZDATA) | 597 icu4j-data: GODATA $(ICU4J_DATA) $(ICU4J_TZDATA) |
566 | 598 |
567 !IFDEF ICU4J_ROOT | 599 !IFDEF ICU4J_ROOT |
568 | 600 |
569 "$(ICU4J_ROOT)\main\shared\data\icudata.jar": "$(ICUOUT)\icu4j\icudata.jar" | 601 "$(ICU4J_ROOT)\main\shared\data\icudata.jar": "$(ICUOUT)\icu4j\icudata.jar" |
570 if not exist "$(ICU4J_ROOT)\main\shared\data" mkdir "$(ICU4J_ROOT)\main\
shared\data" | 602 if not exist "$(ICU4J_ROOT)\main\shared\data" mkdir "$(ICU4J_ROOT)\main\
shared\data" |
571 copy "$(ICUOUT)\icu4j\icudata.jar" "$(ICU4J_ROOT)\main\shared\data" | 603 copy "$(ICUOUT)\icu4j\icudata.jar" "$(ICU4J_ROOT)\main\shared\data" |
(...skipping 23 matching lines...) Expand all Loading... |
595 @echo ERROR ICU4J_ROOT not set | 627 @echo ERROR ICU4J_ROOT not set |
596 @exit 1 | 628 @exit 1 |
597 | 629 |
598 !ENDIF | 630 !ENDIF |
599 | 631 |
600 | 632 |
601 | 633 |
602 # | 634 # |
603 # testdata - nmake will invoke pkgdata, which will create testdata.dat | 635 # testdata - nmake will invoke pkgdata, which will create testdata.dat |
604 # | 636 # |
605 "$(TESTDATAOUT)\testdata.dat": "$(TESTDATA)\*" "$(ICUBLD_PKG)\$(ICUCOL)\ucadata.
icu" $(TRANSLIT_RES_FILES) $(MISC_FILES) $(RB_FILES) {"$(ICUTOOLS)\genrb\$(CFG)"
}genrb.exe | 637 "$(TESTDATAOUT)\testdata.dat": "$(TESTDATA)\*" "$(ICUBLD_PKG)\$(ICUCOL)\ucadata.
icu" $(TRANSLIT_RES_FILES) $(MISC_FILES) $(RB_FILES) {"$(ICUTOOLS)\genrb\$(CFGTO
OLS)"}genrb.exe |
606 @cd "$(TESTDATA)" | 638 @cd "$(TESTDATA)" |
607 @echo building testdata... | 639 @echo building testdata... |
608 » nmake /nologo /f "$(TESTDATA)\testdata.mak" TESTDATA=. ICUTOOLS="$(ICUTO
OLS)" ICUPBIN="$(ICUPBIN)" ICUP="$(ICUP)" CFG=$(CFG) TESTDATAOUT="$(TESTDATAOUT)
" TESTDATABLD="$(TESTDATABLD)" | 640 » nmake /nologo /f "$(TESTDATA)\testdata.mak" TESTDATA=. ICUTOOLS="$(ICUTO
OLS)" ICUPBIN="$(ICUPBIN)" ICUP="$(ICUP)" CFG=$(CFGTOOLS) TESTDATAOUT="$(TESTDAT
AOUT)" TESTDATABLD="$(TESTDATABLD)" |
609 | 641 |
610 #invoke pkgdata for ICU common data | 642 #invoke pkgdata for ICU common data |
611 # pkgdata will drop all output files (.dat, .dll, .lib) into the target (ICUBLD
_PKG) directory. | 643 # pkgdata will drop all output files (.dat, .dll, .lib) into the target (ICUBLD
_PKG) directory. |
612 # move the .dll and .lib files to their final destination afterwards. | 644 # move the .dll and .lib files to their final destination afterwards. |
613 # The $(U_ICUDATA_NAME).lib and $(U_ICUDATA_NAME).exp should already be in the
right place due to stubdata. | 645 # The $(U_ICUDATA_NAME).lib and $(U_ICUDATA_NAME).exp should already be in the
right place due to stubdata. |
614 # | 646 # |
615 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) | 647 # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.ic
u, ubidi.icu) |
616 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) | 648 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) |
617 # | 649 # |
618 !IFDEF ICUDATA_SOURCE_ARCHIVE | 650 !IFDEF ICUDATA_SOURCE_ARCHIVE |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 $(BRK_FILES:.brk =.brk | 694 $(BRK_FILES:.brk =.brk |
663 ) | 695 ) |
664 $(BRK_DICT_FILES:.dict =.dict | 696 $(BRK_DICT_FILES:.dict =.dict |
665 ) | 697 ) |
666 $(BRK_RES_FILES:.res =.res | 698 $(BRK_RES_FILES:.res =.res |
667 ) | 699 ) |
668 $(SPREP_FILES:.spp=.spp | 700 $(SPREP_FILES:.spp=.spp |
669 ) | 701 ) |
670 <<KEEP | 702 <<KEEP |
671 -@erase "$(ICU_LIB_TARGET)" | 703 -@erase "$(ICU_LIB_TARGET)" |
| 704 @if not exist "$(DLL_OUTPUT)" mkdir "$(DLL_OUTPUT)" |
672 copy "$(U_ICUDATA_NAME).dll" "$(ICU_LIB_TARGET)" | 705 copy "$(U_ICUDATA_NAME).dll" "$(ICU_LIB_TARGET)" |
673 -@erase "$(U_ICUDATA_NAME).dll" | 706 -@erase "$(U_ICUDATA_NAME).dll" |
674 copy "$(ICUTMP)\$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_E
NDIAN_SUFFIX).dat" | 707 copy "$(ICUTMP)\$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_E
NDIAN_SUFFIX).dat" |
675 -@erase "$(ICUTMP)\$(ICUPKG).dat" | 708 -@erase "$(ICUTMP)\$(ICUPKG).dat" |
676 !ENDIF | 709 !ENDIF |
677 | 710 |
678 # utility target to create missing directories | 711 # utility target to create missing directories |
679 CREATE_DIRS : | 712 CREATE_DIRS : |
680 @if not exist "$(ICUOUT)\$(NULL)" mkdir "$(ICUOUT)" | 713 @if not exist "$(ICUOUT)\$(NULL)" mkdir "$(ICUOUT)" |
681 @if not exist "$(ICUTMP)\$(NULL)" mkdir "$(ICUTMP)" | 714 @if not exist "$(ICUTMP)\$(NULL)" mkdir "$(ICUTMP)" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 @cd "$(TESTDATAOUT)" | 783 @cd "$(TESTDATAOUT)" |
751 -@erase "*.dat" | 784 -@erase "*.dat" |
752 @cd "$(TESTDATAOUT)\testdata" | 785 @cd "$(TESTDATAOUT)\testdata" |
753 -@erase "*.typ" | 786 -@erase "*.typ" |
754 @cd "$(ICUBLD_PKG)" | 787 @cd "$(ICUBLD_PKG)" |
755 | 788 |
756 | 789 |
757 # RBBI .brk file generation. | 790 # RBBI .brk file generation. |
758 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\rules}.txt.brk: | 791 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\rules}.txt.brk: |
759 @echo Creating $@ | 792 @echo Creating $@ |
760 » @"$(ICUTOOLS)\genbrk\$(CFG)\genbrk" -c -r $< -o $@ -d"$(ICUBLD_PKG)" -i
"$(ICUBLD_PKG)" | 793 » @"$(ICUTOOLS)\genbrk\$(CFGTOOLS)\genbrk" -c -r $< -o $@ -d"$(ICUBLD_PKG)
" -i "$(ICUBLD_PKG)" |
761 | 794 |
762 #RBBI .dict file generation. | 795 #RBBI .dict file generation. |
763 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries}.txt.dict: | 796 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries}.txt.dict: |
764 @echo Creating $@ | 797 @echo Creating $@ |
765 @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@" | 798 @"$(ICUTOOLS)\gendict\$(CFGTOOLS)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@
" |
766 | 799 |
767 $(ICUBRK)\thaidict.dict: | 800 $(ICUBRK)\thaidict.dict: |
768 @echo Creating $(ICUBRK)\thaidict.dict | 801 @echo Creating $(ICUBRK)\thaidict.dict |
769 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e
00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\thaidict.txt "$(ICUBLD_PKG
)\$(ICUBRK)\thaidict.dict" | 802 » @"$(ICUTOOLS)\gendict\$(CFGTOOLS)\gendict" -c --bytes --transform offset
-0x0e00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\thaidict.txt "$(ICUBL
D_PKG)\$(ICUBRK)\thaidict.dict" |
770 | 803 |
771 $(ICUBRK)\laodict.dict: | 804 $(ICUBRK)\laodict.dict: |
772 @echo Creating $(ICUBRK)\laodict.dict | 805 @echo Creating $(ICUBRK)\laodict.dict |
773 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e
80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\laodict.txt "$(ICUBLD_PKG)
\$(ICUBRK)\laodict.dict" | 806 » @"$(ICUTOOLS)\gendict\$(CFGTOOLS)\gendict" -c --bytes --transform offset
-0x0e80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\laodict.txt "$(ICUBLD
_PKG)\$(ICUBRK)\laodict.dict" |
774 | 807 |
775 $(ICUBRK)\burmesedict.dict: | 808 $(ICUBRK)\burmesedict.dict: |
776 @echo Creating $(ICUBRK)\burmesedict.dict | 809 @echo Creating $(ICUBRK)\burmesedict.dict |
777 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x10
00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\burmesedict.txt "$(ICUBLD_
PKG)\$(ICUBRK)\burmesedict.dict" | 810 » @"$(ICUTOOLS)\gendict\$(CFGTOOLS)\gendict" -c --bytes --transform offset
-0x1000 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\burmesedict.txt "$(IC
UBLD_PKG)\$(ICUBRK)\burmesedict.dict" |
778 | 811 |
779 $(ICUBRK)\khmerdict.dict: | 812 $(ICUBRK)\khmerdict.dict: |
780 @echo Creating $(ICUBRK)\khmerdict.dict | 813 @echo Creating $(ICUBRK)\khmerdict.dict |
781 » @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x17
80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\khmerdict.txt "$(ICUBLD_PK
G)\$(ICUBRK)\khmerdict.dict" | 814 » @"$(ICUTOOLS)\gendict\$(CFGTOOLS)\gendict" -c --bytes --transform offset
-0x1780 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\khmerdict.txt "$(ICUB
LD_PKG)\$(ICUBRK)\khmerdict.dict" |
782 | 815 |
783 !IFNDEF ICUDATA_SOURCE_ARCHIVE | 816 !IFNDEF ICUDATA_SOURCE_ARCHIVE |
784 # Rule for creating converters | 817 # Rule for creating converters |
785 $(CNV_FILES): $(UCM_SOURCE) | 818 $(CNV_FILES): $(UCM_SOURCE) |
786 @echo Building Charset Conversion table $(@B) | 819 @echo Building Charset Conversion table $(@B) |
787 » @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c -d"$(ICUBLD_PKG)" $(ICUSRCDAT
A_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm | 820 » @"$(ICUTOOLS)\makeconv\$(CFGTOOLS)\makeconv" -c -d"$(ICUBLD_PKG)" $(ICUS
RCDATA_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm |
788 !ENDIF | 821 !ENDIF |
789 | 822 |
790 !IFDEF BUILD_SPECIAL_CNV_FILES | 823 !IFDEF BUILD_SPECIAL_CNV_FILES |
791 $(CNV_FILES_SPECIAL): $(UCM_SOURCE_SPECIAL) | 824 $(CNV_FILES_SPECIAL): $(UCM_SOURCE_SPECIAL) |
792 @echo Building Special Charset Conversion table $(@B) | 825 @echo Building Special Charset Conversion table $(@B) |
793 » @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c --ignore-siso-check -d"$(ICUB
LD_PKG)" $(ICUSRCDATA_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm | 826 » @"$(ICUTOOLS)\makeconv\$(CFGTOOLS)\makeconv" -c --ignore-siso-check -d"$
(ICUBLD_PKG)" $(ICUSRCDATA_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm |
794 !ENDIF | 827 !ENDIF |
795 | 828 |
796 # Batch inference rule for creating miscellaneous resource files | 829 # Batch inference rule for creating miscellaneous resource files |
797 # TODO: -q option is specified to squelch the 120+ warnings about | 830 # TODO: -q option is specified to squelch the 120+ warnings about |
798 # empty intvectors and binary elements. Unfortunately, this may | 831 # empty intvectors and binary elements. Unfortunately, this may |
799 # squelch other legitimate warnings. When there is a better | 832 # squelch other legitimate warnings. When there is a better |
800 # way, remove the -q. | 833 # way, remove the -q. |
801 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUMISC2)}.txt.res:: | 834 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUMISC2)}.txt.res:: |
802 @echo Making Miscellaneous Resource Bundle files | 835 @echo Making Miscellaneous Resource Bundle files |
803 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -q -d"$(ICUBLD_PKG)" $< | 836 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -q -d"$(ICUBLD_PKG)" $< |
804 | 837 |
805 # Inference rule for creating resource bundle files | 838 # Inference rule for creating resource bundle files |
806 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)}.txt.res:: | 839 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)}.txt.res:: |
807 @echo Making Locale Resource Bundle files | 840 @echo Making Locale Resource Bundle files |
808 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\$(ICULOC) -k -d"$(ICUBLD_PKG)" $< | 841 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\$(ICULOC) -k -d"$(ICUBLD_PKG)" $< |
809 | 842 |
810 # copy the locales/pool.res file from the source folder to the build output fold
er | 843 # copy the locales/pool.res file from the source folder to the build output fold
er |
811 # and swap it to native endianness | 844 # and swap it to native endianness |
812 pool.res: $(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res | 845 pool.res: $(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res |
813 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res"
pool.res | 846 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res"
pool.res |
814 | 847 |
815 res_index.res: | 848 res_index.res: |
816 @echo Generating <<res_index.txt | 849 @echo Generating <<res_index.txt |
817 // Warning this file is automatically generated | 850 // Warning this file is automatically generated |
818 res_index:table(nofallback) { | 851 res_index:table(nofallback) { |
819 InstalledLocales { | 852 InstalledLocales { |
820 $(GENRB_SOURCE:.txt= {""} | 853 $(GENRB_SOURCE:.txt= {""} |
821 ) | 854 ) |
822 } | 855 } |
823 } | 856 } |
824 <<KEEP | 857 <<KEEP |
825 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)" .\res_index.txt | 858 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)" .\res_index.
txt |
826 ········ | 859 ········ |
827 | 860 |
828 {$(ICUSRCDATA_RELATIVE_PATH)\curr}.txt{curr}.res:: | 861 {$(ICUSRCDATA_RELATIVE_PATH)\curr}.txt{curr}.res:: |
829 @echo Making currency display name files | 862 @echo Making currency display name files |
830 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\curr -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\curr" $< | 863 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\curr -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\curr" $< |
831 | 864 |
832 # copy the curr/pool.res file from the source folder to the build output folder | 865 # copy the curr/pool.res file from the source folder to the build output folder |
833 # and swap it to native endianness | 866 # and swap it to native endianness |
834 curr\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res | 867 curr\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res |
835 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res" curr
\pool.res | 868 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res" curr
\pool.res |
836 | 869 |
837 curr\res_index.res: | 870 curr\res_index.res: |
838 @echo Generating <<curr\res_index.txt | 871 @echo Generating <<curr\res_index.txt |
839 // Warning this file is automatically generated | 872 // Warning this file is automatically generated |
840 res_index:table(nofallback) { | 873 res_index:table(nofallback) { |
841 InstalledLocales { | 874 InstalledLocales { |
842 $(CURR_SOURCE:.txt= {""} | 875 $(CURR_SOURCE:.txt= {""} |
843 ) | 876 ) |
844 } | 877 } |
845 } | 878 } |
846 <<KEEP | 879 <<KEEP |
847 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\curr" .\curr\res_i
ndex.txt | 880 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\curr" .\curr\
res_index.txt |
848 | 881 |
849 | 882 |
850 {$(ICUSRCDATA_RELATIVE_PATH)\lang}.txt{lang}.res:: | 883 {$(ICUSRCDATA_RELATIVE_PATH)\lang}.txt{lang}.res:: |
851 @echo Making language/script display name files | 884 @echo Making language/script display name files |
852 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\lang -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\lang" $< | 885 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\lang -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\lang" $< |
853 | 886 |
854 # copy the lang/pool.res file from the source folder to the build output folder | 887 # copy the lang/pool.res file from the source folder to the build output folder |
855 # and swap it to native endianness | 888 # and swap it to native endianness |
856 lang\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res | 889 lang\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res |
857 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res" lang
\pool.res | 890 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res" lang
\pool.res |
858 | 891 |
859 lang\res_index.res: | 892 lang\res_index.res: |
860 @echo Generating <<lang\res_index.txt | 893 @echo Generating <<lang\res_index.txt |
861 // Warning this file is automatically generated | 894 // Warning this file is automatically generated |
862 res_index:table(nofallback) { | 895 res_index:table(nofallback) { |
863 InstalledLocales { | 896 InstalledLocales { |
864 $(LANG_SOURCE:.txt= {""} | 897 $(LANG_SOURCE:.txt= {""} |
865 ) | 898 ) |
866 } | 899 } |
867 } | 900 } |
868 <<KEEP | 901 <<KEEP |
869 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\lang" .\lang\res_i
ndex.txt | 902 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\lang" .\lang\
res_index.txt |
870 | 903 |
871 | 904 |
872 {$(ICUSRCDATA_RELATIVE_PATH)\region}.txt{region}.res:: | 905 {$(ICUSRCDATA_RELATIVE_PATH)\region}.txt{region}.res:: |
873 @echo Making region display name files | 906 @echo Making region display name files |
874 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\region -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\region" $< | 907 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\region -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\region" $< |
875 | 908 |
876 # copy the region/pool.res file from the source folder to the build output folde
r | 909 # copy the region/pool.res file from the source folder to the build output folde
r |
877 # and swap it to native endianness | 910 # and swap it to native endianness |
878 region\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\region\pool.res | 911 region\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\region\pool.res |
879 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\region\pool.res" re
gion\pool.res | 912 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\region\pool.res" re
gion\pool.res |
880 | 913 |
881 region\res_index.res: | 914 region\res_index.res: |
882 @echo Generating <<region\res_index.txt | 915 @echo Generating <<region\res_index.txt |
883 // Warning this file is automatically generated | 916 // Warning this file is automatically generated |
884 res_index:table(nofallback) { | 917 res_index:table(nofallback) { |
885 InstalledLocales { | 918 InstalledLocales { |
886 $(REGION_SOURCE:.txt= {""} | 919 $(REGION_SOURCE:.txt= {""} |
887 ) | 920 ) |
888 } | 921 } |
889 } | 922 } |
890 <<KEEP | 923 <<KEEP |
891 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\region" .\region\r
es_index.txt | 924 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\region" .\reg
ion\res_index.txt |
892 | 925 |
893 | 926 |
894 {$(ICUSRCDATA_RELATIVE_PATH)\zone}.txt{zone}.res:: | 927 {$(ICUSRCDATA_RELATIVE_PATH)\zone}.txt{zone}.res:: |
895 @echo Making time zone display name files | 928 @echo Making time zone display name files |
896 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\zone -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\zone" $< | 929 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\zone -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\zone" $< |
897 | 930 |
898 # copy the zone/pool.res file from the source folder to the build output folder | 931 # copy the zone/pool.res file from the source folder to the build output folder |
899 # and swap it to native endianness | 932 # and swap it to native endianness |
900 zone\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res | 933 zone\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res |
901 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res" zone
\pool.res | 934 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res" zone
\pool.res |
902 | 935 |
903 zone\res_index.res: | 936 zone\res_index.res: |
904 @echo Generating <<zone\res_index.txt | 937 @echo Generating <<zone\res_index.txt |
905 // Warning this file is automatically generated | 938 // Warning this file is automatically generated |
906 res_index:table(nofallback) { | 939 res_index:table(nofallback) { |
907 InstalledLocales { | 940 InstalledLocales { |
908 $(ZONE_SOURCE:.txt= {""} | 941 $(ZONE_SOURCE:.txt= {""} |
909 ) | 942 ) |
910 } | 943 } |
911 } | 944 } |
912 <<KEEP | 945 <<KEEP |
913 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\zone" .\zone\res_i
ndex.txt | 946 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\zone" .\zone\
res_index.txt |
914 | 947 |
915 | 948 |
916 {$(ICUSRCDATA_RELATIVE_PATH)\unit}.txt{unit}.res:: | 949 {$(ICUSRCDATA_RELATIVE_PATH)\unit}.txt{unit}.res:: |
917 @echo Making unit display name files | 950 @echo Making unit display name files |
918 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_
PATH)\unit -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\unit" $< | 951 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" --usePoolBundle $(ICUSRCDATA_RELA
TIVE_PATH)\unit -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\unit" $< |
919 | 952 |
920 # copy the unit/pool.res file from the source folder to the build output folder | 953 # copy the unit/pool.res file from the source folder to the build output folder |
921 # and swap it to native endianness | 954 # and swap it to native endianness |
922 unit\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res | 955 unit\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res |
923 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res" unit
\pool.res | 956 "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res" unit
\pool.res |
924 | 957 |
925 unit\res_index.res: | 958 unit\res_index.res: |
926 @echo Generating <<unit\res_index.txt | 959 @echo Generating <<unit\res_index.txt |
927 // Warning this file is automatically generated | 960 // Warning this file is automatically generated |
928 res_index:table(nofallback) { | 961 res_index:table(nofallback) { |
929 InstalledLocales { | 962 InstalledLocales { |
930 $(UNIT_SOURCE:.txt= {""} | 963 $(UNIT_SOURCE:.txt= {""} |
931 ) | 964 ) |
932 } | 965 } |
933 } | 966 } |
934 <<KEEP | 967 <<KEEP |
935 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\unit" .\unit\res_i
ndex.txt | 968 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\unit" .\unit\
res_index.txt |
936 | 969 |
937 | 970 |
938 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUCOL)}.txt{$(ICUCOL)}.res:: | 971 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUCOL)}.txt{$(ICUCOL)}.res:: |
939 @echo Making Collation files | 972 @echo Making Collation files |
940 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICUCOL)" $< | 973 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD
_PKG)\$(ICUCOL)" $< |
941 | 974 |
942 $(ICUCOL)\res_index.res: | 975 $(ICUCOL)\res_index.res: |
943 @echo Generating <<$(ICUCOL)\res_index.txt | 976 @echo Generating <<$(ICUCOL)\res_index.txt |
944 // Warning this file is automatically generated | 977 // Warning this file is automatically generated |
945 res_index:table(nofallback) { | 978 res_index:table(nofallback) { |
946 InstalledLocales { | 979 InstalledLocales { |
947 $(COLLATION_SOURCE:.txt= {""} | 980 $(COLLATION_SOURCE:.txt= {""} |
948 ) | 981 ) |
949 } | 982 } |
950 } | 983 } |
951 <<KEEP | 984 <<KEEP |
952 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUCOL)" .\$(ICU
COL)\res_index.txt | 985 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUCOL)" .\
$(ICUCOL)\res_index.txt |
953 | 986 |
954 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICURBNF)}.txt{$(ICURBNF)}.res:: | 987 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICURBNF)}.txt{$(ICURBNF)}.res:: |
955 @echo Making RBNF files | 988 @echo Making RBNF files |
956 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICURBNF)" $< | 989 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD
_PKG)\$(ICURBNF)" $< |
957 | 990 |
958 $(ICURBNF)\res_index.res: | 991 $(ICURBNF)\res_index.res: |
959 @echo Generating <<$(ICURBNF)\res_index.txt | 992 @echo Generating <<$(ICURBNF)\res_index.txt |
960 // Warning this file is automatically generated | 993 // Warning this file is automatically generated |
961 res_index:table(nofallback) { | 994 res_index:table(nofallback) { |
962 InstalledLocales { | 995 InstalledLocales { |
963 $(RBNF_SOURCE:.txt= {""} | 996 $(RBNF_SOURCE:.txt= {""} |
964 ) | 997 ) |
965 } | 998 } |
966 } | 999 } |
967 <<KEEP | 1000 <<KEEP |
968 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICURBNF)" .\$(IC
URBNF)\res_index.txt | 1001 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\$(ICURBNF)" .
\$(ICURBNF)\res_index.txt |
969 | 1002 |
970 $(ICUBRK)\res_index.res: | 1003 $(ICUBRK)\res_index.res: |
971 @echo Generating <<$(ICUBRK)\res_index.txt | 1004 @echo Generating <<$(ICUBRK)\res_index.txt |
972 // Warning this file is automatically generated | 1005 // Warning this file is automatically generated |
973 res_index:table(nofallback) { | 1006 res_index:table(nofallback) { |
974 InstalledLocales { | 1007 InstalledLocales { |
975 $(BRK_RES_SOURCE:.txt= {""} | 1008 $(BRK_RES_SOURCE:.txt= {""} |
976 ) | 1009 ) |
977 } | 1010 } |
978 } | 1011 } |
979 <<KEEP | 1012 <<KEEP |
980 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUBRK)" .\$(ICU
BRK)\res_index.txt | 1013 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUBRK)" .\
$(ICUBRK)\res_index.txt |
981 | 1014 |
982 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)}.txt{$(ICUBRK)}.res:: | 1015 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)}.txt{$(ICUBRK)}.res:: |
983 @echo Making Break Iterator Resource files | 1016 @echo Making Break Iterator Resource files |
984 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICUBRK)" $< | 1017 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD
_PKG)\$(ICUBRK)" $< |
985 | 1018 |
986 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUTRNS)}.txt{$(ICUTRNS)}.res:: | 1019 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUTRNS)}.txt{$(ICUTRNS)}.res:: |
987 @echo Making Transliterator files | 1020 @echo Making Transliterator files |
988 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)
\$(ICUTRNS)" $< | 1021 » @"$(ICUTOOLS)\genrb\$(CFGTOOLS)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD
_PKG)\$(ICUTRNS)" $< |
989 | 1022 |
990 | 1023 |
991 # DLL version information | 1024 # DLL version information |
992 # If you modify this, modify winmode.c in pkgdata. | 1025 # If you modify this, modify winmode.c in pkgdata. |
993 "$(ICUTMP)\icudata.res": "$(ICUMISC)\icudata.rc" | 1026 "$(ICUTMP)\icudata.res": "$(ICUMISC)\icudata.rc" |
994 @echo Creating data DLL version information from $** | 1027 @echo Creating data DLL version information from $** |
995 @rc.exe /i "..\..\..\..\common" /r /fo $@ $** | 1028 @rc.exe /i "..\..\..\..\common" /r /fo $@ $** |
996 | 1029 |
997 # Targets for converters | 1030 # Targets for converters |
998 "$(ICUBLD_PKG)\cnvalias.icu" : {"$(ICUSRCDATA)\$(ICUUCM)"}\convrtrs.txt "$(ICUTO
OLS)\gencnval\$(CFG)\gencnval.exe" | 1031 "$(ICUBLD_PKG)\cnvalias.icu" : {"$(ICUSRCDATA)\$(ICUUCM)"}\convrtrs.txt "$(ICUTO
OLS)\gencnval\$(CFGTOOLS)\gencnval.exe" |
999 @echo Creating data file for Converter Aliases | 1032 @echo Creating data file for Converter Aliases |
1000 » @"$(ICUTOOLS)\gencnval\$(CFG)\gencnval" -d "$(ICUBLD_PKG)" "$(ICUSRCDATA
)\$(ICUUCM)\convrtrs.txt" | 1033 » @"$(ICUTOOLS)\gencnval\$(CFGTOOLS)\gencnval" -d "$(ICUBLD_PKG)" "$(ICUSR
CDATA)\$(ICUUCM)\convrtrs.txt" |
1001 | 1034 |
1002 # Targets for prebuilt Unicode data | 1035 # Targets for prebuilt Unicode data |
1003 "$(ICUBLD_PKG)\pnames.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\pnames.icu | 1036 "$(ICUBLD_PKG)\pnames.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\pnames.icu |
1004 "$(ICUPBIN)\icupkg" -tl $? $@ | 1037 "$(ICUPBIN)\icupkg" -tl $? $@ |
1005 | 1038 |
1006 "$(ICUBLD_PKG)\ubidi.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\ubidi.icu | 1039 "$(ICUBLD_PKG)\ubidi.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\ubidi.icu |
1007 "$(ICUPBIN)\icupkg" -tl $? $@ | 1040 "$(ICUPBIN)\icupkg" -tl $? $@ |
1008 | 1041 |
1009 "$(ICUBLD_PKG)\ucase.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\ucase.icu | 1042 "$(ICUBLD_PKG)\ucase.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\ucase.icu |
1010 "$(ICUPBIN)\icupkg" -tl $? $@ | 1043 "$(ICUPBIN)\icupkg" -tl $? $@ |
(...skipping 15 matching lines...) Expand all Loading... |
1026 | 1059 |
1027 "$(ICUBLD_PKG)\uts46.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\uts46.nrm | 1060 "$(ICUBLD_PKG)\uts46.nrm": $(ICUSRCDATA_RELATIVE_PATH)\in\uts46.nrm |
1028 "$(ICUPBIN)\icupkg" -tl $? $@ | 1061 "$(ICUPBIN)\icupkg" -tl $? $@ |
1029 | 1062 |
1030 "$(ICUBLD_PKG)\coll\ucadata.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\coll\ucadata-un
ihan.icu | 1063 "$(ICUBLD_PKG)\coll\ucadata.icu": $(ICUSRCDATA_RELATIVE_PATH)\in\coll\ucadata-un
ihan.icu |
1031 "$(ICUPBIN)\icupkg" -tl $? $@ | 1064 "$(ICUPBIN)\icupkg" -tl $? $@ |
1032 | 1065 |
1033 # Stringprep .spp file generation. | 1066 # Stringprep .spp file generation. |
1034 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUSPREP)}.txt.spp: | 1067 {$(ICUSRCDATA_RELATIVE_PATH)\$(ICUSPREP)}.txt.spp: |
1035 @echo Creating $@ | 1068 @echo Creating $@ |
1036 » @"$(ICUTOOLS)\gensprep\$(CFG)\gensprep" -s $(<D) -d "$(ICUBLD_PKG)" -b $
(@B) -m "$(ICUUNIDATA)" -u 3.2.0 $(<F) | 1069 » @"$(ICUTOOLS)\gensprep\$(CFGTOOLS)\gensprep" -s $(<D) -d "$(ICUBLD_PKG)"
-b $(@B) -m "$(ICUUNIDATA)" -u 3.2.0 $(<F) |
1037 | 1070 |
1038 # Confusables .cfu file generation | 1071 # Confusables .cfu file generation |
1039 # Can't use an inference rule because two .txt source files combine to produ
ce a single .cfu output file | 1072 # Can't use an inference rule because two .txt source files combine to produ
ce a single .cfu output file |
1040 "$(ICUBLD_PKG)\confusables.cfu": "$(ICUUNIDATA)\confusables.txt" "$(ICUUNIDATA)\
confusablesWholeScript.txt" "$(ICUTOOLS)\gencfu\$(CFG)\gencfu.exe" | 1073 "$(ICUBLD_PKG)\confusables.cfu": "$(ICUUNIDATA)\confusables.txt" "$(ICUUNIDATA)\
confusablesWholeScript.txt" "$(ICUTOOLS)\gencfu\$(CFGTOOLS)\gencfu.exe" |
1041 @echo Creating $@ | 1074 @echo Creating $@ |
1042 » @"$(ICUTOOLS)\gencfu\$(CFG)\gencfu" -c -r "$(ICUUNIDATA)\confusables.txt
" -w "$(ICUUNIDATA)\confusablesWholeScript.txt" -o $@ -i "$(ICUBLD_PKG)" | 1075 » @"$(ICUTOOLS)\gencfu\$(CFGTOOLS)\gencfu" -c -r "$(ICUUNIDATA)\confusable
s.txt" -w "$(ICUUNIDATA)\confusablesWholeScript.txt" -o $@ -i "$(ICUBLD_PKG)" |
1043 | 1076 |
1044 !IFDEF ICUDATA_ARCHIVE | 1077 !IFDEF ICUDATA_ARCHIVE |
1045 "$(ICUDATA_SOURCE_ARCHIVE)": CREATE_DIRS $(ICUDATA_ARCHIVE) "$(ICUTOOLS)\icupkg\
$(CFG)\icupkg.exe" | 1078 "$(ICUDATA_SOURCE_ARCHIVE)": CREATE_DIRS $(ICUDATA_ARCHIVE) "$(ICUTOOLS)\icupkg\
$(CFGTOOLS)\icupkg.exe" |
1046 » "$(ICUTOOLS)\icupkg\$(CFG)\icupkg" -t$(U_ICUDATA_ENDIAN_SUFFIX) "$(ICUDA
TA_ARCHIVE)" "$(ICUDATA_SOURCE_ARCHIVE)" | 1079 » "$(ICUTOOLS)\icupkg\$(CFGTOOLS)\icupkg" -t$(U_ICUDATA_ENDIAN_SUFFIX) "$(
ICUDATA_ARCHIVE)" "$(ICUDATA_SOURCE_ARCHIVE)" |
1047 !ENDIF | 1080 !ENDIF |
1048 | 1081 |
1049 # Dependencies on the tools for the batch inference rules | 1082 # Dependencies on the tools for the batch inference rules |
1050 | 1083 |
1051 !IFNDEF ICUDATA_SOURCE_ARCHIVE | 1084 !IFNDEF ICUDATA_SOURCE_ARCHIVE |
1052 $(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe | 1085 $(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFGTOOLS)"}makeconv.exe |
1053 | 1086 |
1054 !IFDEF BUILD_SPECIAL_CNV_FILES | 1087 !IFDEF BUILD_SPECIAL_CNV_FILES |
1055 $(UCM_SOURCE_SPECIAL): {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe | 1088 $(UCM_SOURCE_SPECIAL): {"$(ICUTOOLS)\makeconv\$(CFGTOOLS)"}makeconv.exe |
1056 !ENDIF | 1089 !ENDIF |
1057 | 1090 |
1058 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" | 1091 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" |
1059 # This data is now hard coded as a part of the library. | 1092 # This data is now hard coded as a part of the library. |
1060 # See Jitterbug 4497 for details. | 1093 # See Jitterbug 4497 for details. |
1061 $(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" | 1094 $(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\$(CFGTOOLS)"}genrb.exe "$(ICUBLD_PKG)\$(ICUCOL
)\ucadata.icu" |
1062 | 1095 |
1063 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" | 1096 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" |
1064 # These are now hardcoded in ICU4C and only loaded in ICU4J. | 1097 # These are now hardcoded in ICU4C and only loaded in ICU4J. |
1065 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" | 1098 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" |
1066 !ENDIF | 1099 !ENDIF |
OLD | NEW |