[sword-cvs] icu-sword/source/data .cvsignore,1.3,1.4 Makefile.in,1.5,1.6 makedata.dsp,1.1,1.2 makedata.mak,1.1,1.2 makedata.vcproj,1.1,1.2 README,1.1,NONE makedata.bat,1.1,NONE mkdll.lk,1.1,NONE mkobj.cl,1.1,NONE
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 6 Apr 2004 03:11:18 -0700
- Previous message: [sword-cvs] icu-sword/source/config mh-aix-gcc,NONE,1.1 mh-beos,NONE,1.1 mh-mpras,NONE,1.1 Makefile.inc.in,1.6,1.7 icu-config-bottom,1.1,1.2 mh-aix,1.5,1.6 mh-aix-va,1.5,1.6 mh-alpha-linux-cc,1.5,1.6 mh-alpha-linux-gcc,1.5,1.6 mh-alpha-osf,1.3,1.4 mh-bsd-gcc,1.5,1.6 mh-cygwin,1.5,1.6 mh-cygwin-msvc,1.1,1.2 mh-darwin,1.5,1.6 mh-hpux-acc,1.5,1.6 mh-hpux-cc,1.5,1.6 mh-hpux-gcc,1.1,1.2 mh-irix,1.5,1.6 mh-linux,1.5,1.6 mh-os390,1.5,1.6 mh-os400,1.5,1.6 mh-ptx,1.5,1.6 mh-qnx,1.1,1.2 mh-solaris,1.5,1.6 mh-solaris-gcc,1.5,1.6
- Next message: [sword-cvs] icu-sword/source/layout AnchorTables.cpp,1.3,1.4 ArabicLayoutEngine.cpp,1.3,1.4 ArabicLayoutEngine.h,1.3,1.4 ArabicShaping.cpp,1.3,1.4 ClassDefinitionTables.cpp,1.3,1.4 ContextualGlyphSubstProc.h,1.3,1.4 ContextualSubstSubtables.cpp,1.3,1.4 ContextualSubstSubtables.h,1.3,1.4 DefaultCharMapper.h,1.3,1.4 GXLayoutEngine.cpp,1.3,1.4 GXLayoutEngine.h,1.3,1.4 GlyphIterator.cpp,1.3,1.4 GlyphIterator.h,1.3,1.4 GlyphPositioningTables.cpp,1.3,1.4 GlyphSubstitutionTables.cpp,1.3,1.4 GlyphSubstitutionTables.h,1.3,1.4 HanLayoutEngine.cpp,1.1,1.2 HanLayoutEngine.h,1.1,1.2 IndicLayoutEngine.cpp,1.3,1.4 IndicLayoutEngine.h,1.3,1.4 IndicRearrangementProcessor.cpp,1.3,1.4 IndicRearrangementProcessor.h,1.3,1.4 IndicReordering.cpp,1.3,1.4 IndicReordering.h,1.3,1.4 LEFontInstance.h,1.3,1.4 LEGlyphFilter.h,1.3,1.4 LELanguages.h,1.1,1.2 LEScripts.h,1.3,1.4 LESwaps.h,1.3,1.4 LETypes.h,1.3,1.4 LayoutEngine.cpp,1.3,1.4 LayoutEngine.h,1.3,1.4 LigatureSubstProc.cpp,1.3,1.4 LigatureSubstProc.h,1.3,1.4 LookupProcessor.cpp,1.3,1.4 LookupProcessor.h,1.3,1.4 MPreFixups.cpp,1.1,1.2 MPreFixups.h,1.1,1.2 Makefile.in,1.4,1.5 MarkToBasePosnSubtables.cpp,1.3,1.4 MarkToMarkPosnSubtables.cpp,1.3,1.4 MultipleSubstSubtables.cpp,1.3,1.4 OpenTypeLayoutEngine.cpp,1.4,1.5 OpenTypeLayoutEngine.h,1.3,1.4 ScriptAndLanguage.h,1.3,1.4 ScriptAndLanguageTags.cpp,1.3,1.4 ScriptAndLanguageTags.h,1.3,1.4 SegmentArrayProcessor.h,1.3,1.4 SegmentSingleProcessor.h,1.3,1.4 SimpleArrayProcessor.h,1.3,1.4 SingleTableProcessor.h,1.3,1.4 ThaiLayoutEngine.cpp,1.3,1.4 ThaiLayoutEngine.h,1.3,1.4 ThaiShaping.cpp,1.4,1.5 ThaiShaping.h,1.3,1.4 ThaiStateTables.cpp,1.3,1.4 TrimmedArrayProcessor.h,1.3,1.4 layout.dsp,1.4,1.5 layout.rc,1.3,1.4 layout.vcproj,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/core/icu-sword/source/data
In directory www:/tmp/cvs-serv8911/source/data
Modified Files:
.cvsignore Makefile.in makedata.dsp makedata.mak
makedata.vcproj
Removed Files:
README makedata.bat mkdll.lk mkobj.cl
Log Message:
ICU 2.8 sync
Index: .cvsignore
===================================================================
RCS file: /cvs/core/icu-sword/source/data/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- .cvsignore 10 Sep 2003 02:42:05 -0000 1.3
+++ .cvsignore 6 Apr 2004 10:08:10 -0000 1.4
@@ -1,8 +1,4 @@
Makefile
-.links
-*.exp
-*.obj
-*.lib
*.plg
icupkg.inc
out
Index: Makefile.in
===================================================================
RCS file: /cvs/core/icu-sword/source/data/Makefile.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile.in 10 Sep 2003 02:42:05 -0000 1.5
+++ Makefile.in 6 Apr 2004 10:08:10 -0000 1.6
@@ -18,13 +18,19 @@
#lib icu data for link
LIB_ICUDATA_NAME=lib$(ICUDATA_NAME)
+LIB_STATIC_ICUDATA_NAME=lib$(STATIC_PREFIX)$(ICUDATA_NAME)
# sanity!
ICUDT=$(ICUDATA_PLATFORM_NAME)_
+# Allow Windows to override these options
+ifeq ($(PKGDATA_OPTS),)
+PKGDATA_OPTS = -O $(top_builddir)/data/icupkg.inc
+endif
+
top_builddir_from_tmp = $(patsubst ..%,../..%,$(top_builddir))
CURDIR=$(shell pwd)
-PKGDATA = $(top_builddir)/tools/pkgdata/pkgdata -O $(top_builddir)/data/icupkg.inc -d $(CURDIR)/out
+PKGDATA = $(top_builddir)/tools/pkgdata/pkgdata $(PKGDATA_OPTS) -c -d $(CURDIR)/out
PKGDATA_VERSIONING = -r $(SO_TARGET_VERSION)
# OBJDATADIR must be a short path (with ..'s) to the data.
@@ -35,6 +41,7 @@
UNICODEDATADIR=$(SRCDATADIR)/unidata
LOCSRCDIR=$(SRCDATADIR)/locales
TRNSSRCDIR=$(SRCDATADIR)/translit
+MISCSRCDIR=$(SRCDATADIR)/misc
BRKSRCDIR=$(SRCDATADIR)/brkitr
MISCSRCDIR=$(SRCDATADIR)/misc
UCMSRCDIR=$(SRCDATADIR)/mappings
@@ -48,7 +55,7 @@
.PHONY : all all-local all-recursive install install-local install-files install-dlls build-cmnfile build-dll \
install-recursive clean clean-local clean-recursive distclean \
distclean-local distclean-recursive dist dist-local dist-recursive \
-check check-local check-recursive build-testdlls build-basetestdata build-local
+check check-local check-recursive build-testdlls build-basetestdata build-local clean-resindex
## Clear suffix list
.SUFFIXES :
@@ -95,26 +102,40 @@
# During this INVOKE we only want to use stubdata.
# We don't want to try to write over files that we are using.
-PKGDATA_INVOKE:=$(subst :$(top_builddir)/data/out,,$(INVOKE))
+PKGDATA_INVOKE:=$(subst :$(top_builddir)/data/out,,$(INVOKE)) $(PKGDATA_INVOKE_OPTS)
packagedata: icupkg.inc $(BUILDDIR)/icudata.lst
- $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(BUILDDIR)/icudata.lst
ifneq ($(ENABLE_STATIC),)
+# Move the shared library out of the way while creating the static library
+# to prevent name collisions.
+ifeq ($(wildcard $(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO)),$(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO))
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO) $(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO)
+endif
+ifeq ($(wildcard $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A)),$(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A))
+ mv -f $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A) $(OUTDIR)/$(LIB_ICUDATA_NAME).$(A)
+endif
$(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -p $(ICUDATA_NAME) -m static $(BUILDDIR)/icudata.lst
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME).$(A) $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A)
+ifeq ($(wildcard $(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO)),$(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO))
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO) $(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO)
+endif
endif
+ $(PKGDATA_INVOKE) $(PKGDATA) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -p $(ICUDATA_NAME) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) $(BUILDDIR)/icudata.lst
## Install ICU data.
-install-local: $(BUILDDIR)/icudata.lst ./icupkg.inc install-convrtrstxt $(OS390INSTALL)
+install-local: $(BUILDDIR)/icudata.lst ./icupkg.inc packagedata $(OS390INSTALL)
$(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(ICUPKGDATA_DIR)
- $(PKGDATA_INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR)
ifneq ($(ENABLE_STATIC),)
- $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR)
+# It is done this way just in case the $(SO) == $(A)
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO) $(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO)
+ mv -f $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A) $(OUTDIR)/$(LIB_ICUDATA_NAME).$(A)
+ $(PKGDATA_INVOKE) $(PKGDATA) -m static -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME).$(A) $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A)
+ mv -f $(OUTDIR)/$(LIB_ICUDATA_NAME)-temp.$(SO) $(OUTDIR)/$(LIB_ICUDATA_NAME).$(SO)
+ $(INSTALL-L) $(OUTDIR)/$(LIB_STATIC_ICUDATA_NAME).$(A) $(DESTDIR)$(ICUPKGDATA_DIR)/$(LIB_STATIC_ICUDATA_NAME).$(A)
endif
+ $(PKGDATA_INVOKE) $(PKGDATA) -m $(PKGDATA_MODE) $(PKGDATA_VERSIONING) -e $(ICUDATA_ENTRY_POINT) -T $(BUILDDIR) -s $(BUILDDIR) -p $(ICUDATA_NAME) $(BUILDDIR)/icudata.lst -I $(DESTDIR)$(ICUPKGDATA_DIR)
-install-convrtrstxt: $(DESTDIR)$(pkgsysconfdir)/convrtrs.txt
-$(DESTDIR)$(pkgsysconfdir)/convrtrs.txt: $(UCMSRCDIR)/convrtrs.txt
- $(MKINSTALLDIRS) $(DESTDIR)$(pkgsysconfdir)
- $(INSTALL_DATA) $< $@
####
####
@@ -123,7 +144,7 @@
$(MKINSTALLDIRS) $(TMPDATADIR) $(DESTDIR)$(libdir)
$(INVOKE) $(PKGDATA) -s $(BUILDDIR) -T $(BUILDDIR)/tmp3901 -p $(ICUDATA_NAME)$(STUB_SUFFIX) -e $(ICUDATA_ENTRY_POINT) $(BUILDDIR)/icudata390.lst -m dll $(PKGDATA_VERSIONING) -I $(DESTDIR)$(ICUPKGDATA_DIR)
ifeq ($(PKGDATA_MODE),dll)
- $(INSTALL-L) $(OUTDIR)/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX)$(IMPORT_LIB_EXT) $(DESTDIR)$(ICUPKGDATA_DIR)/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX)$(IMPORT_LIB_EXT)
+ $(INSTALL-L) $(OUTDIR)/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX)$(SO_TARGET_VERSION)$(IMPORT_LIB_EXT) $(DESTDIR)$(ICUPKGDATA_DIR)/$(LIB_ICUDATA_NAME)$(STUB_SUFFIX)$(SO_TARGET_VERSION)$(IMPORT_LIB_EXT)
endif
#### $(LIB_ICUDATA_NAME)$(BATCH_SUFFIX) is the subset data for batch mode
@@ -136,7 +157,7 @@
##### Define all the data files. the build rule that depends on them is below.
## DAT files - Misc. data files.
-DAT_FILES_SHORT=uprops.icu pnames.icu unames.icu unorm.icu cnvalias.icu tz.icu ucadata.icu invuca.icu uidna.icu
+DAT_FILES_SHORT=uprops.icu pnames.icu unames.icu unorm.icu cnvalias.icu ucadata.icu invuca.icu uidna.spp
DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/$(ICUDT)%)
## BRK files
@@ -168,7 +189,13 @@
TRNS_SOURCE= $(TRANSLIT_SOURCE) $(TRANSLIT_SOURCE_LOCAL)
TRNS_SRC_FILES=$(TRNS_SOURCE:%=$(TRNSSRCDIR)/%)
-ALL_RES_SOURCE= $(RES_SOURCE) $(TRNS_SOURCE)
+## MISC files
+-include $(MISCSRCDIR)/miscfiles.mk
+-include $(MISCSRCDIR)/misclocal.mk
+MSC_SOURCE= $(MISC_SOURCE) $(MISC_SOURCE_LOCAL)
+MSC_SRC_FILES=$(MSC_SOURCE:%=$(MISCSRCDIR)/%)
+
+ALL_RES_SOURCE= $(RES_SOURCE) $(TRNS_SOURCE) $(MSC_SOURCE)
RES_FILES = $(ALL_RES_SOURCE:%.txt=$(BUILDDIR)/$(ICUDT)%.res)
INDEX_FILES=$(BUILDDIR)/res_index.txt
@@ -205,15 +232,15 @@
# uprops.icu
$(BUILDDIR)/$(ICUDT)uprops.icu: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/BidiMirroring.txt $(TOOLDIR)/genprops/genprops$(EXEEXT) $(BUILDDIR)/$(ICUDT)pnames.icu
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genprops/genprops -s $(UNICODEDATADIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
+ $(INVOKE) $(TOOLDIR)/genprops/genprops -s $(UNICODEDATADIR) -i $(BUILDDIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
# pnames.icu
$(BUILDDIR)/$(ICUDT)pnames.icu: $(UNICODEDATADIR)/PropertyAliases.txt $(UNICODEDATADIR)/PropertyValueAliases.txt $(UNICODEDATADIR)/Blocks.txt $(COMINCDIR)/uscript.h $(COMINCDIR)/uchar.h $(TOOLDIR)/genpname/genpname$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genpname/genpname -d $(BUILDDIR)
+ $(INVOKE) $(TOOLDIR)/genpname/genpname -d $(BUILDDIR)
# unorm.icu
-$(BUILDDIR)/$(ICUDT)unorm.icu: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/DerivedNormalizationProps.txt $(UNICODEDATADIR)/BidiMirroring.txt $(TOOLDIR)/gennorm/gennorm$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gennorm/gennorm -s $(UNICODEDATADIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
+$(BUILDDIR)/$(ICUDT)unorm.icu: $(UNICODEDATADIR)/UnicodeData.txt $(UNICODEDATADIR)/DerivedNormalizationProps.txt $(UNICODEDATADIR)/BidiMirroring.txt $(TOOLDIR)/gennorm/gennorm$(EXEEXT) $(BUILDDIR)/$(ICUDT)uprops.icu
+ $(INVOKE) $(TOOLDIR)/gennorm/gennorm -s $(UNICODEDATADIR) -d $(BUILDDIR) -u $(UNICODE_VERSION)
# ucadata.icu
$(BUILDDIR)/$(ICUDT)ucadata.icu $(BUILDDIR)/$(ICUDT)invuca.icu: $(UNICODEDATADIR)/FractionalUCA.txt $(TOOLDIR)/genuca/genuca$(EXEEXT) $(BUILDDIR)/$(ICUDT)unorm.icu
@@ -221,19 +248,15 @@
# unames.icu
$(BUILDDIR)/$(ICUDT)unames.icu: $(UNICODEDATADIR)/UnicodeData.txt $(TOOLDIR)/gennames/gennames$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gennames/gennames -1 -d $(BUILDDIR) $(UNICODEDATADIR)/UnicodeData.txt -u $(UNICODE_VERSION)
+ $(INVOKE) $(TOOLDIR)/gennames/gennames -1 -d $(BUILDDIR) $(UNICODEDATADIR)/UnicodeData.txt -u $(UNICODE_VERSION)
# cnvalias.icu
$(BUILDDIR)/$(ICUDT)cnvalias.icu: $(UCMSRCDIR)/convrtrs.txt $(TOOLDIR)/gencnval/gencnval$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gencnval/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.txt
-
-# tz.icu
-$(BUILDDIR)/$(ICUDT)tz.icu: $(MISCSRCDIR)/timezone.txt $(TOOLDIR)/gentz/gentz$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gentz/gentz -d $(BUILDDIR) $(MISCSRCDIR)/timezone.txt
+ $(INVOKE) $(TOOLDIR)/gencnval/gencnval -d $(BUILDDIR) $(UCMSRCDIR)/convrtrs.txt
-# uidna.icu
-$(BUILDDIR)/$(ICUDT)uidna.icu: $(MISCSRCDIR)/rfc3454_A_1.txt $(MISCSRCDIR)/rfc3454_B_1.txt $(MISCSRCDIR)/rfc3454_B_2.txt $(MISCSRCDIR)/rfc3454_C_X.txt $(TOOLDIR)/genidna/genidna$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genidna/genidna -d $(BUILDDIR) -s $(SRCDATADIR)
+# uidna.spp
+$(BUILDDIR)/$(ICUDT)uidna.spp: $(MISCSRCDIR)/NamePrepProfile.txt $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(BUILDDIR)/$(ICUDT)uprops.icu $(BUILDDIR)/$(ICUDT)unames.icu $(BUILDDIR)/$(ICUDT)pnames.icu
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(MISCSRCDIR) -b uidna -n $(UNICODEDATADIR) -u 3.2.0 -k NamePrepProfile.txt
#################################################### BRK
# BRK FILES
@@ -241,24 +264,27 @@
thaidict.brk: $(SRCDATADIR)/thaidict.brk
$(RMV) $@ && ln -s $(BUILDDIR) $@
-$(BUILDDIR)/$(ICUDT)%.brk: $(BRKSRCDIR)/%.txt $(TOOLDIR)/genbrk/genbrk$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genbrk/genbrk -r $< -o $@
+$(BUILDDIR)/$(ICUDT)%.brk: $(BRKSRCDIR)/%.txt $(TOOLDIR)/genbrk/genbrk$(EXEEXT) $(DAT_FILES)
+ $(INVOKE) $(TOOLDIR)/genbrk/genbrk -i $(BUILDDIR) -r $< -o $@
#################################################### CNV
# CNV FILES
$(BUILDDIR)/$(ICUDT)%.cnv: $(UCMSRCDIR)/%.ucm $(TOOLDIR)/makeconv/makeconv$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/makeconv/makeconv -p $(ICUDATA_PLATFORM_NAME) -c -d $(BUILDDIR) $(UCMSRCDIR)/$(<F)
+ $(INVOKE) $(TOOLDIR)/makeconv/makeconv -p $(ICUDATA_PLATFORM_NAME) -c -d $(BUILDDIR) $(UCMSRCDIR)/$(<F)
#################################################### RES
# RES FILES
all-RES: $(RES_FILES)
-$(BUILDDIR)/$(ICUDT)%.res: $(LOCSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT) $(BUILDDIR)/$(ICUDT)ucadata.icu $(BUILDDIR)/$(ICUDT)uprops.icu $(BUILDDIR)/$(ICUDT)unorm.icu
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -s $(LOCSRCDIR) -d $(BUILDDIR) $(<F)
+$(BUILDDIR)/$(ICUDT)%.res: $(LOCSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT) $(DAT_FILES)
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -i $(BUILDDIR) -s $(LOCSRCDIR) -d $(BUILDDIR) $(<F)
-$(BUILDDIR)/$(ICUDT)%.res: $(TRNSSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -s $(TRNSSRCDIR) -d $(BUILDDIR) $(<F)
+$(BUILDDIR)/$(ICUDT)%.res: $(TRNSSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT) $(DAT_FILES)
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -i $(BUILDDIR) -s $(TRNSSRCDIR) -d $(BUILDDIR) $(<F)
+
+$(BUILDDIR)/$(ICUDT)%.res: $(MISCSRCDIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -i $(BUILDDIR) -s $(MISCSRCDIR) -d $(BUILDDIR) $(<F)
$(BUILDDIR)/res_index.txt: $(SRCLISTDEPS)
@echo "generating $@ (list of installed locales)"; \
@@ -272,8 +298,11 @@
echo " }" >> $@; \
echo "}" >> $@;
+clean-resindex:
+ -$(RMV) $(BUILDDIR)/res_index.txt $(BUILDDIR)/icudata.lst
+
$(BUILDDIR)/$(ICUDT)%.res: $(INDEX_FILES) $(TOOLDIR)/genrb/genrb$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -d $(BUILDDIR) $(INDEX_FILES)
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -i $(BUILDDIR) -d $(BUILDDIR) $(INDEX_FILES)
###################################################################
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@@ -314,14 +343,14 @@
TESTDT=$(TESTDATA)_
# File definitions
-TEST_DAT_FILES=$(TESTBUILDDIR)/$(TESTDT)test.icu
+TEST_DAT_FILES=$(TESTBUILDDIR)/$(TESTDT)test.icu $(TESTBUILDDIR)/$(TESTDT)nfscsi.spp $(TESTBUILDDIR)/$(TESTDT)nfscss.spp $(TESTBUILDDIR)/$(TESTDT)nfscis.spp $(TESTBUILDDIR)/$(TESTDT)nfsmxs.spp $(TESTBUILDDIR)/$(TESTDT)nfsmxp.spp
-TEST_UCM_SOURCE= test1.ucm test3.ucm test4.ucm ibm9027.ucm
+TEST_UCM_SOURCE= test1.ucm test3.ucm test4.ucm test4x.ucm ibm9027.ucm
TEST_UCM_FILES=$(TEST_UCM_SOURCE:%=$(TESTSRCDATADIR)/data/%)
TEST_CNV_FILES=$(TEST_UCM_SOURCE:%.ucm=$(TESTBUILDDIR)/$(TESTDT)%.cnv)
-TEST_RES = casing.txt mc.txt root.txt te.txt te_IN.txt testtypes.txt testaliases.txt testempty.txt DataDrivenCollationTest.txt idna_rules.txt
-TEST_RES_FILES=$(TEST_RES:%.txt=$(TESTBUILDDIR)/$(TESTDT)%.res) $(TESTBUILDDIR)/$(TESTDT)iscii.res
+TEST_RES = casing.txt mc.txt root.txt te.txt te_IN.txt testtypes.txt testaliases.txt testempty.txt DataDrivenCollationTest.txt idna_rules.txt conversion.txt testtable32.txt
+TEST_RES_FILES=$(TEST_RES:%.txt=$(TESTBUILDDIR)/$(TESTDT)%.res) $(TESTBUILDDIR)/$(TESTDT)iscii.res $(TESTSRCDATADIR)/$(TESTDT)icu26_testtypes.res $(TESTSRCDATADIR)/$(TESTDT)icu26e_testtypes.res
ALL_TEST_FILES = $(TEST_DAT_FILES) $(TEST_BRK_FILES) $(TEST_CNV_FILES) $(TEST_RES_FILES) $(TESTOUTDIR)/$(TESTDT)nam.typ
@@ -339,14 +368,44 @@
# test.icu
$(TESTBUILDDIR)/$(TESTDT)test.icu: $(TOOLDIR)/gentest/gentest$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/gentest/gentest -d $(TESTBUILDDIR)
+ $(INVOKE) $(TOOLDIR)/gentest/gentest -d $(TESTBUILDDIR)
+
+$(TESTBUILDDIR)/testtable32.txt: $(TOOLDIR)/gentest/gentest$(EXEEXT)
+ $(INVOKE) $(TOOLDIR)/gentest/gentest -r -d $(TESTBUILDDIR)
+
+$(TESTBUILDDIR)/$(TESTDT)testtable32.res: $(TESTBUILDDIR)/testtable32.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(TESTDATA) -q -s $(TESTBUILDDIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) $(<F)
+
+# Targets for nfscsi.spp
+$(TESTBUILDDIR)/$(TESTDT)nfscsi.spp: $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(TESTSRCDATADIR)/nfs4_cs_prep_ci.txt
+ @echo Building nfscsi.icu
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) -b nfscsi -p $(TESTDATA) -u 3.2.0 nfs4_cs_prep_ci.txt
+
+# Targets for nfscss.spp
+$(TESTBUILDDIR)/$(TESTDT)nfscss.spp: $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(TESTSRCDATADIR)/nfs4_cs_prep_cs.txt
+ @echo Building nfscss.icu
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) -b nfscss -p $(TESTDATA) -u 3.2.0 nfs4_cs_prep_cs.txt
+
+# Targets for nfscis.spp
+$(TESTBUILDDIR)/$(TESTDT)nfscis.spp: $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(TESTSRCDATADIR)/nfs4_cis_prep.txt
+ @echo Building nfscis.spp
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) -b nfscis -p $(TESTDATA) -k -n $(UNICODEDATADIR) -u 3.2.0 nfs4_cis_prep.txt
+
+# Targets for nfsmxs.spp
+$(TESTBUILDDIR)/$(TESTDT)nfsmxs.spp: $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(TESTSRCDATADIR)/nfs4_mixed_prep_s.txt
+ @echo Building nfsmxs.spp
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) -b nfsmxs -p $(TESTDATA) -k -n $(UNICODEDATADIR) -u 3.2.0 nfs4_mixed_prep_s.txt
+
+# Targets for nfsmxp.spp
+$(TESTBUILDDIR)/$(TESTDT)nfsmxp.spp: $(TOOLDIR)/gensprep/gensprep$(EXEEXT) $(TESTSRCDATADIR)/nfs4_mixed_prep_p.txt
+ @echo Building nfsmxp.spp
+ $(INVOKE) $(TOOLDIR)/gensprep/gensprep -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) -b nfsmxp -p $(TESTDATA) -k -n $(UNICODEDATADIR) -u 3.2.0 nfs4_mixed_prep_p.txt
$(TESTBUILDDIR)/$(TESTDT)%.cnv: $(TESTSRCDATADIR)/%.ucm $(TOOLDIR)/makeconv/makeconv$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/makeconv/makeconv -p $(TESTDATA) -c -d $(TESTBUILDDIR) $(TESTSRCDATADIR)/$(<F)
+ $(INVOKE) $(TOOLDIR)/makeconv/makeconv -p $(TESTDATA) -c -d $(TESTBUILDDIR) $(TESTSRCDATADIR)/$(<F)
$(TESTBUILDDIR)/$(TESTDT)%.res: $(TESTSRCDATADIR)/%.txt $(TOOLDIR)/genrb/genrb$(EXEEXT)
- ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(TESTDATA) -q -s $(TESTSRCDATADIR) -d $(TESTBUILDDIR) $(<F)
-
+ $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(TESTDATA) -q -s $(TESTSRCDATADIR) -i $(BUILDDIR) -d $(TESTBUILDDIR) $(<F)
$(TESTBUILDDIR)/$(TESTDT)iscii.res: $(TESTSRCDATADIR)/iscii.bin $(TOOLDIR)/genrb/genrb$(EXEEXT)
@echo Testing genrb -e option
@@ -360,9 +419,9 @@
cp $< $@
-testdata: $(ALL_TEST_FILES) $(UNPACKAGEDTESTDATA)
+testdata: packagedata $(ALL_TEST_FILES) $(UNPACKAGEDTESTDATA)
packagetest: testdata icupkg.inc $(TESTBUILDDIR)/testdata.lst
- $(INVOKE) $(PKGDATA) -T $(TESTBUILDDIR) -d $(TESTOUTDIR) -s $(TESTBUILDDIR) -p $(TESTDATA) -m common $(TESTBUILDDIR)/testdata.lst
+ $(PKGDATA_INVOKE) $(PKGDATA) -T $(TESTBUILDDIR) -d $(TESTOUTDIR) -s $(TESTBUILDDIR) -p $(TESTDATA) -m common $(TESTBUILDDIR)/testdata.lst
Index: makedata.dsp
===================================================================
RCS file: /cvs/core/icu-sword/source/data/makedata.dsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- makedata.dsp 10 Sep 2003 02:42:05 -0000 1.1
+++ makedata.dsp 6 Apr 2004 10:08:10 -0000 1.2
@@ -118,6 +118,17 @@
# Name "makedata - Win32 Debug"
# Name "makedata - Win64 Release"
# Name "makedata - Win64 Debug"
+
+!IF "$(CFG)" == "makedata - Win32 Release"
+
+!ELSEIF "$(CFG)" == "makedata - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "makedata - Win64 Release"
+
+!ELSEIF "$(CFG)" == "makedata - Win64 Debug"
+
+!ENDIF
+
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
@@ -133,6 +144,10 @@
SOURCE=.\makedata.mak
# PROP Intermediate_Dir ".\out\build"
+# End Source File
+# Begin Source File
+
+SOURCE=.\misc\miscfiles.mk
# End Source File
# Begin Source File
Index: makedata.mak
===================================================================
RCS file: /cvs/core/icu-sword/source/data/makedata.mak,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- makedata.mak 10 Sep 2003 02:42:05 -0000 1.1
+++ makedata.mak 6 Apr 2004 10:08:10 -0000 1.2
@@ -4,13 +4,13 @@
#**********************************************************************
# nmake file for creating data files on win32
# invoke with
-# nmake /f makedata.mak [Debug|Release]
+# nmake /f makedata.mak icumake=$(ProjectDir)
#
# 12/10/1999 weiv Created
##############################################################################
# Keep the following in sync with the version - see common/unicode/uversion.h
-U_ICUDATA_NAME=icudt26
+U_ICUDATA_NAME=icudt28
##############################################################################
U_ICUDATA_ENDIAN_SUFFIX=l
UNICODE_VERSION=4
@@ -81,9 +81,10 @@
# ICUMISC
-# The directory that contains files that are miscelleneous data
+# The directory that contains miscfiles.mk along with files that are miscelleneous data
#
ICUMISC=$(ICUP)\source\data\misc
+ICUMISC2=misc
#
# ICUDATA
@@ -128,17 +129,6 @@
PATH = $(PATH);$(ICUP)\bin
-
-# We have to prepare params for pkgdata - to help it find the tools
-!IF "$(CFG)" == "Debug" || "$(CFG)" == "debug"
-!MESSAGE makedata.mak: doing a Debug build.
-PKGOPT=D:$(ICUP)
-!ELSE
-!MESSAGE makedata.mak: doing a Release build.
-PKGOPT=R:$(ICUP)
-!ENDIF
-
-
# Suffixes for data files
.SUFFIXES : .ucm .cnv .dll .dat .res .txt .c
@@ -188,7 +178,7 @@
!INCLUDE "$(ICUSRCDATA)\$(ICULOC)\reslocal.mk"
GENRB_SOURCE=$(GENRB_SOURCE) $(GENRB_SOURCE_LOCAL)
!ELSE
-!MESSAGE Information: cannot find "reslocal.mk". Not building user-additional resource bundle files.
+!MESSAGE Information: cannot find "reslocal.mk". Not building user-additional resource bundle files.
!ENDIF
!ELSE
!MESSAGE Warning: cannot find "resfiles.mk"
@@ -211,13 +201,28 @@
TRANSLIT_FILES = $(TRANSLIT_SOURCE:.txt=.res)
+# Read list of miscellaneous resource bundle files
+!IF EXISTS("$(ICUSRCDATA)\$(ICUMISC2)\miscfiles.mk")
+!INCLUDE "$(ICUSRCDATA)\$(ICUMISC2)\miscfiles.mk"
+!IF EXISTS("$(ICUSRCDATA)\$(ICUMISC2)\misclocal.mk")
+!INCLUDE "$(ICUSRCDATA)\$(ICUMISC2)\misclocal.mk"
+MISC_SOURCE=$(MISC_SOURCE) $(MISC_SOURCE_LOCAL)
+!ELSE
+!MESSAGE Information: cannot find "misclocal.mk". Not building user-additional miscellaenous files.
+!ENDIF
+!ELSE
+!MESSAGE Warning: cannot find "miscfiles.mk"
+!ENDIF
+
+MISC_FILES = $(MISC_SOURCE:.txt=.res)
+
INDEX_RES_FILES = res_index.res
-ALL_RES = $(INDEX_RES_FILES) $(RB_FILES) $(TRANSLIT_FILES)
+ALL_RES = $(INDEX_RES_FILES) $(RB_FILES) $(TRANSLIT_FILES) $(MISC_FILES)
#############################################################################
#
-# ALL
+# ALL
# This target builds all the data files. The world starts here.
# Note: we really want the common data dll to go to $(DLL_OUTPUT), not $(ICUBLD). But specifying
# that here seems to cause confusion with the building of the stub library of the same name.
@@ -228,12 +233,12 @@
@echo All targets are up to date
#
-# testdata - nmake will invoke pkgdata, which will create testdata.dat
+# testdata - nmake will invoke pkgdata, which will create testdata.dat
#
-"$(TESTDATAOUT)\testdata.dat": $(ICUDT)ucadata.icu $(TRANSLIT_FILES) $(RB_FILES) {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe
+"$(TESTDATAOUT)\testdata.dat": $(ICUDT)ucadata.icu $(TRANSLIT_FILES) $(MISC_FILES) $(RB_FILES) {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe
@cd "$(TESTDATA)"
@echo building testdata...
- nmake /nologo /f "$(TESTDATA)\testdata.mk" TESTDATA=. ICUTOOLS="$(ICUTOOLS)" PKGOPT="$(PKGOPT)" CFG=$(CFG) TESTDATAOUT="$(TESTDATAOUT)" ICUDATA="$(ICUDATA)" TESTDATABLD="$(TESTDATABLD)"
+ nmake /nologo /f "$(TESTDATA)\testdata.mk" TESTDATA=. ICUTOOLS="$(ICUTOOLS)" ICUP="$(ICUP)" CFG=$(CFG) TESTDATAOUT="$(TESTDATAOUT)" ICUDATA="$(ICUDATA)" TESTDATABLD="$(TESTDATABLD)"
#
# Break iterator data files.
@@ -245,18 +250,17 @@
# move the .dll and .lib files to their final destination afterwards.
# The $(U_ICUDATA_NAME).lib and $(U_ICUDATA_NAME).exp should already be in the right place due to stubdata.
#
-"$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll" : "$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata.exe" $(CNV_FILES) $(BRK_FILES) "$(ICUBLD)\$(ICUDT)uprops.icu" "$(ICUBLD)\$(ICUDT)unames.icu" "$(ICUBLD)\$(ICUDT)pnames.icu" "$(ICUBLD)\$(ICUDT)unorm.icu" "$(ICUBLD)\$(ICUDT)cnvalias.icu" "$(ICUBLD)\$(ICUDT)tz.icu" "$(ICUBLD)\$(ICUDT)ucadata.icu" "$(ICUBLD)\$(ICUDT)invuca.icu" "$(ICUBLD)\$(ICUDT)uidna.icu" $(ALL_RES) "$(ICUBLD)\$(ICUDT)icudata.res" "$(ICUP)\source\stubdata\stubdatabuilt.txt"
+"$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll" : "$(ICUP)\bin\pkgdata.exe" $(CNV_FILES) $(BRK_FILES) "$(ICUBLD)\$(ICUDT)uprops.icu" "$(ICUBLD)\$(ICUDT)unames.icu" "$(ICUBLD)\$(ICUDT)pnames.icu" "$(ICUBLD)\$(ICUDT)unorm.icu" "$(ICUBLD)\$(ICUDT)cnvalias.icu" "$(ICUBLD)\$(ICUDT)ucadata.icu" "$(ICUBLD)\$(ICUDT)invuca.icu" "$(ICUBLD)\$(ICUDT)uidna.spp" $(ALL_RES) "$(ICUBLD)\$(ICUDT)icudata.res" "$(ICUP)\source\stubdata\stubdatabuilt.txt"
@echo Building icu data
@cd "$(ICUBLD)"
- @"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -f -e $(U_ICUDATA_NAME) -v -m dll -c -p $(ICUPKG) -O "$(PKGOPT)" -d "$(ICUBLD)" -s . <<pkgdatain.txt
+ @"$(ICUP)\bin\pkgdata" -f -e $(U_ICUDATA_NAME) -v -m dll -c -p $(ICUPKG) -d "$(ICUBLD)" -s . <<pkgdatain.txt
$(ICUDT)unorm.icu
$(ICUDT)uprops.icu
$(ICUDT)pnames.icu
$(ICUDT)unames.icu
$(ICUDT)ucadata.icu
$(ICUDT)invuca.icu
-$(ICUDT)uidna.icu
-$(ICUDT)tz.icu
+$(ICUDT)uidna.spp
$(ICUDT)cnvalias.icu
$(CNV_FILES:.cnv =.cnv
)
@@ -270,7 +274,7 @@
copy "$(ICUPKG).dat" "$(ICUOUT)\$(U_ICUDATA_NAME)$(U_ICUDATA_ENDIAN_SUFFIX).dat"
-@erase "$(ICUPKG).dat"
-
+
# RBBI .brk file generation.
# TODO: set up an inference rule, so these don't need to be written out one by one...
@@ -279,25 +283,25 @@
BRKDEPS = "$(ICUBLD)\$(ICUDT)uprops.icu" "$(ICUBLD)\$(ICUDT)unames.icu" "$(ICUBLD)\$(ICUDT)pnames.icu" "$(ICUBLD)\$(ICUDT)unorm.icu"
$(ICUDT)char.brk : "$(ICUBRK)\char.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\char.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\char.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)word.brk : "$(ICUBRK)\word.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\word.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\word.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)line.brk : "$(ICUBRK)\line.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\line.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\line.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)sent.brk : "$(ICUBRK)\sent.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\sent.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\sent.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)title.brk : "$(ICUBRK)\title.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\title.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\title.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)word_th.brk : "$(ICUBRK)\word_th.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\word_th.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\word_th.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
$(ICUDT)line_th.brk : "$(ICUBRK)\line_th.txt" $(BRKDEPS)
- genbrk -r "$(ICUBRK)\line_th.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
+ genbrk -c -r "$(ICUBRK)\line_th.txt" -o $@ -d"$(ICUBLD)" -i "$(ICUBLD)\\"
# utility target to send us to the right dir
@@ -314,23 +318,26 @@
@cd "$(ICUBLD)"
-@erase "*.brk"
-@erase "*.cnv"
- -@erase "*.dat"
-@erase "*.exp"
- -@erase "*.obj"
-@erase "*.icu"
-@erase "*.lib"
-@erase "*.mak"
+ -@erase "*.obj"
-@erase "*.res"
+ -@erase "*.spp"
-@erase "*.txt"
@cd "$(ICUOUT)"
-@erase "*.dat"
@cd "$(TESTDATABLD)"
- -@erase "*.res"
- -@erase "*.dat"
+ -@erase "*.cnv"
+ -@erase "*.icu"
-@erase "*.mak"
+ -@erase "*.res"
+ -@erase "*.spp"
+ -@erase "*.txt"
@cd "$(TESTDATAOUT)"
-@erase "*.dat"
- -@erase "*.cnv"
+ -@erase "*.typ"
@cd "$(ICUBLD)"
@@ -339,11 +346,20 @@
@echo Generating converters
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -t -p"$(ICUPKG)" -d"$(ICUBLD)" $<
-# Batch infrence rule for creating transliterator resource files
+# Batch inference rule for creating transliterator resource files
{$(ICUSRCDATA_RELATIVE_PATH)\$(ICUTRNS)}.txt.res::
@echo Making Transliterator Resource Bundle files
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -k -t -p"$(ICUPKG)" -d"$(ICUBLD)" $<
+# 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 -t -q -p"$(ICUPKG)" -d"$(ICUBLD)" $<
+
$(INDEX_RES_FILES):
@echo Generating <<res_index.txt
// Warning this file is automatically generated
@@ -397,25 +413,18 @@
@set ICU_DATA=$(ICUBLD)
@"$(ICUTOOLS)\gencnval\$(CFG)\gencnval" "$(ICUSRCDATA)\$(ICUUCM)\convrtrs.txt"
-# Targets for tz
-"$(ICUBLD)\$(ICUDT)tz.icu" : {"$(ICUMISC)"}timezone.txt {"$(ICUTOOLS)\gentz\$(CFG)"}gentz.exe
- @echo Creating data file for Timezones
- @set ICU_DATA=$(ICUBLD)
- @"$(ICUTOOLS)\gentz\$(CFG)\gentz" "$(ICUMISC)\timezone.txt"
-
# Targets for ucadata.icu & invuca.icu
"$(ICUBLD)\$(ICUDT)invuca.icu" "$(ICUBLD)\$(ICUDT)ucadata.icu": "$(ICUUNIDATA)\FractionalUCA.txt" "$(ICUTOOLS)\genuca\$(CFG)\genuca.exe" $(ICUDT)uprops.icu $(ICUDT)unorm.icu
@echo Creating UCA data files
@set ICU_DATA=$(ICUBLD)
@"$(ICUTOOLS)\genuca\$(CFG)\genuca" -s "$(ICUUNIDATA)"
-# Targets for uidna.icu
-"$(ICUBLD)\$(ICUDT)uidna.icu" : "$(ICUUNIDATA)\*.txt" "$(ICUMISC)\*.txt"
- genidna -s "$(ICUDATA)" -d "$(ICUBLD)\\"
+# Targets for uidna.spp
+"$(ICUBLD)\$(ICUDT)uidna.spp" : "$(ICUUNIDATA)\*.txt" "$(ICUMISC)\NamePrepProfile.txt"
+ gensprep -s "$(ICUMISC)" -d "$(ICUBLD)\\" -b uidna -n "$(ICUUNIDATA)" -k -u 3.2.0 NamePrepProfile.txt
# Dependencies on the tools for the batch inference rules
$(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe
-$(TRANSLIT_SOURCE) $(GENRB_SOURCE) "$(ICUBLD)\$(ICUDT)root.res" : {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe "$(ICUBLD)\$(ICUDT)ucadata.icu" "$(ICUBLD)\$(ICUDT)uprops.icu" "$(ICUBLD)\$(ICUDT)unorm.icu"
-
+$(TRANSLIT_SOURCE) $(MISC_SOURCE) $(GENRB_SOURCE) "$(ICUBLD)\$(ICUDT)root.res" : {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe "$(ICUBLD)\$(ICUDT)ucadata.icu" "$(ICUBLD)\$(ICUDT)uprops.icu" "$(ICUBLD)\$(ICUDT)unorm.icu"
\ No newline at end of file
Index: makedata.vcproj
===================================================================
RCS file: /cvs/core/icu-sword/source/data/makedata.vcproj,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- makedata.vcproj 10 Sep 2003 02:42:05 -0000 1.1
+++ makedata.vcproj 6 Apr 2004 10:08:10 -0000 1.2
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding = "Windows-1252"?>
+<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
@@ -20,9 +20,9 @@
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
- BuildCommandLine="NMAKE /f makedata.mak icumake=$(ProjectDir) cfg=release"
- ReBuildCommandLine="NMAKE /f makedata.mak icumake=$(ProjectDir) cfg=release clean all"
- Output="makedata.exe"/>
+ BuildCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=release"
+ ReBuildCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=release clean all"
+ CleanCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=release clean"/>
</Configuration>
<Configuration
Name="Debug|Win32"
@@ -33,19 +33,26 @@
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
- BuildCommandLine="NMAKE /f makedata.mak icumake=$(ProjectDir) cfg=debug"
- ReBuildCommandLine="NMAKE /f makedata.mak icumake=$(ProjectDir) cfg=debug clean all"
- Output="makedata.exe"/>
+ BuildCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=debug"
+ ReBuildCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=debug clean all"
+ CleanCommandLine="NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=debug clean"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+ </Filter>
+ <Filter
+ Name="Make Files"
+ Filter="mak;mk">
<File
RelativePath=".\makedata.mak">
</File>
<File
+ RelativePath=".\misc\miscfiles.mk">
+ </File>
+ <File
RelativePath=".\locales\resfiles.mk">
</File>
<File
@@ -63,14 +70,6 @@
<File
RelativePath=".\mappings\ucmfiles.mk">
</File>
- </Filter>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl">
</Filter>
</Files>
<Globals>
--- README DELETED ---
--- makedata.bat DELETED ---
--- mkdll.lk DELETED ---
--- mkobj.cl DELETED ---
- Previous message: [sword-cvs] icu-sword/source/config mh-aix-gcc,NONE,1.1 mh-beos,NONE,1.1 mh-mpras,NONE,1.1 Makefile.inc.in,1.6,1.7 icu-config-bottom,1.1,1.2 mh-aix,1.5,1.6 mh-aix-va,1.5,1.6 mh-alpha-linux-cc,1.5,1.6 mh-alpha-linux-gcc,1.5,1.6 mh-alpha-osf,1.3,1.4 mh-bsd-gcc,1.5,1.6 mh-cygwin,1.5,1.6 mh-cygwin-msvc,1.1,1.2 mh-darwin,1.5,1.6 mh-hpux-acc,1.5,1.6 mh-hpux-cc,1.5,1.6 mh-hpux-gcc,1.1,1.2 mh-irix,1.5,1.6 mh-linux,1.5,1.6 mh-os390,1.5,1.6 mh-os400,1.5,1.6 mh-ptx,1.5,1.6 mh-qnx,1.1,1.2 mh-solaris,1.5,1.6 mh-solaris-gcc,1.5,1.6
- Next message: [sword-cvs] icu-sword/source/layout AnchorTables.cpp,1.3,1.4 ArabicLayoutEngine.cpp,1.3,1.4 ArabicLayoutEngine.h,1.3,1.4 ArabicShaping.cpp,1.3,1.4 ClassDefinitionTables.cpp,1.3,1.4 ContextualGlyphSubstProc.h,1.3,1.4 ContextualSubstSubtables.cpp,1.3,1.4 ContextualSubstSubtables.h,1.3,1.4 DefaultCharMapper.h,1.3,1.4 GXLayoutEngine.cpp,1.3,1.4 GXLayoutEngine.h,1.3,1.4 GlyphIterator.cpp,1.3,1.4 GlyphIterator.h,1.3,1.4 GlyphPositioningTables.cpp,1.3,1.4 GlyphSubstitutionTables.cpp,1.3,1.4 GlyphSubstitutionTables.h,1.3,1.4 HanLayoutEngine.cpp,1.1,1.2 HanLayoutEngine.h,1.1,1.2 IndicLayoutEngine.cpp,1.3,1.4 IndicLayoutEngine.h,1.3,1.4 IndicRearrangementProcessor.cpp,1.3,1.4 IndicRearrangementProcessor.h,1.3,1.4 IndicReordering.cpp,1.3,1.4 IndicReordering.h,1.3,1.4 LEFontInstance.h,1.3,1.4 LEGlyphFilter.h,1.3,1.4 LELanguages.h,1.1,1.2 LEScripts.h,1.3,1.4 LESwaps.h,1.3,1.4 LETypes.h,1.3,1.4 LayoutEngine.cpp,1.3,1.4 LayoutEngine.h,1.3,1.4 LigatureSubstProc.cpp,1.3,1.4 LigatureSubstProc.h,1.3,1.4 LookupProcessor.cpp,1.3,1.4 LookupProcessor.h,1.3,1.4 MPreFixups.cpp,1.1,1.2 MPreFixups.h,1.1,1.2 Makefile.in,1.4,1.5 MarkToBasePosnSubtables.cpp,1.3,1.4 MarkToMarkPosnSubtables.cpp,1.3,1.4 MultipleSubstSubtables.cpp,1.3,1.4 OpenTypeLayoutEngine.cpp,1.4,1.5 OpenTypeLayoutEngine.h,1.3,1.4 ScriptAndLanguage.h,1.3,1.4 ScriptAndLanguageTags.cpp,1.3,1.4 ScriptAndLanguageTags.h,1.3,1.4 SegmentArrayProcessor.h,1.3,1.4 SegmentSingleProcessor.h,1.3,1.4 SimpleArrayProcessor.h,1.3,1.4 SingleTableProcessor.h,1.3,1.4 ThaiLayoutEngine.cpp,1.3,1.4 ThaiLayoutEngine.h,1.3,1.4 ThaiShaping.cpp,1.4,1.5 ThaiShaping.h,1.3,1.4 ThaiStateTables.cpp,1.3,1.4 TrimmedArrayProcessor.h,1.3,1.4 layout.dsp,1.4,1.5 layout.rc,1.3,1.4 layout.vcproj,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]