From 9a7d692fabf2645be6cd7eb3ea91a54c468417fc Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Sat, 20 Nov 1999 01:10:07 +0000 Subject: [PATCH] ICU-157 build the data DLL with unames.dat X-SVN-Rev: 197 --- icu4c/source/tools/makedata.bat | 15 ++++++++++++++- icu4c/source/tools/mkdll.lk | 10 ++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 icu4c/source/tools/mkdll.lk diff --git a/icu4c/source/tools/makedata.bat b/icu4c/source/tools/makedata.bat index 2cca858ff66..fc7c2ba110c 100755 --- a/icu4c/source/tools/makedata.bat +++ b/icu4c/source/tools/makedata.bat @@ -26,13 +26,26 @@ cd ..\gencol cd .. +echo create unames.dat and unames_dat.c from UnicodeData.txt +gennames\%toolversion%\gennames -v- -c- "%ICU_DATA%UnicodeData-3.0.0.txt" +genccode\%toolversion%\genccode "%ICU_DATA%unames.dat" + +echo create the data DLL +cl "/I..\..\include" /GD /c "%ICU_DATA%unames_dat.c" +echo "/out:%ICU_DATA%icudata.dll">mkdll.tmp +echo unames_dat.obj>>mkdll.tmp +type mkdll.lk>>mkdll.tmp +link @mkdll.tmp + goto :end :error echo call makedata with the absolute path to the icu directory echo for example, if the full path is d:\mytools\icu then call echo makedata d:\mytools -echo the current directory must be the icu\source\tools directory with makedata.bat echo a second, optional, parameter can be Debug or Release to specify the tools versions +echo. +echo the current directory must be the icu\source\tools directory with makedata.bat +echo also, the cl compiler and link linker must be on the PATH :end diff --git a/icu4c/source/tools/mkdll.lk b/icu4c/source/tools/mkdll.lk new file mode 100644 index 00000000000..b3455c36eda --- /dev/null +++ b/icu4c/source/tools/mkdll.lk @@ -0,0 +1,10 @@ +/DLL +/NOENTRY +/base:"0x4ad00000" +/comment:"*******************************************************************************" +/comment:"* COPYRIGHT: *" +/comment:"* (C) Copyright International Business Machines Corporation, 1999 *" +/comment:"* Licensed Material - Program-Property of IBM - All Rights Reserved. *" +/comment:"* US Government Users Restricted Rights - Use, duplication, or disclosure *" +/comment:"* restricted by GSA ADP Schedule Contract with IBM Corp. *" +/comment:"*******************************************************************************"