- -@erase "*.dat"
- @cd "$(ICUTMP)"
- -@erase "*.html"
- -@erase "*.lst"
- -@erase "*.mak"
- -@erase "*.obj"
- -@erase "*.res"
- @cd "$(TESTDATABLD)"
- -@erase "*.cnv"
- -@erase "*.icu"
- -@erase "*.mak"
- -@erase "*.nrm"
- -@erase "*.res"
- -@erase "*.spp"
- -@erase "*.txt"
- @cd "$(TESTDATAOUT)"
- -@erase "*.dat"
- @cd "$(TESTDATAOUT)\testdata"
- -@erase "*.typ"
- @cd "$(ICUBLD_PKG)"
-
-
-# RBBI .brk file generation.
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\rules}.txt.brk:
- @echo Creating $@
- @"$(ICUTOOLS)\genbrk\$(CFG)\genbrk" -c -r $< -o $@ -d"$(ICUBLD_PKG)" -i "$(ICUBLD_PKG)"
-
-#RBBI .dict file generation.
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries}.txt.dict:
- @echo Creating $@
- @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --uchars $< "$(ICUBLD_PKG)\$@"
-
-$(ICUBRK)\thaidict.dict:
- @echo Creating $(ICUBRK)\thaidict.dict
- @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e00 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\thaidict.txt "$(ICUBLD_PKG)\$(ICUBRK)\thaidict.dict"
-
-$(ICUBRK)\laodict.dict:
- @echo Creating $(ICUBRK)\laodict.dict
- @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x0e80 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\laodict.txt "$(ICUBLD_PKG)\$(ICUBRK)\laodict.dict"
-
-$(ICUBRK)\burmesedict.dict:
- @echo Creating $(ICUBRK)\burmesedict.dict
- @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x1000 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\burmesedict.txt "$(ICUBLD_PKG)\$(ICUBRK)\burmesedict.dict"
-
-$(ICUBRK)\khmerdict.dict:
- @echo Creating $(ICUBRK)\khmerdict.dict
- @"$(ICUTOOLS)\gendict\$(CFG)\gendict" -c --bytes --transform offset-0x1780 $(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)\dictionaries\khmerdict.txt "$(ICUBLD_PKG)\$(ICUBRK)\khmerdict.dict"
-
-!IFNDEF ICUDATA_SOURCE_ARCHIVE
-# Rule for creating converters
-$(CNV_FILES): $(UCM_SOURCE)
- @echo Building Charset Conversion table $(@B)
- @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c -d"$(ICUBLD_PKG)" $(ICUSRCDATA_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm
-!ENDIF
-
-!IFDEF BUILD_SPECIAL_CNV_FILES
-$(CNV_FILES_SPECIAL): $(UCM_SOURCE_SPECIAL)
- @echo Building Special Charset Conversion table $(@B)
- @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -c --ignore-siso-check -d"$(ICUBLD_PKG)" $(ICUSRCDATA_RELATIVE_PATH)\$(ICUUCM)\$(@B).ucm
-!ENDIF
-
-# Batch inference rule for creating miscellaneous resource files
-# TODO: -q option is specified to squelch the 120+ warnings about
-# empty intvectors and binary elements. Unfortunately, this may
-# squelch other legitimate warnings. When there is a better
-# way, remove the -q.
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUMISC2)}.txt.res::
- @echo Making Miscellaneous Resource Bundle files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -q -d"$(ICUBLD_PKG)" $<
-
-# Inference rule for creating resource bundle files
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)}.txt.res::
- @echo Making Locale Resource Bundle files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC) -k -d"$(ICUBLD_PKG)" $<
-
-# copy the locales/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-pool.res: $(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\$(ICULOC)\pool.res" pool.res
-
-res_index.res:
- @echo Generating <<res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(GENRB_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)" .\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\curr}.txt{curr}.res::
- @echo Making currency display name files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\curr -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\curr" $<
-
-# copy the curr/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-curr\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\curr\pool.res" curr\pool.res
-
-curr\res_index.res:
- @echo Generating <<curr\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(CURR_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\curr" .\curr\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\lang}.txt{lang}.res::
- @echo Making language/script display name files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\lang -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\lang" $<
-
-# copy the lang/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-lang\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\lang\pool.res" lang\pool.res
-
-lang\res_index.res:
- @echo Generating <<lang\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(LANG_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\lang" .\lang\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\region}.txt{region}.res::
- @echo Making region display name files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\region -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\region" $<
-
-# copy the region/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-region\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\region\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\region\pool.res" region\pool.res
-
-region\res_index.res:
- @echo Generating <<region\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(REGION_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\region" .\region\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\zone}.txt{zone}.res::
- @echo Making time zone display name files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\zone -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\zone" $<
-
-# copy the zone/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-zone\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\zone\pool.res" zone\pool.res
-
-zone\res_index.res:
- @echo Generating <<zone\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(ZONE_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\zone" .\zone\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\unit}.txt{unit}.res::
- @echo Making unit display name files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" --usePoolBundle $(ICUSRCDATA_RELATIVE_PATH)\unit -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\unit" $<
-
-# copy the unit/pool.res file from the source folder to the build output folder
-# and swap it to native endianness
-unit\pool.res: $(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res
- "$(ICUPBIN)\icupkg" -tl "$(ICUSRCDATA_RELATIVE_PATH)\unit\pool.res" unit\pool.res
-
-unit\res_index.res:
- @echo Generating <<unit\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(UNIT_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\unit" .\unit\res_index.txt
-
-
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUCOL)}.txt{$(ICUCOL)}.res::
- @echo Making Collation files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\$(ICUCOL)" $<
-
-$(ICUCOL)\res_index.res:
- @echo Generating <<$(ICUCOL)\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(COLLATION_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUCOL)" .\$(ICUCOL)\res_index.txt
-
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICURBNF)}.txt{$(ICURBNF)}.res::
- @echo Making RBNF files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\$(ICURBNF)" $<
-
-$(ICURBNF)\res_index.res:
- @echo Generating <<$(ICURBNF)\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(RBNF_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICURBNF)" .\$(ICURBNF)\res_index.txt
-
-$(ICUBRK)\res_index.res:
- @echo Generating <<$(ICUBRK)\res_index.txt
-// Warning this file is automatically generated
-res_index:table(nofallback) {
- InstalledLocales {
- $(BRK_RES_SOURCE:.txt= {""}
- )
- }
-}
-<<KEEP
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -d"$(ICUBLD_PKG)\$(ICUBRK)" .\$(ICUBRK)\res_index.txt
-
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUBRK)}.txt{$(ICUBRK)}.res::
- @echo Making Break Iterator Resource files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\$(ICUBRK)" $<
-
-{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUTRNS)}.txt{$(ICUTRNS)}.res::
- @echo Making Transliterator files
- @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -i "$(ICUBLD_PKG)" -d"$(ICUBLD_PKG)\$(ICUTRNS)" $<
-