ICU-392 build data file with versioned entry point
X-SVN-Rev: 5328
This commit is contained in:
parent
7d283f6829
commit
e026c8d874
@ -804,11 +804,14 @@ openCommonData(UDataMemory *pData,
|
||||
*basename=0;
|
||||
|
||||
/* try to find the Table of Contents */
|
||||
#if 0
|
||||
if(uprv_strcmp(inBasename, U_ICUDATA_NAME) == 0) {
|
||||
uprv_strcpy(entryName, "icudata");
|
||||
} else {
|
||||
uprv_strcpy(entryName, inBasename);
|
||||
}
|
||||
#endif
|
||||
uprv_strcpy(entryName, inBasename);
|
||||
|
||||
uprv_strcat(entryName, "_" DATA_TYPE);
|
||||
pHeader=normalizeDataPointer((const DataHeader *)GET_LIBRARY_ENTRY(lib, entryName));
|
||||
|
@ -104,7 +104,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
packagedata: build/icudata.lst $(top_builddir)/tools/pkgdata/icupkg.inc
|
||||
( cd build ; $(INVOKE) $(PKGDATA) -e icudata -s . -T . -p $(ICUDATA_NAME) icudata.lst )
|
||||
( cd build ; $(INVOKE) $(PKGDATA) -e $(ICUDATA_NAME) -s . -T . -p $(ICUDATA_NAME) icudata.lst )
|
||||
|
||||
packagetest: $(TESTDATAOBJDIR)/testdata.lst $(top_builddir)/tools/pkgdata/icupkg.inc
|
||||
( cd $(TESTDATAOBJDIR) ; $(INVOKE) $(PKGDATA) -T . -s . -p testdata testdata.lst )
|
||||
|
@ -8,7 +8,7 @@
|
||||
#
|
||||
# 12/10/1999 weiv Created
|
||||
|
||||
U_ICUDATA_NAME=icudt18l
|
||||
U_ICUDATA_NAME=icudt19l
|
||||
|
||||
#If no config, we default to debug
|
||||
!IF "$(CFG)" == ""
|
||||
@ -140,7 +140,7 @@ BRK_FILES = "$(ICUDBLD)\sent.brk" "$(ICUDBLD)\char.brk" "$(ICUDBLD)\line.brk" "$
|
||||
"$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll" : $(CNV_FILES) $(BRK_FILES) qchk.dat fchk.dat uprops.dat unames.dat unorm.dat cnvalias.dat tz.dat ucadata.dat invuca.dat $(ALL_RES) icudata.res
|
||||
@echo Building icu data
|
||||
@cd "$(ICUDBLD)"
|
||||
"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -e icudata -v -T . -m dll -c -p $(U_ICUDATA_NAME) -O "$(PKGOPT)" -d "$(DLL_OUTPUT)" -s . <<pkgdatain.txt
|
||||
"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -e $(U_ICUDATA_NAME) -v -T . -m dll -c -p $(U_ICUDATA_NAME) -O "$(PKGOPT)" -d "$(DLL_OUTPUT)" -s . <<pkgdatain.txt
|
||||
qchk.dat
|
||||
fchk.dat
|
||||
uprops.dat
|
||||
|
@ -8,7 +8,7 @@
|
||||
#
|
||||
# 12/10/1999 weiv Created
|
||||
|
||||
U_ICUDATA_NAME=icudt18l
|
||||
U_ICUDATA_NAME=icudt19l
|
||||
|
||||
#If no config, we default to debug
|
||||
!IF "$(CFG)" == ""
|
||||
@ -140,7 +140,7 @@ BRK_FILES = "$(ICUDBLD)\sent.brk" "$(ICUDBLD)\char.brk" "$(ICUDBLD)\line.brk" "$
|
||||
"$(DLL_OUTPUT)\$(U_ICUDATA_NAME).dll" : $(CNV_FILES) $(BRK_FILES) qchk.dat fchk.dat uprops.dat unames.dat unorm.dat cnvalias.dat tz.dat ucadata.dat invuca.dat $(ALL_RES) icudata.res
|
||||
@echo Building icu data
|
||||
@cd "$(ICUDBLD)"
|
||||
"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -e icudata -v -T . -m dll -c -p $(U_ICUDATA_NAME) -O "$(PKGOPT)" -d "$(DLL_OUTPUT)" -s . <<pkgdatain.txt
|
||||
"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -e $(U_ICUDATA_NAME) -v -T . -m dll -c -p $(U_ICUDATA_NAME) -O "$(PKGOPT)" -d "$(DLL_OUTPUT)" -s . <<pkgdatain.txt
|
||||
qchk.dat
|
||||
fchk.dat
|
||||
uprops.dat
|
||||
|
Loading…
Reference in New Issue
Block a user