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

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

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/configure.ac ('k') | source/data/brkitr/brkfiles.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Makefile.in for ICU data 1 ## Makefile.in for ICU data
2 ## Copyright (c) 1999-2013, International Business Machines Corporation and 2 ## Copyright (c) 1999-2014, 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 24 matching lines...) Expand all
37 else 37 else
38 ICUPKGDATA_OUTDIR = $(OUTDIR) 38 ICUPKGDATA_OUTDIR = $(OUTDIR)
39 endif 39 endif
40 endif 40 endif
41 41
42 CURDIR:=$(CURR_FULL_DIR) 42 CURDIR:=$(CURR_FULL_DIR)
43 # current directory should not be blank 43 # current directory should not be blank
44 ifeq ($(CURDIR),) 44 ifeq ($(CURDIR),)
45 CURDIR=. 45 CURDIR=.
46 endif 46 endif
47 ifeq ($(OS390BATCH),1)
48 PKGDATA = $(TOOLBINDIR)/pkgdata $(PKGDATA_OPTS) -z -q -c -s $(CURDIR)/out/build/ $(ICUDATA_PLATFORM_NAME) -d $(ICUPKGDATA_OUTDIR)
49 else
47 PKGDATA = $(TOOLBINDIR)/pkgdata $(PKGDATA_OPTS) -q -c -s $(CURDIR)/out/build/$(I CUDATA_PLATFORM_NAME) -d $(ICUPKGDATA_OUTDIR) 50 PKGDATA = $(TOOLBINDIR)/pkgdata $(PKGDATA_OPTS) -q -c -s $(CURDIR)/out/build/$(I CUDATA_PLATFORM_NAME) -d $(ICUPKGDATA_OUTDIR)
51 endif
48 OS390_PDS_NAME = -z -L $(BATCH_STUB_TARGET) 52 OS390_PDS_NAME = -z -L $(BATCH_STUB_TARGET)
49 53
50 ifeq ($(OS390_STUBDATA),1) 54 ifeq ($(OS390_STUBDATA),1)
51 OS390PKG=package390 55 OS390PKG=package390
52 OS390INSTALL=install390 56 OS390INSTALL=install390
53 57
54 # Additional data for 390 58 # Additional data for 390
55 OS390LIST=$(OUTTMPDIR)/icudata390.lst 59 OS390LIST=$(OUTTMPDIR)/icudata390.lst
56 OUTTMPDIR_390STUB=$(top_builddir)/data/out/tmp_390stub 60 OUTTMPDIR_390STUB=$(top_builddir)/data/out/tmp_390stub
57 endif 61 endif
(...skipping 21 matching lines...) Expand all
79 UNICODEDATADIR=$(SRCDATADIR)/unidata 83 UNICODEDATADIR=$(SRCDATADIR)/unidata
80 LOCSRCDIR=$(SRCDATADIR)/locales 84 LOCSRCDIR=$(SRCDATADIR)/locales
81 CURRSRCDIR=$(SRCDATADIR)/curr 85 CURRSRCDIR=$(SRCDATADIR)/curr
82 CURRBLDDIR=$(BUILDDIR)/curr 86 CURRBLDDIR=$(BUILDDIR)/curr
83 LANGSRCDIR=$(SRCDATADIR)/lang 87 LANGSRCDIR=$(SRCDATADIR)/lang
84 LANGBLDDIR=$(BUILDDIR)/lang 88 LANGBLDDIR=$(BUILDDIR)/lang
85 REGIONSRCDIR=$(SRCDATADIR)/region 89 REGIONSRCDIR=$(SRCDATADIR)/region
86 REGIONBLDDIR=$(BUILDDIR)/region 90 REGIONBLDDIR=$(BUILDDIR)/region
87 ZONESRCDIR=$(SRCDATADIR)/zone 91 ZONESRCDIR=$(SRCDATADIR)/zone
88 ZONEBLDDIR=$(BUILDDIR)/zone 92 ZONEBLDDIR=$(BUILDDIR)/zone
93 UNITSRCDIR=$(SRCDATADIR)/unit
94 UNITBLDDIR=$(BUILDDIR)/unit
89 COLSRCDIR=$(SRCDATADIR)/coll 95 COLSRCDIR=$(SRCDATADIR)/coll
90 COLBLDDIR=$(BUILDDIR)/coll 96 COLBLDDIR=$(BUILDDIR)/coll
91 RBNFSRCDIR=$(SRCDATADIR)/rbnf 97 RBNFSRCDIR=$(SRCDATADIR)/rbnf
92 RBNFBLDDIR=$(BUILDDIR)/rbnf 98 RBNFBLDDIR=$(BUILDDIR)/rbnf
93 TRANSLITSRCDIR=$(SRCDATADIR)/translit 99 TRANSLITSRCDIR=$(SRCDATADIR)/translit
94 TRANSLITBLDDIR=$(BUILDDIR)/translit 100 TRANSLITBLDDIR=$(BUILDDIR)/translit
95 MISCSRCDIR=$(SRCDATADIR)/misc 101 MISCSRCDIR=$(SRCDATADIR)/misc
96 BRKSRCDIR=$(SRCDATADIR)/brkitr 102 BRKSRCDIR=$(SRCDATADIR)/brkitr
97 BRKBLDDIR=$(BUILDDIR)/brkitr 103 BRKBLDDIR=$(BUILDDIR)/brkitr
98 MISCSRCDIR=$(SRCDATADIR)/misc 104 MISCSRCDIR=$(SRCDATADIR)/misc
99 UCMSRCDIR=$(SRCDATADIR)/mappings 105 UCMSRCDIR=$(SRCDATADIR)/mappings
100 SPREPSRCDIR=$(SRCDATADIR)/sprep 106 SPREPSRCDIR=$(SRCDATADIR)/sprep
101 COMINCDIR=$(top_srcdir)/common/unicode 107 COMINCDIR=$(top_srcdir)/common/unicode
102 SRCLISTDEPS=Makefile $(srcdir)/Makefile.in 108 SRCLISTDEPS=Makefile $(srcdir)/Makefile.in
103 BUILD_DIRS=$(OUTDIR) $(MAINBUILDDIR) $(BUILDDIR) $(CURRBLDDIR) $(LANGBLDDIR) $(R EGIONBLDDIR) $(ZONEBLDDIR) $(BRKBLDDIR) $(COLBLDDIR) $(RBNFBLDDIR) $(TRANSLITBLD DIR) $(OUTTMPDIR) $(OUTTMPDIR_390STUB) $(OUTTMPDIR)/$(CURR_TREE) $(OUTTMPDIR)/$( LANG_TREE) $(OUTTMPDIR)/$(REGION_TREE) $(OUTTMPDIR)/$(ZONE_TREE) $(OUTTMPDIR)/$( COLLATION_TREE) $(OUTTMPDIR)/$(RBNF_TREE) $(OUTTMPDIR)/$(TRANSLIT_TREE) $(OUTTMP DIR)/$(BREAK_TREE) 109 BUILD_DIRS=$(OUTDIR) $(MAINBUILDDIR) $(BUILDDIR) $(CURRBLDDIR) $(LANGBLDDIR) $(R EGIONBLDDIR) $(ZONEBLDDIR) $(UNITBLDDIR) $(BRKBLDDIR) $(COLBLDDIR) $(RBNFBLDDIR) $(TRANSLITBLDDIR) $(OUTTMPDIR) $(OUTTMPDIR_390STUB) $(OUTTMPDIR)/$(CURR_TREE) $ (OUTTMPDIR)/$(LANG_TREE) $(OUTTMPDIR)/$(REGION_TREE) $(OUTTMPDIR)/$(ZONE_TREE) $ (OUTTMPDIR)/$(UNIT_TREE) $(OUTTMPDIR)/$(COLLATION_TREE) $(OUTTMPDIR)/$(RBNF_TREE ) $(OUTTMPDIR)/$(TRANSLIT_TREE) $(OUTTMPDIR)/$(BREAK_TREE)
104 110
105 # relative lib links from pkgdata are the same as for tmp 111 # relative lib links from pkgdata are the same as for tmp
106 TOOLDIR=$(top_builddir)/tools 112 TOOLDIR=$(top_builddir)/tools
107 113
108 ## List of phony targets 114 ## List of phony targets
109 .PHONY : all all-local all-recursive install install-local install-files \ 115 .PHONY : all all-local all-recursive install install-local install-files \
110 install-recursive clean clean-local clean-recursive distclean \ 116 install-recursive clean clean-local clean-recursive distclean \
111 distclean-local distclean-recursive dist dist-local dist-recursive \ 117 distclean-local distclean-recursive dist dist-local dist-recursive \
112 check check-local check-recursive build-local clean-resindex build-dir icudata.j ar» \ 118 check check-local check-recursive clean-resindex icudata.jar» \
113 check-exhaustive 119 check-exhaustive
114 120
115 ## Clear suffix list 121 ## Clear suffix list
116 .SUFFIXES : 122 .SUFFIXES :
117 123
118 ## List of standard targets 124 ## List of standard targets
119 all: all-local 125 all: all-local
120 install: all-local install-local 126 install: all-local install-local
121 clean: clean-local 127 clean: clean-local
122 distclean : distclean-local 128 distclean : distclean-local
123 dist: 129 dist:
124 check: all 130 check: all
125 131
126 check-exhaustive: check 132 check-exhaustive: check
127 133
128 -include Makefile.local 134 -include Makefile.local
129 135
130 136
131 distclean-local: clean 137 distclean-local: clean
132 $(RMV) Makefile 138 $(RMV) Makefile
133 139
134 all-local: build-dir icupkg.inc build-local packagedata $(POST_DATA_BUILD) $(OS3 90PKG) 140 all-local: build-dir icupkg.inc build-local packagedata $(POST_DATA_BUILD) $(OS3 90PKG)
135 141
136 dist-local: 142 dist-local:
137 143
138 clean-map: 144 clean-map:
139 -test -z *.map || $(RMV) *.map 145 -test -z *.map || $(RMV) *.map
140 146
141 clean-local: cleanpackage cleanfiles clean-map 147 clean-local: cleanpackage cleanfiles clean-map
148 $(RMV) build-dir* build-local packagedata uni-core-data
142 149
143 cleanfiles: 150 cleanfiles:
144 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 151 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
145 152
146 cleanpackage: 153 cleanpackage:
147 $(RMV) $(OUTDIR) 154 $(RMV) $(OUTDIR)
148 $(RMV) $(LIBDIR)/$(LIB_ICUDATA_NAME)*.$(SO)* $(LIBDIR)/$(LIB_STATIC_ICUD ATA_NAME).$(A) 155 $(RMV) $(LIBDIR)/$(LIB_ICUDATA_NAME)*.$(SO)* $(LIBDIR)/$(LIB_STATIC_ICUD ATA_NAME).$(A)
149 156
150 check-local: 157 check-local:
151 158
(...skipping 21 matching lines...) Expand all
173 endif 180 endif
174 181
175 packagedata: icupkg.inc $(PKGDATA_LIST) build-local 182 packagedata: icupkg.inc $(PKGDATA_LIST) build-local
176 ifneq ($(ENABLE_STATIC),) 183 ifneq ($(ENABLE_STATIC),)
177 ifeq ($(PKGDATA_MODE),dll) 184 ifeq ($(PKGDATA_MODE),dll)
178 $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) - p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) -m static $(PKGDATA_VERSIONING) $(PKG DATA_LIST) 185 $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) - p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) -m static $(PKGDATA_VERSIONING) $(PKG DATA_LIST)
179 endif 186 endif
180 endif 187 endif
181 ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES) 188 ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES)
182 $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) - p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(PKGDATA_LIBNAME) $( PKGDATA_LIST) 189 $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) - p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(PKGDATA_LIBNAME) $( PKGDATA_LIST)
183 ifeq ($(OS390BATCH),1)
184 $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(OUTTMPDIR) - p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(OS390_PDS_NAME) $(P KGDATA_LIST)
185 endif
186 else 190 else
187 $(INSTALL_DATA) $(ICUDATA_SOURCE_ARCHIVE) $(OUTDIR) 191 $(INSTALL_DATA) $(ICUDATA_SOURCE_ARCHIVE) $(OUTDIR)
188 endif 192 endif
193 echo timestamp > $@
189 194
190 ## Install ICU data. 195 ## Install ICU data.
191 install-local: $(PKGDATA_LIST) ./icupkg.inc packagedata $(OS390INSTALL) 196 install-local: $(PKGDATA_LIST) ./icupkg.inc packagedata $(OS390INSTALL)
192 $(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR) 197 $(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR)
193 ifeq ($(PKGDATA_MODE),files) 198 ifeq ($(PKGDATA_MODE),files)
194 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME) 199 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)
195 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(CURR_TREE) 200 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(CURR_TREE)
196 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(LANG_TREE) 201 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(LANG_TREE)
197 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(REGION_TREE) 202 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(REGION_TREE)
198 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(ZONE_TREE) 203 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(ZONE_TREE)
204 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(UNIT_TREE)
199 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(BREAK_TREE) 205 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(BREAK_TREE)
200 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(COLLATION_TREE) 206 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(COLLATION_TREE)
201 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(RBNF_TREE) 207 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(RBNF_TREE)
202 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(TRANSLIT_TREE) 208 $(MKINSTALLDIRS) $(ICUPKGDATA_DIR)/$(ICUDATA_NAME)/$(TRANSLIT_TREE)
203 endif 209 endif
204 ifneq ($(ENABLE_STATIC),) 210 ifneq ($(ENABLE_STATIC),)
205 ifeq ($(PKGDATA_MODE),dll) 211 ifeq ($(PKGDATA_MODE),dll)
206 $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(OU TTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) $(PKGDATA_LI ST) -I $(ICUPKGDATA_INSTALL_LIBDIR) 212 $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(OU TTMPDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(PKGDATA_LIBSTATICNAME) $(PKGDATA_LI ST) -I $(ICUPKGDATA_INSTALL_LIBDIR)
207 endif 213 endif
208 endif 214 endif
(...skipping 24 matching lines...) Expand all
233 ##### 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.
234 # X_FILES_SHORT = just the base names (for lists) 240 # X_FILES_SHORT = just the base names (for lists)
235 # X_FILES = full paths (for dependency) 241 # X_FILES = full paths (for dependency)
236 242
237 ## DAT files - Misc. data files. 243 ## DAT files - Misc. data files.
238 # 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)
239 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117) 245 # from data build. See Jitterbug 4497. (makedata.mak revision 1.117)
240 # 2010-dec Removed pnames.icu. 246 # 2010-dec Removed pnames.icu.
241 # These are now hardcoded in ICU4C and only loaded in ICU4J. 247 # These are now hardcoded in ICU4C and only loaded in ICU4J.
242 # 248 #
243 # CHROME: unames.icu is excluded from the data file. 249 DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm ut s46.nrm
244 # coll/invuca.icu is also excluded. When building a ICU data file to check in,
245 # we need to copy data/in/coll/invuca.icu to the build location (expected
246 # by genrb : out/build/icudt46l/coll) by hand because genrb requires its
247 # presence when compiling coll/root.txt. We have to put it back if Webkit
248 # begins to use it.
249 # See https://bugs.webkit.org/show_bug.cgi?id=30437#c32 about invuca.icu.
250 DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfc.nrm 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
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 # CHROME: we don't need any EBCDIC converters. 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
293 -include $(CURRSRCDIR)/resfiles.mk 291 -include $(CURRSRCDIR)/resfiles.mk
294 -include $(LANGSRCDIR)/resfiles.mk 292 -include $(LANGSRCDIR)/resfiles.mk
295 -include $(REGIONSRCDIR)/resfiles.mk 293 -include $(REGIONSRCDIR)/resfiles.mk
296 -include $(ZONESRCDIR)/resfiles.mk 294 -include $(ZONESRCDIR)/resfiles.mk
295 -include $(UNITSRCDIR)/resfiles.mk
297 -include $(COLSRCDIR)/colfiles.mk 296 -include $(COLSRCDIR)/colfiles.mk
298 -include $(RBNFSRCDIR)/rbnffiles.mk 297 -include $(RBNFSRCDIR)/rbnffiles.mk
299 -include $(TRANSLITSRCDIR)/trnsfiles.mk 298 -include $(TRANSLITSRCDIR)/trnsfiles.mk
300 -include $(LOCSRCDIR)/reslocal.mk 299 -include $(LOCSRCDIR)/reslocal.mk
301 -include $(CURRSRCDIR)/reslocal.mk 300 -include $(CURRSRCDIR)/reslocal.mk
302 -include $(LANGSRCDIR)/reslocal.mk 301 -include $(LANGSRCDIR)/reslocal.mk
303 -include $(REGIONSRCDIR)/reslocal.mk 302 -include $(REGIONSRCDIR)/reslocal.mk
304 -include $(ZONESRCDIR)/reslocal.mk 303 -include $(ZONESRCDIR)/reslocal.mk
304 -include $(UNITSRCDIR)/reslocal.mk
305 -include $(COLSRCDIR)/collocal.mk 305 -include $(COLSRCDIR)/collocal.mk
306 -include $(BRKSRCDIR)/brslocal.mk 306 -include $(BRKSRCDIR)/brslocal.mk
307 -include $(RBNFSRCDIR)/rbnflocal.mk 307 -include $(RBNFSRCDIR)/rbnflocal.mk
308 -include $(TRANSLITSRCDIR)/trnslocal.mk 308 -include $(TRANSLITSRCDIR)/trnslocal.mk
309 ifdef GENRB_SOURCE 309 ifdef GENRB_SOURCE
310 RES_SRC= root.txt $(GENRB_SOURCE) $(GENRB_ALIAS_SOURCE) $(GENRB_SOURCE_LOCAL) $( GENRB_ALIAS_SOURCE_LOCAL) 310 RES_SRC= root.txt $(GENRB_SOURCE) $(GENRB_ALIAS_SOURCE) $(GENRB_SOURCE_LOCAL) $( GENRB_ALIAS_SOURCE_LOCAL)
311 RES_SRC_FILES = $(RES_SRC:%=$(LOCSRCDIR)/%) 311 RES_SRC_FILES = $(RES_SRC:%=$(LOCSRCDIR)/%)
312 INSTALLED_RB_FILES = $(GENRB_SOURCE:%.txt=%) $(GENRB_SOURCE_LOCAL:%.txt=%) 312 INSTALLED_RB_FILES = $(GENRB_SOURCE:%.txt=%) $(GENRB_SOURCE_LOCAL:%.txt=%)
313 endif 313 endif
314 ifdef CURR_SOURCE 314 ifdef CURR_SOURCE
315 CURR_SRC= root.txt supplementalData.txt $(CURR_SOURCE) $(CURR_ALIAS_SOURCE) $(CU RR_SOURCE_LOCAL) 315 CURR_SRC= root.txt supplementalData.txt $(CURR_SOURCE) $(CURR_ALIAS_SOURCE) $(CU RR_SOURCE_LOCAL)
316 CURR_SRC_FILES = $(CURR_SRC:%=$(CURRSRCDIR)/%) 316 CURR_SRC_FILES = $(CURR_SRC:%=$(CURRSRCDIR)/%)
317 INSTALLED_CURR_FILES = $(CURR_SOURCE:%.txt=%) $(CURR_SOURCE_LOCAL:%.txt=%) 317 INSTALLED_CURR_FILES = $(CURR_SOURCE:%.txt=%) $(CURR_SOURCE_LOCAL:%.txt=%)
318 endif 318 endif
319 ifdef LANG_SOURCE 319 ifdef LANG_SOURCE
320 LANG_SRC= root.txt $(LANG_SOURCE) $(LANG_ALIAS_SOURCE) $(LANG_SOURCE_LOCAL) 320 LANG_SRC= root.txt $(LANG_SOURCE) $(LANG_ALIAS_SOURCE) $(LANG_SOURCE_LOCAL)
321 LANG_SRC_FILES = $(LANG_SRC:%=$(LANGSRCDIR)/%) 321 LANG_SRC_FILES = $(LANG_SRC:%=$(LANGSRCDIR)/%)
322 INSTALLED_LANG_FILES = $(LANG_SOURCE:%.txt=%) $(LANG_SOURCE_LOCAL:%.txt=%) 322 INSTALLED_LANG_FILES = $(LANG_SOURCE:%.txt=%) $(LANG_SOURCE_LOCAL:%.txt=%)
323 endif 323 endif
324 ifdef REGION_SOURCE 324 ifdef REGION_SOURCE
325 REGION_SRC= root.txt $(REGION_SOURCE) $(REGION_ALIAS_SOURCE) $(REGION_SOURCE_LOC AL) 325 REGION_SRC= root.txt $(REGION_SOURCE) $(REGION_ALIAS_SOURCE) $(REGION_SOURCE_LOC AL)
326 REGION_SRC_FILES = $(REGION_SRC:%=$(REGIONSRCDIR)/%) 326 REGION_SRC_FILES = $(REGION_SRC:%=$(REGIONSRCDIR)/%)
327 INSTALLED_REGION_FILES = $(REGION_SOURCE:%.txt=%) $(REGION_SOURCE_LOCAL:%.txt=% ) 327 INSTALLED_REGION_FILES = $(REGION_SOURCE:%.txt=%) $(REGION_SOURCE_LOCAL:%.txt=% )
328 endif 328 endif
329 ifdef ZONE_SOURCE 329 ifdef ZONE_SOURCE
330 ZONE_SRC= root.txt $(ZONE_SOURCE) $(ZONE_ALIAS_SOURCE) $(ZONE_SOURCE_LOCAL) 330 ZONE_SRC= root.txt $(ZONE_SOURCE) $(ZONE_ALIAS_SOURCE) $(ZONE_SOURCE_LOCAL) tzdb Names.txt
331 ZONE_SRC_FILES = $(ZONE_SRC:%=$(ZONESRCDIR)/%) 331 ZONE_SRC_FILES = $(ZONE_SRC:%=$(ZONESRCDIR)/%)
332 INSTALLED_ZONE_FILES = $(ZONE_SOURCE:%.txt=%) $(ZONE_SOURCE_LOCAL:%.txt=%) 332 INSTALLED_ZONE_FILES = $(ZONE_SOURCE:%.txt=%) $(ZONE_SOURCE_LOCAL:%.txt=%)
333 endif 333 endif
334 ifdef UNIT_SOURCE
335 UNIT_SRC= root.txt $(UNIT_SOURCE) $(UNIT_ALIAS_SOURCE) $(UNIT_SOURCE_LOCAL)
336 UNIT_SRC_FILES = $(UNIT_SRC:%=$(UNITSRCDIR)/%)
337 INSTALLED_UNIT_FILES = $(UNIT_SOURCE:%.txt=%) $(UNIT_SOURCE_LOCAL:%.txt=%)
338 endif
334 ifdef COLLATION_SOURCE 339 ifdef COLLATION_SOURCE
335 COL_SRC= root.txt $(COLLATION_SOURCE) $(COLLATION_ALIAS_SOURCE) $(COLLATION_SOUR CE_LOCAL) 340 COL_SRC= root.txt $(COLLATION_SOURCE) $(COLLATION_ALIAS_SOURCE) $(COLLATION_SOUR CE_LOCAL)
336 COL_SRC_FILES = $(COL_SRC:%=$(COLSRCDIR)/%) 341 COL_SRC_FILES = $(COL_SRC:%=$(COLSRCDIR)/%)
337 INSTALLED_COL_FILES = $(COLLATION_SOURCE:%.txt=%) $(COLLATION_SOURCE_LOCAL:%.tx t=%) 342 INSTALLED_COL_FILES = $(COLLATION_SOURCE:%.txt=%) $(COLLATION_SOURCE_LOCAL:%.tx t=%)
338 endif 343 endif
339 ifdef RBNF_SOURCE 344 ifdef RBNF_SOURCE
340 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)
341 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%) 346 RBNF_SRC_FILES = $(RBNF_SRC:%=$(RBNFSRCDIR)/%)
342 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%) 347 INSTALLED_RBNF_FILES = $(RBNF_SOURCE:%.txt=%) $(RBNF_SOURCE_LOCAL:%.txt=%)
343 endif 348 endif
344 ifdef TRANSLIT_SOURCE 349 ifdef TRANSLIT_SOURCE
345 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA L) 350 TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $(TRANSLIT_SOURCE_LOCA L)
346 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%) 351 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%)
347 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:% .txt=%) 352 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:% .txt=%)
348 endif 353 endif
349 # CHROME : To save space, use '-R' option. 354 GENRBOPTS=-k
350 GENRBOPTS=-k -R
351 355
352 ## MISC files 356 ## MISC files
353 -include $(MISCSRCDIR)/miscfiles.mk 357 -include $(MISCSRCDIR)/miscfiles.mk
354 -include $(MISCSRCDIR)/misclocal.mk 358 -include $(MISCSRCDIR)/misclocal.mk
355 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL) 359 MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL)
356 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%) 360 MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%)
357 361
358 ifeq ($(ENABLE_SO_VERSION_DATA),1) 362 ifeq ($(ENABLE_SO_VERSION_DATA),1)
359 ifeq ($(PKGDATA_MODE),dll) 363 ifeq ($(PKGDATA_MODE),dll)
360 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res 364 SO_VERSION_DATA = $(OUTTMPDIR)/icudata.res
361 $(SO_VERSION_DATA) : $(MISCSRCDIR)/icudata.rc 365 $(SO_VERSION_DATA) : $(MISCSRCDIR)/icudata.rc
366 ifeq ($(MSYS_RC_MODE),1)
367 rc.exe -i$(srcdir)/../common -i$(top_builddir)/common -fo$@ $(CPPFLAGS) $<
368 else
362 rc.exe /i$(srcdir)/../common /i$(top_builddir)/common /fo$@ $(CPPFLAGS) $(SOURCE_FILE) 369 rc.exe /i$(srcdir)/../common /i$(top_builddir)/common /fo$@ $(CPPFLAGS) $(SOURCE_FILE)
363 endif 370 endif
364 endif 371 endif
372 endif
365 373
366 INDEX_NAME=res_index 374 INDEX_NAME=res_index
367 INDEX_FILE=$(OUTTMPDIR)/$(INDEX_NAME).txt 375 INDEX_FILE=$(OUTTMPDIR)/$(INDEX_NAME).txt
368 376
369 ALL_RES_SRC= $(RES_SRC) $(TRNS_SOURCE) $(MSC_SOURCE) 377 ALL_RES_SRC= $(RES_SRC) $(TRNS_SOURCE) $(MSC_SOURCE)
370 RES_FILES = $(ALL_RES_SRC:%.txt=$(BUILDDIR)/%.res) $(BUILDDIR)/$(INDEX_NAME).res $(BUILDDIR)/pool.res 378 RES_FILES = $(ALL_RES_SRC:%.txt=$(BUILDDIR)/%.res) $(BUILDDIR)/$(INDEX_NAME).res $(BUILDDIR)/pool.res
371 RES_FILES_SHORT = $(ALL_RES_SRC:%.txt=%.res) $(INDEX_NAME).res pool.res 379 RES_FILES_SHORT = $(ALL_RES_SRC:%.txt=%.res) $(INDEX_NAME).res pool.res
372 PKGDATA_LIST = $(OUTTMPDIR)/icudata.lst 380 PKGDATA_LIST = $(OUTTMPDIR)/icudata.lst
373 381
374 CURR_TREE=curr 382 CURR_TREE=curr
375 CURR_INDEX_FILE=$(OUTTMPDIR)/$(CURR_TREE)/$(INDEX_NAME).txt 383 CURR_INDEX_FILE=$(OUTTMPDIR)/$(CURR_TREE)/$(INDEX_NAME).txt
376 CURR_FILES = $(CURR_SRC:%.txt=$(CURRBLDDIR)/%.res) $(CURRBLDDIR)/$(INDEX_NAME).r es $(CURRBLDDIR)/pool.res 384 CURR_FILES = $(CURR_SRC:%.txt=$(CURRBLDDIR)/%.res) $(CURRBLDDIR)/$(INDEX_NAME).r es $(CURRBLDDIR)/pool.res
377 CURR_FILES_SHORT = $(CURR_SRC:%.txt=$(CURR_TREE)/%.res) $(CURR_TREE)/$(INDEX_NAM E).res $(CURR_TREE)/pool.res 385 CURR_FILES_SHORT = $(CURR_SRC:%.txt=$(CURR_TREE)/%.res) $(CURR_TREE)/$(INDEX_NAM E).res $(CURR_TREE)/pool.res
378 386
379 LANG_TREE=lang 387 LANG_TREE=lang
380 LANG_INDEX_FILE=$(OUTTMPDIR)/$(LANG_TREE)/$(INDEX_NAME).txt 388 LANG_INDEX_FILE=$(OUTTMPDIR)/$(LANG_TREE)/$(INDEX_NAME).txt
381 LANG_FILES = $(LANG_SRC:%.txt=$(LANGBLDDIR)/%.res) $(LANGBLDDIR)/$(INDEX_NAME).r es $(LANGBLDDIR)/pool.res 389 LANG_FILES = $(LANG_SRC:%.txt=$(LANGBLDDIR)/%.res) $(LANGBLDDIR)/$(INDEX_NAME).r es $(LANGBLDDIR)/pool.res
382 LANG_FILES_SHORT = $(LANG_SRC:%.txt=$(LANG_TREE)/%.res) $(LANG_TREE)/$(INDEX_NAM E).res $(LANG_TREE)/pool.res 390 LANG_FILES_SHORT = $(LANG_SRC:%.txt=$(LANG_TREE)/%.res) $(LANG_TREE)/$(INDEX_NAM E).res $(LANG_TREE)/pool.res
383 391
384 REGION_TREE=region 392 REGION_TREE=region
385 REGION_INDEX_FILE=$(OUTTMPDIR)/$(REGION_TREE)/$(INDEX_NAME).txt 393 REGION_INDEX_FILE=$(OUTTMPDIR)/$(REGION_TREE)/$(INDEX_NAME).txt
386 REGION_FILES = $(REGION_SRC:%.txt=$(REGIONBLDDIR)/%.res) $(REGIONBLDDIR)/$(INDEX _NAME).res $(REGIONBLDDIR)/pool.res 394 REGION_FILES = $(REGION_SRC:%.txt=$(REGIONBLDDIR)/%.res) $(REGIONBLDDIR)/$(INDEX _NAME).res $(REGIONBLDDIR)/pool.res
387 REGION_FILES_SHORT = $(REGION_SRC:%.txt=$(REGION_TREE)/%.res) $(REGION_TREE)/$(I NDEX_NAME).res $(REGION_TREE)/pool.res 395 REGION_FILES_SHORT = $(REGION_SRC:%.txt=$(REGION_TREE)/%.res) $(REGION_TREE)/$(I NDEX_NAME).res $(REGION_TREE)/pool.res
388 396
389 ZONE_TREE=zone 397 ZONE_TREE=zone
390 ZONE_INDEX_FILE=$(OUTTMPDIR)/$(ZONE_TREE)/$(INDEX_NAME).txt 398 ZONE_INDEX_FILE=$(OUTTMPDIR)/$(ZONE_TREE)/$(INDEX_NAME).txt
391 ZONE_FILES = $(ZONE_SRC:%.txt=$(ZONEBLDDIR)/%.res) $(ZONEBLDDIR)/$(INDEX_NAME).r es $(ZONEBLDDIR)/pool.res 399 ZONE_FILES = $(ZONE_SRC:%.txt=$(ZONEBLDDIR)/%.res) $(ZONEBLDDIR)/$(INDEX_NAME).r es $(ZONEBLDDIR)/pool.res
392 ZONE_FILES_SHORT = $(ZONE_SRC:%.txt=$(ZONE_TREE)/%.res) $(ZONE_TREE)/$(INDEX_NAM E).res $(ZONE_TREE)/pool.res 400 ZONE_FILES_SHORT = $(ZONE_SRC:%.txt=$(ZONE_TREE)/%.res) $(ZONE_TREE)/$(INDEX_NAM E).res $(ZONE_TREE)/pool.res
393 401
402 UNIT_TREE=unit
403 UNIT_INDEX_FILE=$(OUTTMPDIR)/$(UNIT_TREE)/$(INDEX_NAME).txt
404 UNIT_FILES = $(UNIT_SRC:%.txt=$(UNITBLDDIR)/%.res) $(UNITBLDDIR)/$(INDEX_NAME).r es $(UNITBLDDIR)/pool.res
405 UNIT_FILES_SHORT = $(UNIT_SRC:%.txt=$(UNIT_TREE)/%.res) $(UNIT_TREE)/$(INDEX_NAM E).res $(UNIT_TREE)/pool.res
406
394 COLLATION_TREE=coll 407 COLLATION_TREE=coll
395 COLLATION_INDEX_FILE=$(OUTTMPDIR)/$(COLLATION_TREE)/$(INDEX_NAME).txt 408 COLLATION_INDEX_FILE=$(OUTTMPDIR)/$(COLLATION_TREE)/$(INDEX_NAME).txt
396 COLLATION_INDEX_RES=$(COLBLDDIR)/$(INDEX_NAME).res 409 COLLATION_INDEX_RES=$(COLBLDDIR)/$(INDEX_NAME).res
397 COLLATION_INDEX_RES_SHORT=$(COLLATION_TREE)/$(INDEX_NAME).res 410 COLLATION_INDEX_RES_SHORT=$(COLLATION_TREE)/$(INDEX_NAME).res
398 COLLATION_FILES = $(COL_SRC:%.txt=$(COLBLDDIR)/%.res) $(COLLATION_INDEX_RES) 411 COLLATION_FILES = $(COL_SRC:%.txt=$(COLBLDDIR)/%.res) $(COLLATION_INDEX_RES)
399 COLLATION_FILES_SHORT = $(COL_SRC:%.txt=$(COLLATION_TREE)/%.res) 412 COLLATION_FILES_SHORT = $(COL_SRC:%.txt=$(COLLATION_TREE)/%.res)
400 413
401 BRK_RES_INDEX_FILE=$(OUTTMPDIR)/$(BREAK_TREE)/$(INDEX_NAME).txt 414 BRK_RES_INDEX_FILE=$(OUTTMPDIR)/$(BREAK_TREE)/$(INDEX_NAME).txt
402 BRK_RES_INDEX_RES=$(BRKBLDDIR)/$(INDEX_NAME).res 415 BRK_RES_INDEX_RES=$(BRKBLDDIR)/$(INDEX_NAME).res
403 BRK_RES_INDEX_RES_SHORT=$(BREAK_TREE)/$(INDEX_NAME).res 416 BRK_RES_INDEX_RES_SHORT=$(BREAK_TREE)/$(INDEX_NAME).res
(...skipping 15 matching lines...) Expand all
419 TRANSLIT_FILES_SHORT = $(TRANSLIT_SRC:%.txt=$(TRANSLIT_TREE)/%.res) 432 TRANSLIT_FILES_SHORT = $(TRANSLIT_SRC:%.txt=$(TRANSLIT_TREE)/%.res)
420 433
421 ## SPP files 434 ## SPP files
422 -include $(SPREPSRCDIR)/sprepfiles.mk 435 -include $(SPREPSRCDIR)/sprepfiles.mk
423 -include $(SPREPSRCDIR)/spreplocal.mk 436 -include $(SPREPSRCDIR)/spreplocal.mk
424 ALL_SPREP_SOURCE=$(SPREP_SOURCE) $(SPREP_SOURCE_LOCAL) 437 ALL_SPREP_SOURCE=$(SPREP_SOURCE) $(SPREP_SOURCE_LOCAL)
425 SPREP_FILES = $(ALL_SPREP_SOURCE:%.txt=$(BUILDDIR)/%.spp) 438 SPREP_FILES = $(ALL_SPREP_SOURCE:%.txt=$(BUILDDIR)/%.spp)
426 SPREP_FILES_SHORT = $(ALL_SPREP_SOURCE:%.txt=%.spp) 439 SPREP_FILES_SHORT = $(ALL_SPREP_SOURCE:%.txt=%.spp)
427 440
428 ## All generated files 441 ## All generated files
429 ALL_FILES = $(DAT_FILES) $(CNV_FILES) $(CNV_FILES_SPECIAL) $(BRK_FILES) $(DICT_F ILES) $(RES_FILES) $(INDEX_RES_FILE) $(CURR_FILES) $(LANG_FILES) $(REGION_FILES) $(ZONE_FILES) $(COLLATION_FILES) $(BRK_RES_FILES) $(RBNF_FILES) $(TRANSLIT_FILE S) $(SPREP_FILES) $(CFU_FILES) 442 ALL_FILES = $(DAT_FILES) $(CNV_FILES) $(CNV_FILES_SPECIAL) $(BRK_FILES) $(DICT_F ILES) $(RES_FILES) $(INDEX_RES_FILE) $(CURR_FILES) $(LANG_FILES) $(REGION_FILES) $(ZONE_FILES) $(UNIT_FILES) $(COLLATION_FILES) $(BRK_RES_FILES) $(RBNF_FILES) $ (TRANSLIT_FILES) $(SPREP_FILES) $(CFU_FILES)
430 ALL_INDEX_SRC_FILES = $(PKGDATA_LIST) $(INDEX_FILE) $(CURR_INDEX_FILE) $(LANG_IN DEX_FILE) $(REGION_INDEX_FILE) $(ZONE_INDEX_FILE) $(COLLATION_INDEX_FILE) $(BRK_ RES_INDEX_FILE) $(RBNF_INDEX_FILE) 443 ALL_INDEX_SRC_FILES = $(PKGDATA_LIST) $(INDEX_FILE) $(CURR_INDEX_FILE) $(LANG_IN DEX_FILE) $(REGION_INDEX_FILE) $(ZONE_INDEX_FILE) $(UNIT_INDEX_FILE) $(COLLATION _INDEX_FILE) $(BRK_RES_INDEX_FILE) $(RBNF_INDEX_FILE)
431 # a list to use in the .lst files (package-relative) 444 # a list to use in the .lst files (package-relative)
432 COLL_FILES_LIST=$(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT) 445 COLL_FILES_LIST=$(COLLATION_FILES_SHORT) $(COLLATION_INDEX_RES_SHORT)
433 BRK_FILES_LIST=$(BRK_FILES_SHORT) $(BRK_RES_FILES_SHORT) $(BRK_RES_INDEX_RES_SHO RT) $(DICT_FILES_SHORT) 446 BRK_FILES_LIST=$(BRK_FILES_SHORT) $(BRK_RES_FILES_SHORT) $(BRK_RES_INDEX_RES_SHO RT) $(DICT_FILES_SHORT)
434 LOCALE_FILES_LIST= $(RES_FILES_SHORT) $(LANG_FILES_SHORT) $(REGION_FILES_SHORT) $(ZONE_FILES_SHORT) 447 LOCALE_FILES_LIST= $(RES_FILES_SHORT) $(LANG_FILES_SHORT) $(REGION_FILES_SHORT) $(ZONE_FILES_SHORT) $(UNIT_FILES_SHORT)
435 MISC_FILES_LIST=$(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(CNV_FILES_SHORT_SPECIAL) $(CURR_FILES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILE S_SHORT) $(SPREP_FILES_SHORT) $(CFU_FILES_SHORT) 448 MISC_FILES_LIST=$(DAT_FILES_SHORT) $(CNV_FILES_SHORT) $(CNV_FILES_SHORT_SPECIAL) $(CURR_FILES_SHORT) $(RBNF_FILES_SHORT) $(RBNF_INDEX_RES_SHORT) $(TRANSLIT_FILE S_SHORT) $(SPREP_FILES_SHORT) $(CFU_FILES_SHORT)
436 UNI_CORE_DATA=pnames.icu uprops.icu ucase.icu ubidi.icu 449 UNI_CORE_DATA=pnames.icu uprops.icu ucase.icu ubidi.icu nfc.nrm
437 UNI_CORE_TARGET_DATA=$(UNI_CORE_DATA:%=$(BUILDDIR)/%) 450 UNI_CORE_TARGET_DATA=$(UNI_CORE_DATA:%=$(BUILDDIR)/%)
438 451
439 ifneq ($(INCLUDE_UNI_CORE_DATA),) 452 ifneq ($(INCLUDE_UNI_CORE_DATA),)
440 MISC_FILES_LIST+=$(UNI_CORE_DATA) 453 MISC_FILES_LIST+=$(UNI_CORE_DATA)
441 build-local: uni-core-data 454 build-local: uni-core-data
455 echo timestamp > $@
442 endif 456 endif
443 457
444 ##################################################### 458 #####################################################
445 # General data build rules 459 # General data build rules
446 460
447 ## Files to remove for 'make clean' 461 ## Files to remove for 'make clean'
448 CLEANFILES = *~ icupkg.inc 462 CLEANFILES = *~ icupkg.inc *.x
449 463
450 ifeq ($(ICUDATA_SOURCE_ARCHIVE),) 464 ifeq ($(ICUDATA_SOURCE_ARCHIVE),)
451 build-local: build-dir $(SO_VERSION_DATA) $(ALL_FILES) $(PKGDATA_LIST) $(OS390LI ST) 465 build-local: build-dir $(SO_VERSION_DATA) $(ALL_FILES) $(PKGDATA_LIST) $(OS390LI ST)
466 echo timestamp > $@
452 $(PKGDATA_LIST): $(SRCLISTDEPS) 467 $(PKGDATA_LIST): $(SRCLISTDEPS)
453 @echo "generating $@ (list of data files)" 468 @echo "generating $@ (list of data files)"
454 @-$(RMV) $@ 469 @-$(RMV) $@
455 @for file in $(COLL_FILES_LIST); do \ 470 @for file in $(COLL_FILES_LIST); do \
456 echo $$file >> $@; \ 471 echo $$file >> $@; \
457 done; 472 done;
458 @for file in $(BRK_FILES_LIST); do \ 473 @for file in $(BRK_FILES_LIST); do \
459 echo $$file >> $@; \ 474 echo $$file >> $@; \
460 done; 475 done;
461 @for file in $(LOCALE_FILES_LIST); do \ 476 @for file in $(LOCALE_FILES_LIST); do \
462 echo $$file >> $@; \ 477 echo $$file >> $@; \
463 done; 478 done;
464 @for file in $(MISC_FILES_LIST); do \ 479 @for file in $(MISC_FILES_LIST); do \
465 echo $$file >> $@; \ 480 echo $$file >> $@; \
466 done; 481 done;
467 else 482 else
468 build-local: build-dir $(SO_VERSION_DATA) $(PKGDATA_LIST) $(OS390LIST) 483 build-local: build-dir $(SO_VERSION_DATA) $(PKGDATA_LIST) $(OS390LIST)
484 echo timestamp > $@
469 $(PKGDATA_LIST): $(SRCLISTDEPS) $(ICUDATA_SOURCE_ARCHIVE) 485 $(PKGDATA_LIST): $(SRCLISTDEPS) $(ICUDATA_SOURCE_ARCHIVE)
470 ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES) 486 ifneq ($(ICUDATA_SOURCE_IS_NATIVE_TARGET),YES)
471 @echo "Unpacking $(ICUDATA_SOURCE_ARCHIVE) and generating $@ (list of da ta files)" 487 @echo "Unpacking $(ICUDATA_SOURCE_ARCHIVE) and generating $@ (list of da ta files)"
472 @-$(RMV) $@ 488 @-$(RMV) $@
473 $(INVOKE) $(TOOLBINDIR)/icupkg -d $(BUILDDIR) --list -x \* $(ICUDATA_SOU RCE_ARCHIVE) -o $@ 489 $(INVOKE) $(TOOLBINDIR)/icupkg -d $(BUILDDIR) --list -x \* $(ICUDATA_SOU RCE_ARCHIVE) -o $@
474 else 490 else
475 @echo "$@" > $@ 491 @echo "$@" > $@
476 endif 492 endif
477 endif 493 endif
478 494
479 495
480 $(BUILD_DIRS): build-dir 496 $(BUILD_DIRS): build-dir
481 497
482 build-dir: 498 build-dir:
499 @-$(RMV) $@
500 echo timestamp > $@.tmp
483 @list='$(BUILD_DIRS)'; \ 501 @list='$(BUILD_DIRS)'; \
484 for dir in $$list; do \ 502 for dir in $$list; do \
485 if ! test -d $$dir; then \ 503 if ! test -d $$dir; then \
486 echo $(MKINSTALLDIRS) $(BUILD_DIRS); \ 504 echo $(MKINSTALLDIRS) $(BUILD_DIRS); \
487 $(MKINSTALLDIRS) $(BUILD_DIRS); \ 505 $(MKINSTALLDIRS) $(BUILD_DIRS); \
488 fi; \ 506 fi; \
489 done 507 done
508 mv $@.tmp $@
490 509
491 # The | is an order-only prerequisite. This helps when the -j option is used, 510 # The | is an order-only prerequisite. This helps when the -j option is used,
492 # and we don't want the files to be built before the directories are built. 511 # and we don't want the files to be built before the directories are built.
493 ifneq ($(filter order-only,$(.FEATURES)),) 512 ifneq ($(filter order-only,$(.FEATURES)),)
494 $(ALL_FILES) $(ALL_INDEX_SRC_FILES): | build-dir 513 $(ALL_FILES) $(ALL_INDEX_SRC_FILES): | build-dir
495 endif 514 endif
496 515
497 # Now, sections for building each kind of data. 516 # Now, sections for building each kind of data.
498 517
499 #################################################### DAT 518 #################################################### DAT
500 # DAT FILES 519 # DAT FILES
501 520
502 # cnvalias.icu 521 # cnvalias.icu
503 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL EXEEXT) 522 $(BUILDDIR)/cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLBINDIR)/gencnval$(TOOL EXEEXT)
504 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx t 523 $(INVOKE) $(TOOLBINDIR)/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.tx t
505 524
506 # Targets for prebuilt Unicode data 525 # Targets for prebuilt Unicode data
507 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu 526 $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu
508 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 527 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
509 528
510 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm 529 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm
511 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 530 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
512 531
513 $(BUILDDIR)/coll/%.icu: $(SRCDATADIR)/in/coll/%.icu 532 $(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu
514 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 533 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
515 534
516 #################################################### SPP 535 #################################################### SPP
517 # SPP FILES 536 # SPP FILES
518 537
519 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU ILDDIR)/unames.icu 538 $(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BU ILDDIR)/unames.icu
520 $(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)
521 540
522 #################################################### BRK 541 #################################################### BRK
523 # BRK FILES 542 # BRK FILES
524 543
525 $(BRKBLDDIR)/%.brk: $(BRKSRCDIR)/%.txt $(TOOLBINDIR)/genbrk$(TOOLEXEEXT) $(DAT_F ILES) 544 $(BRKBLDDIR)/%.brk: $(BRKSRCDIR)/%.txt $(TOOLBINDIR)/genbrk$(TOOLEXEEXT) $(DAT_F ILES)
526 $(INVOKE) $(TOOLBINDIR)/genbrk -c -i $(BUILDDIR) -r $< -o $@ 545 $(INVOKE) $(TOOLBINDIR)/genbrk -c -i $(BUILDDIR) -r $< -o $@
527 546
528 #################################################### DICT 547 #################################################### DICT
529 # DICT FILES 548 # DICT FILES
530 549
531 # .dict file generated regardless of whether dictionary file exists 550 # .dict file generated regardless of whether dictionary file exists
532 551
533 $(BRKBLDDIR)/%.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES) 552 $(BRKBLDDIR)/%.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES)
534 $(INVOKE) $(TOOLBINDIR)/gendict --uchars -c -i $(BUILDDIR) $(BRKSRCDIR)/ $(*F).txt $@ 553 $(INVOKE) $(TOOLBINDIR)/gendict --uchars -c -i $(BUILDDIR) $(BRKSRCDIR)/ $(*F).txt $@
535 554
536 $(BRKBLDDIR)/thaidict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES) 555 $(BRKBLDDIR)/thaidict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES)
537 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x0e00 -c -i $(BUILDDIR) $(BRKSRCDIR)/thaidict.txt $(BRKBLDDIR)/thaidict.dict 556 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x0e00 -c -i $(BUILDDIR) $(BRKSRCDIR)/thaidict.txt $(BRKBLDDIR)/thaidict.dict
538 557
539 $(BRKBLDDIR)/laodict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES) 558 $(BRKBLDDIR)/laodict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES)
540 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x0e80 -c -i $(BUILDDIR) $(BRKSRCDIR)/laodict.txt $(BRKBLDDIR)/laodict.dict 559 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x0e80 -c -i $(BUILDDIR) $(BRKSRCDIR)/laodict.txt $(BRKBLDDIR)/laodict.dict
541 560
561 $(BRKBLDDIR)/burmesedict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES)
562 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x1000 -c -i $(BUILDDIR) $(BRKSRCDIR)/burmesedict.txt $(BRKBLDDIR)/burmesedict.dict
563
542 # TODO: figure out why combining characters are here? 564 # TODO: figure out why combining characters are here?
543 $(BRKBLDDIR)/khmerdict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES) 565 $(BRKBLDDIR)/khmerdict.dict: $(TOOLBINDIR)/gendict$(TOOLEXEEXT) $(DAT_FILES)
544 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x1780 -c -i $(BUILDDIR) $(BRKSRCDIR)/khmerdict.txt $(BRKBLDDIR)/khmerdict.dict 566 $(INVOKE) $(TOOLBINDIR)/gendict --bytes --transform offset-0x1780 -c -i $(BUILDDIR) $(BRKSRCDIR)/khmerdict.txt $(BRKBLDDIR)/khmerdict.dict
545 567
546 #################################################### CFU 568 #################################################### CFU
547 # CFU FILES 569 # CFU FILES
548 # Note: gencfu requires two input files to produce a single output file. 570 # Note: gencfu requires two input files to produce a single output file.
549 # There will be exactly one target file and two source files. 571 # There will be exactly one target file and two source files.
550 # The $(word n, ...) selects the nth word from the following stuff. 572 # The $(word n, ...) selects the nth word from the following stuff.
551 # There must be a nicer way to do this. 573 # There must be a nicer way to do this.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 $(RMV) $@; \ 678 $(RMV) $@; \
657 echo "// Warning this file is automatically generated" > $@; \ 679 echo "// Warning this file is automatically generated" > $@; \
658 echo "$(INDEX_NAME):table(nofallback) {" >> $@; \ 680 echo "$(INDEX_NAME):table(nofallback) {" >> $@; \
659 echo " InstalledLocales {" >> $@; \ 681 echo " InstalledLocales {" >> $@; \
660 for file in $(INSTALLED_ZONE_FILES); do \ 682 for file in $(INSTALLED_ZONE_FILES); do \
661 echo " $$file {\"\"}" >> $@; \ 683 echo " $$file {\"\"}" >> $@; \
662 done; \ 684 done; \
663 echo " }" >> $@; \ 685 echo " }" >> $@; \
664 echo "}" >> $@; 686 echo "}" >> $@;
665 687
688 ### unit res
689 $(UNITBLDDIR)/%.res: $(UNITSRCDIR)/%.txt $(TOOLBINDIR)/genrb$(TOOLEXEEXT) $(DAT _FILES)
690 $(INVOKE) $(TOOLBINDIR)/genrb --usePoolBundle $(GENRBOPTS) -i $(BUILDDIR ) -s $(UNITSRCDIR) -d $(UNITBLDDIR) $(<F)
691
692 # copy the unit/pool.res file from the source folder to the build output folder
693 # and swap it to native endianness
694 $(UNITBLDDIR)/pool.res: $(UNITSRCDIR)/pool.res
695 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $(UNITSRCDIR)/pool.res $(UNITBLDDIR)/pool.res
696
697 $(UNITBLDDIR)/$(INDEX_NAME).res: $(OUTTMPDIR)/$(UNIT_TREE)/$(INDEX_NAME).txt $(T OOLBINDIR)/genrb$(TOOLEXEEXT)
698 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -s $(OUTTMPDIR )/$(UNIT_TREE) -d $(UNITBLDDIR) $(INDEX_NAME).txt
699
700 $(UNIT_INDEX_FILE): $(SRCLISTDEPS)
701 @echo "generating $@ (list of installed time zone name locales)"; \
702 $(RMV) $@; \
703 echo "// Warning this file is automatically generated" > $@; \
704 echo "$(INDEX_NAME):table(nofallback) {" >> $@; \
705 echo " InstalledLocales {" >> $@; \
706 for file in $(INSTALLED_UNIT_FILES); do \
707 echo " $$file {\"\"}" >> $@; \
708 done; \
709 echo " }" >> $@; \
710 echo "}" >> $@;
711
666 ### collation res 712 ### collation res
667 $(COLBLDDIR)/%.res: $(COLSRCDIR)/%.txt $(TOOLBINDIR)/genrb$(TOOLEXEEXT) $(DAT_F ILES) 713 $(COLBLDDIR)/%.res: $(COLSRCDIR)/%.txt $(TOOLBINDIR)/genrb$(TOOLEXEEXT) $(DAT_F ILES)
668 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -s $(COLSRCDIR ) -d $(COLBLDDIR) $(<F) 714 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -s $(COLSRCDIR ) -d $(COLBLDDIR) $(<F)
669 715
670 $(COLBLDDIR)/$(INDEX_NAME).res: $(OUTTMPDIR)/$(COLLATION_TREE)/$(INDEX_NAME).txt $(TOOLBINDIR)/genrb$(TOOLEXEEXT) 716 $(COLBLDDIR)/$(INDEX_NAME).res: $(OUTTMPDIR)/$(COLLATION_TREE)/$(INDEX_NAME).txt $(TOOLBINDIR)/genrb$(TOOLEXEEXT)
671 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -s $(OUTTMPDIR )/$(COLLATION_TREE) -d $(COLBLDDIR) $(INDEX_NAME).txt 717 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -s $(OUTTMPDIR )/$(COLLATION_TREE) -d $(COLBLDDIR) $(INDEX_NAME).txt
672 718
673 $(COLLATION_INDEX_FILE): $(SRCLISTDEPS) 719 $(COLLATION_INDEX_FILE): $(SRCLISTDEPS)
674 @echo "generating $@ (list of installed collation locales)"; \ 720 @echo "generating $@ (list of installed collation locales)"; \
675 $(RMV) $@; \ 721 $(RMV) $@; \
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 829
784 $(BUILDDIR)/$(INDEX_NAME).res: $(INDEX_FILE) $(TOOLBINDIR)/genrb$(TOOLEXEEXT) 830 $(BUILDDIR)/$(INDEX_NAME).res: $(INDEX_FILE) $(TOOLBINDIR)/genrb$(TOOLEXEEXT)
785 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -d $(BUILDDIR) $(INDEX_FILE) 831 $(INVOKE) $(TOOLBINDIR)/genrb $(GENRBOPTS) -i $(BUILDDIR) -d $(BUILDDIR) $(INDEX_FILE)
786 832
787 # The core Unicode properties files (pnames.icu, uprops.icu, ucase.icu, ubidi.ic u) 833 # The core Unicode properties files (pnames.icu, uprops.icu, ucase.icu, ubidi.ic u)
788 # are hardcoded in the common DLL and therefore not included in the data package any more. 834 # are hardcoded in the common DLL and therefore not included in the data package any more.
789 # They are not built by default but need to be built for ICU4J data and for gett ing the .c source files 835 # They are not built by default but need to be built for ICU4J data and for gett ing the .c source files
790 # when updating the Unicode data. 836 # when updating the Unicode data.
791 uni-core-data: build-dir $(UNI_CORE_TARGET_DATA) 837 uni-core-data: build-dir $(UNI_CORE_TARGET_DATA)
792 @echo Unicode .icu files built to $(BUILDDIR) 838 @echo Unicode .icu files built to $(BUILDDIR)
839 echo timestamp > $@
793 840
794 # Build the ICU4J icudata.jar. 841 # Build the ICU4J icudata.jar.
795 # Command line: 842 # Command line:
796 # (Run this from the output data folder which may not be .../source/data in an out-of-source build.) 843 # (Run this from the output data folder which may not be .../source/data in an out-of-source build.)
797 # ~/svn.icu/trunk/source/data> make JAR=jar ICU4J_ROOT=~/svn.icu4j/trunk icuda ta.jar 844 # ~/svn.icu/trunk/source/data> make JAR=jar ICU4J_ROOT=~/svn.icu4j/trunk icuda ta.jar
798 # You can omit the ICU4J_ROOT for just building the .jar files without copying t hem. 845 # You can omit the ICU4J_ROOT for just building the .jar files without copying t hem.
799 # You can omit the JAR if it's just jar. 846 # You can omit the JAR if it's just jar.
800 JAR=jar 847 JAR=jar
801 848
802 # For building the testdata.jar see ../test/testdata/Makefile. 849 # For building the testdata.jar see ../test/testdata/Makefile.
803 850
804 ICU4J_TZDATA=$(OUTDIR)/icu4j/icutzdata.jar 851 ICU4J_TZDATA=$(OUTDIR)/icu4j/icutzdata.jar
805 ICU4J_TZDATA_FILES=zoneinfo64 metaZones timezoneTypes windowsZones 852 ICU4J_TZDATA_FILES=zoneinfo64 metaZones timezoneTypes windowsZones
806 ICU4J_DATA_DIRNAME=com/ibm/icu/impl/data/$(ICUDATA_BASENAME_VERSION)b 853 ICU4J_DATA_DIRNAME=com/ibm/icu/impl/data/$(ICUDATA_BASENAME_VERSION)b
807 ICU4J_TZDATA_PATHS=$(ICU4J_TZDATA_FILES:%="$(ICU4J_DATA_DIRNAME)/%.res") 854 ICU4J_TZDATA_PATHS=$(ICU4J_TZDATA_FILES:%="$(ICU4J_DATA_DIRNAME)/%.res")
808 855
809 # generate icu4j-related data to $(OUTDIR)/icu4j/com/ibm/icu/impl/data/... 856 # generate icu4j-related data to $(OUTDIR)/icu4j/com/ibm/icu/impl/data/...
810 generate-data: build-dir packagedata $(OUTTMPDIR)/$(ICUDATA_PLATFORM_NAME).dat u ni-core-data 857 generate-data: build-dir packagedata $(OUTTMPDIR)/$(ICUDATA_PLATFORM_NAME).dat u ni-core-data
811 mkdir -p $(OUTDIR)/icu4j/$(ICU4J_DATA_DIRNAME) 858 mkdir -p $(OUTDIR)/icu4j/$(ICU4J_DATA_DIRNAME)
812 mkdir -p $(OUTDIR)/icu4j/tzdata/$(ICU4J_DATA_DIRNAME) 859 mkdir -p $(OUTDIR)/icu4j/tzdata/$(ICU4J_DATA_DIRNAME)
813 » echo pnames.icu ubidi.icu ucase.icu uprops.icu > $(OUTDIR)/icu4j/add.txt 860 » echo $(UNI_CORE_DATA) > $(OUTDIR)/icu4j/add.txt
814 $(INVOKE) $(TOOLBINDIR)/icupkg $(OUTTMPDIR)/$(ICUDATA_PLATFORM_NAME).dat $(OUTDIR)/icu4j/$(ICUDATA_BASENAME_VERSION)b.dat -a $(OUTDIR)/icu4j/add.txt -s $(BUILDDIR) -x '*' -tb -d $(OUTDIR)/icu4j/$(ICU4J_DATA_DIRNAME) 861 $(INVOKE) $(TOOLBINDIR)/icupkg $(OUTTMPDIR)/$(ICUDATA_PLATFORM_NAME).dat $(OUTDIR)/icu4j/$(ICUDATA_BASENAME_VERSION)b.dat -a $(OUTDIR)/icu4j/add.txt -s $(BUILDDIR) -x '*' -tb -d $(OUTDIR)/icu4j/$(ICU4J_DATA_DIRNAME)
815 mv $(ICU4J_TZDATA_PATHS:%=$(OUTDIR)/icu4j/%) "$(OUTDIR)/icu4j/tzdata/$(I CU4J_DATA_DIRNAME)" 862 mv $(ICU4J_TZDATA_PATHS:%=$(OUTDIR)/icu4j/%) "$(OUTDIR)/icu4j/tzdata/$(I CU4J_DATA_DIRNAME)"
816 863
817 $(OUTDIR)/icu4j/icutzdata.jar: generate-data 864 $(OUTDIR)/icu4j/icutzdata.jar: generate-data
818 $(JAR) cf $(OUTDIR)/icu4j/icutzdata.jar -C $(OUTDIR)/icu4j/tzdata $(ICU4 J_DATA_DIRNAME)/ 865 $(JAR) cf $(OUTDIR)/icu4j/icutzdata.jar -C $(OUTDIR)/icu4j/tzdata $(ICU4 J_DATA_DIRNAME)/
819 866
820 # Build icudata.jar: 867 # Build icudata.jar:
821 # - add the uni-core-data to the ICU package 868 # - add the uni-core-data to the ICU package
822 # - swap the ICU data 869 # - swap the ICU data
823 # - extract all data items 870 # - extract all data items
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 done; 927 done;
881 928
882 ifeq ($(POST_DATA_BUILD), os400-data-rebind) 929 ifeq ($(POST_DATA_BUILD), os400-data-rebind)
883 os400-data-rebind: $(LIBICUUC) 930 os400-data-rebind: $(LIBICUUC)
884 931
885 $(LIBICUUC): $(LIBICUDT) 932 $(LIBICUUC): $(LIBICUDT)
886 $(RMV) $(LIBICUUC) 933 $(RMV) $(LIBICUUC)
887 (cd ../common && $(MAKE) RECURSIVE=YES) || exit; 934 (cd ../common && $(MAKE) RECURSIVE=YES) || exit;
888 endif 935 endif
889 936
OLDNEW
« no previous file with comments | « source/configure.ac ('k') | source/data/brkitr/brkfiles.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698