| OLD | NEW |
| 1 #********************************************************************** | 1 #********************************************************************** |
| 2 #* Copyright (C) 1999-2014, International Business Machines Corporation | 2 #* Copyright (C) 1999-2015, 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=icudt54 | 13 U_ICUDATA_NAME=icudt56 |
| 14 ############################################################################## | 14 ############################################################################## |
| 15 U_ICUDATA_ENDIAN_SUFFIX=l | 15 U_ICUDATA_ENDIAN_SUFFIX=l |
| 16 UNICODE_VERSION=7.0 | 16 UNICODE_VERSION=8.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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 | 493 |
| 494 ############################################################################# | 494 ############################################################################# |
| 495 # | 495 # |
| 496 # ALL | 496 # ALL |
| 497 # This target builds all the data files. The world starts here. | 497 # This target builds all the data files. The world starts here. |
| 498 # 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 |
| 499 # 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. |
| 500 # 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. |
| 501 # | 501 # |
| 502 ############################################################################# | 502 ############################################################################# |
| 503 ALL : GODATA "$(ICU_LIB_TARGET)" | 503 ALL : GODATA "$(ICU_LIB_TARGET)" "$(TESTDATAOUT)\testdata.dat" |
| 504 @echo All targets are up to date | 504 @echo All targets are up to date |
| 505 | 505 |
| 506 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) | 506 # The core Unicode properties files (uprops.icu, ucase.icu, ubidi.icu) |
| 507 # 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. |
| 508 # 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 |
| 509 # when updating the Unicode data. | 509 # when updating the Unicode data. |
| 510 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. | 510 # Changed in makedata.mak revision 1.117. See Jitterbug 4497. |
| 511 # 2010-dec Removed pnames.icu. | 511 # 2010-dec Removed pnames.icu. |
| 512 # Command line: | 512 # Command line: |
| 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 | 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 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 # | 612 # |
| 613 # 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) |
| 614 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) | 614 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) |
| 615 # | 615 # |
| 616 !IFDEF ICUDATA_SOURCE_ARCHIVE | 616 !IFDEF ICUDATA_SOURCE_ARCHIVE |
| 617 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) "$(ICUDATA_SOURCE_ARCHIVE)" | 617 "$(ICU_LIB_TARGET)" : $(COMMON_ICUDATA_DEPENDENCIES) "$(ICUDATA_SOURCE_ARCHIVE)" |
| 618 @echo Building icu data from $(ICUDATA_SOURCE_ARCHIVE) | 618 @echo Building icu data from $(ICUDATA_SOURCE_ARCHIVE) |
| 619 cd "$(ICUBLD_PKG)" | 619 cd "$(ICUBLD_PKG)" |
| 620 "$(ICUPBIN)\icupkg" -x * --list "$(ICUDATA_SOURCE_ARCHIVE)" > "$(ICUTMP)
\icudata.lst" | 620 "$(ICUPBIN)\icupkg" -x * --list "$(ICUDATA_SOURCE_ARCHIVE)" > "$(ICUTMP)
\icudata.lst" |
| 621 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) "$(ICUTMP)\icudata.lst" | 621 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) "$(ICUTMP)\icudata.lst" |
| 622 editbin /NXCOMPAT /DYNAMICBASE "$(U_ICUDATA_NAME).dll" | |
| 623 copy "$(U_ICUDATA_NAME).dll" "$(DLL_OUTPUT)" | 622 copy "$(U_ICUDATA_NAME).dll" "$(DLL_OUTPUT)" |
| 624 -@erase "$(U_ICUDATA_NAME).dll" | 623 -@erase "$(U_ICUDATA_NAME).dll" |
| 625 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" |
| 626 -@erase "$(ICUTMP)\$(ICUPKG).dat" | 625 -@erase "$(ICUTMP)\$(ICUPKG).dat" |
| 627 !ELSE | 626 !ELSE |
| 628 "$(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" | 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" |
| 629 @echo Building icu data | 628 @echo Building icu data |
| 630 cd "$(ICUBLD_PKG)" | 629 cd "$(ICUBLD_PKG)" |
| 631 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) <<"$(ICUTMP)\icudata.ls
t" | 630 "$(ICUPBIN)\pkgdata" $(COMMON_ICUDATA_ARGUMENTS) <<"$(ICUTMP)\icudata.ls
t" |
| 632 unames.icu | 631 unames.icu |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 -@erase "lang\*.res" | 713 -@erase "lang\*.res" |
| 715 -@erase "lang\*.txt" | 714 -@erase "lang\*.txt" |
| 716 -@erase "region\*.res" | 715 -@erase "region\*.res" |
| 717 -@erase "region\*.txt" | 716 -@erase "region\*.txt" |
| 718 -@erase "zone\*.res" | 717 -@erase "zone\*.res" |
| 719 -@erase "zone\*.txt" | 718 -@erase "zone\*.txt" |
| 720 @cd "$(ICUBLD_PKG)\$(ICUBRK)" | 719 @cd "$(ICUBLD_PKG)\$(ICUBRK)" |
| 721 -@erase "*.brk" | 720 -@erase "*.brk" |
| 722 -@erase "*.res" | 721 -@erase "*.res" |
| 723 -@erase "*.txt" | 722 -@erase "*.txt" |
| 723 -@erase "*.dict" |
| 724 @cd "$(ICUBLD_PKG)\$(ICUCOL)" | 724 @cd "$(ICUBLD_PKG)\$(ICUCOL)" |
| 725 -@erase "*.res" | 725 -@erase "*.res" |
| 726 -@erase "*.txt" | 726 -@erase "*.txt" |
| 727 @cd "$(ICUBLD_PKG)\$(ICURBNF)" | 727 @cd "$(ICUBLD_PKG)\$(ICURBNF)" |
| 728 -@erase "*.res" | 728 -@erase "*.res" |
| 729 -@erase "*.txt" | 729 -@erase "*.txt" |
| 730 @cd "$(ICUBLD_PKG)\$(ICUTRNS)" | 730 @cd "$(ICUBLD_PKG)\$(ICUTRNS)" |
| 731 -@erase "*.res" | 731 -@erase "*.res" |
| 732 @cd "$(ICUOUT)" | 732 @cd "$(ICUOUT)" |
| 733 -@erase "*.dat" | 733 -@erase "*.dat" |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 | 1055 |
| 1056 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" | 1056 # This used to depend on "$(ICUBLD_PKG)\uprops.icu" "$(ICUBLD_PKG)\ucase.icu" "$
(ICUBLD_PKG)\ubidi.icu" |
| 1057 # This data is now hard coded as a part of the library. | 1057 # This data is now hard coded as a part of the library. |
| 1058 # See Jitterbug 4497 for details. | 1058 # See Jitterbug 4497 for details. |
| 1059 $(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" | 1059 $(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" |
| 1060 | 1060 |
| 1061 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" | 1061 # This used to depend on "$(ICUBLD_PKG)\pnames.icu" "$(ICUBLD_PKG)\uprops.icu" "
$(ICUBLD_PKG)\ucase.icu" "$(ICUBLD_PKG)\ubidi.icu" |
| 1062 # These are now hardcoded in ICU4C and only loaded in ICU4J. | 1062 # These are now hardcoded in ICU4C and only loaded in ICU4J. |
| 1063 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" | 1063 $(BRK_SOURCE) : "$(ICUBLD_PKG)\unames.icu" |
| 1064 !ENDIF | 1064 !ENDIF |
| OLD | NEW |