diff --git a/icu4c/source/tools/makedata.bat b/icu4c/source/tools/makedata.bat index 2cca858ff6..fc7c2ba110 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 0000000000..b3455c36ed --- /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:"*******************************************************************************"