2000-12-03 04:09:23 +00:00
|
|
|
#**********************************************************************
|
2001-03-21 20:31:13 +00:00
|
|
|
#* Copyright (C) 1999-2001, International Business Machines Corporation
|
2000-12-03 04:09:23 +00:00
|
|
|
#* and others. All Rights Reserved.
|
|
|
|
#**********************************************************************
|
|
|
|
# nmake file for creating data files on win32
|
|
|
|
# invoke with
|
2001-07-26 21:55:49 +00:00
|
|
|
# nmake /f makedata.mak [Debug|Release]
|
2000-12-03 04:09:23 +00:00
|
|
|
#
|
|
|
|
# 12/10/1999 weiv Created
|
|
|
|
|
2001-10-18 18:24:44 +00:00
|
|
|
U_ICUDATA_NAME=icudt20
|
2001-07-26 21:55:49 +00:00
|
|
|
U_ICUDATA_ENDIAN_SUFFIX=l
|
2001-10-20 00:30:31 +00:00
|
|
|
UNICODE_VERSION=3.1.1
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
# ICUDBLD
|
|
|
|
# Must be provided by whoever runs this makefile.
|
|
|
|
# Is the directory containing this file (makedata.mak)
|
|
|
|
# Is the directory into which most data is built (prior to packaging)
|
|
|
|
# Is icu\source\data\build
|
|
|
|
#
|
|
|
|
!IF "$(ICUDBLD)"==""
|
|
|
|
!ERROR Can't find ICUDBLD (ICU Data Build dir, should point to icu\source\data\build\ )!
|
2000-12-03 04:09:23 +00:00
|
|
|
!ENDIF
|
2001-11-16 18:38:11 +00:00
|
|
|
!MESSAGE ICU data build path is $(ICUDBLD)
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
# ICUP
|
|
|
|
# The root of the ICU source directory tree
|
|
|
|
#
|
|
|
|
ICUP=$(ICUDBLD)\..\..\..
|
2001-11-16 18:38:11 +00:00
|
|
|
ICUP=$(ICUP:\source\data\build\..\..\..=)
|
|
|
|
!MESSAGE ICU data root path is $(ICUP)
|
2001-07-26 21:55:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# ICUDATA
|
|
|
|
# The source directory. Contains the source files for the common data to be built.
|
|
|
|
# WARNING: NOT THE SAME AS ICU_DATA environment variable. Confusing.
|
2000-12-03 04:09:23 +00:00
|
|
|
ICUDATA=$(ICUP)\data
|
|
|
|
|
2001-11-16 20:12:38 +00:00
|
|
|
#
|
|
|
|
# ICUDATA_RELATIVE_PATH
|
|
|
|
# Another name to the source directory. Used for the inference rules because
|
|
|
|
# spaces are not allowed in the directory name.
|
|
|
|
ICUDATA_RELATIVE_PATH=..\..\..\data
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
# DLL_OUTPUT
|
|
|
|
# Destination directory for the common data DLL file.
|
|
|
|
# This is the same place that all of the other ICU DLLs go (the code-containing DLLs)
|
|
|
|
# The lib file for the data DLL goes in $(DLL_OUTPUT)/../lib/
|
|
|
|
#
|
|
|
|
DLL_OUTPUT=$(ICUP)\bin
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
# TESTDATA
|
|
|
|
# The source directory for data needed for test programs.
|
2000-12-03 04:09:23 +00:00
|
|
|
TESTDATA=$(ICUP)\source\test\testdata
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
# TESTDATAOUT
|
|
|
|
# The destination directory for the built test data .dat file
|
|
|
|
# When running the tests, ICU_DATA environment variable is set to here
|
|
|
|
# so that test data files can be loaded. (Tests are NOT run from this makefile,
|
|
|
|
# only the data is put in place.)
|
|
|
|
TESTDATAOUT=$(ICUP)\source\data
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
# ICUTOOLS
|
|
|
|
# Directory under which all of the ICU data building tools live.
|
|
|
|
#
|
2000-12-03 04:09:23 +00:00
|
|
|
ICUTOOLS=$(ICUP)\source\tools
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
|
|
|
|
PATH = $(PATH);$(ICUP)\bin
|
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
# We have to prepare params for pkgdata - to help it find the tools
|
|
|
|
!IF "$(CFG)" == "Debug" || "$(CFG)" == "debug"
|
2001-07-26 21:55:49 +00:00
|
|
|
!MESSAGE makedata.mak: doing a Debug build.
|
2000-12-03 04:09:23 +00:00
|
|
|
PKGOPT=D:$(ICUP)
|
|
|
|
!ELSE
|
2001-07-26 21:55:49 +00:00
|
|
|
!MESSAGE makedata.mak: doing a Release build.
|
2000-12-03 04:09:23 +00:00
|
|
|
PKGOPT=R:$(ICUP)
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
|
|
|
|
# Suffixes for data files
|
|
|
|
.SUFFIXES : .ucm .cnv .dll .dat .res .txt .c
|
|
|
|
|
2001-11-15 21:47:41 +00:00
|
|
|
# We're including a list of .ucm files.
|
|
|
|
# There are several lists, they are all optional.
|
|
|
|
|
|
|
|
# Always build the mapping files for the EBCDIC fallback codepages
|
|
|
|
# They are necessary on EBCDIC machines, and
|
|
|
|
# the following logic is much easier if UCM_SOURCE is never empty.
|
|
|
|
# (They are small.)
|
|
|
|
UCM_SOURCE=ibm-37.ucm ibm-1047-s390.ucm
|
|
|
|
|
|
|
|
!IF EXISTS("$(ICUDATA)\ucmcore.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\ucmcore.mk"
|
|
|
|
UCM_SOURCE=$(UCM_SOURCE) $(UCM_SOURCE_CORE)
|
|
|
|
!ELSE
|
|
|
|
!MESSAGE Warning: cannot find "ucmcore.mk". Not building core MIME/Unix/Windows converter files.
|
|
|
|
!ENDIF
|
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
!IF EXISTS("$(ICUDATA)\ucmfiles.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\ucmfiles.mk"
|
2001-11-15 21:47:41 +00:00
|
|
|
UCM_SOURCE=$(UCM_SOURCE) $(UCM_SOURCE_FILES)
|
2001-10-13 00:32:53 +00:00
|
|
|
!ELSE
|
2001-11-15 21:47:41 +00:00
|
|
|
!MESSAGE Warning: cannot find "ucmfiles.mk". Not building many converter files.
|
2001-10-13 00:32:53 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2001-03-06 23:27:17 +00:00
|
|
|
!IF EXISTS("$(ICUDATA)\ucmebcdic.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\ucmebcdic.mk"
|
2001-11-15 21:47:41 +00:00
|
|
|
UCM_SOURCE=$(UCM_SOURCE) $(UCM_SOURCE_EBCDIC)
|
2001-10-13 00:32:53 +00:00
|
|
|
!ELSE
|
2001-11-15 21:47:41 +00:00
|
|
|
!MESSAGE Warning: cannot find "ucmebcdic.mk". Not building EBCDIC converter files.
|
2001-10-13 00:32:53 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
!IF EXISTS("$(ICUDATA)\ucmlocal.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\ucmlocal.mk"
|
2001-10-13 00:32:53 +00:00
|
|
|
UCM_SOURCE=$(UCM_SOURCE) $(UCM_SOURCE_LOCAL)
|
2000-12-03 04:09:23 +00:00
|
|
|
!ELSE
|
2001-11-15 21:47:41 +00:00
|
|
|
!MESSAGE Information: cannot find "ucmlocal.mk". Not building user-additional converter files.
|
2000-12-03 04:09:23 +00:00
|
|
|
!ENDIF
|
2001-10-13 00:32:53 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
CNV_FILES=$(UCM_SOURCE:.ucm=.cnv)
|
|
|
|
|
|
|
|
# Read list of resource bundle files
|
|
|
|
!IF EXISTS("$(ICUDATA)\resfiles.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\resfiles.mk"
|
|
|
|
!IF EXISTS("$(ICUDATA)\reslocal.mk")
|
|
|
|
!INCLUDE "$(ICUDATA)\reslocal.mk"
|
|
|
|
GENRB_SOURCE=$(GENRB_SOURCE) $(GENRB_SOURCE_LOCAL)
|
|
|
|
!ELSE
|
|
|
|
#!MESSAGE Warning: cannot find "reslocal.mk"
|
|
|
|
!ENDIF
|
|
|
|
!ELSE
|
|
|
|
!ERROR ERROR: cannot find "resfiles.mk"
|
|
|
|
!ENDIF
|
|
|
|
RB_FILES = $(GENRB_SOURCE:.txt=.res)
|
|
|
|
TRANSLIT_FILES = $(TRANSLIT_SOURCE:.txt=.res)
|
|
|
|
ALL_RES = $(RB_FILES) $(TRANSLIT_FILES)
|
|
|
|
|
|
|
|
RB_SOURCE_DIR = $(GENRB_SOURCE:$=$)
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#############################################################################
|
|
|
|
#
|
|
|
|
# ALL
|
|
|
|
# This target builds all the data files. The world starts here.
|
2001-08-01 20:15:06 +00:00
|
|
|
# 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.
|
|
|
|
# Building the common dll in $(ICUBLD) unconditionally copies it to $(DLL_OUTPUT) too.
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
#############################################################################
|
2001-11-16 20:12:38 +00:00
|
|
|
ALL : GODATA "$(ICUDBLD)\$(U_ICUDATA_NAME).dll" testdata "$(TESTDATAOUT)\test1.cnv" "$(TESTDATAOUT)\test3.cnv" "$(TESTDATAOUT)\test4.cnv"
|
2000-12-03 04:09:23 +00:00
|
|
|
@echo All targets are up to date
|
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#
|
|
|
|
# testdata - nmake will invoke pkgdata, which will create testdata.dat
|
|
|
|
#
|
2001-03-19 22:35:36 +00:00
|
|
|
testdata: ucadata.dat $(RB_FILES) {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe
|
|
|
|
@cd "$(TESTDATA)"
|
2001-10-31 23:57:05 +00:00
|
|
|
@echo building testdata...
|
2001-11-16 20:12:38 +00:00
|
|
|
nmake /nologo /f "$(TESTDATA)\testdata.mk" TESTDATA=. ICUTOOLS="$(ICUTOOLS)" PKGOPT="$(PKGOPT)" CFG=$(CFG) TESTDATAOUT="$(TESTDATAOUT)" ICUDATA="$(ICUDATA)"
|
2001-03-19 22:35:36 +00:00
|
|
|
@cd "$(ICUDBLD)"
|
|
|
|
|
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
BRK_FILES = "$(ICUDBLD)\sent.brk" "$(ICUDBLD)\char.brk" "$(ICUDBLD)\line.brk" "$(ICUDBLD)\word.brk" "$(ICUDBLD)\line_th.brk" "$(ICUDBLD)\word_th.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
#invoke pkgdata for ICU common data
|
|
|
|
# pkgdata will drop all output files (.dat, .dll, .lib) into the target (ICUDBLD) directory.
|
|
|
|
# move the .dll and .lib files to their final destination afterwards.
|
|
|
|
#
|
2001-11-16 20:12:38 +00:00
|
|
|
"$(ICUDBLD)\$(U_ICUDATA_NAME).dll" : $(CNV_FILES) $(BRK_FILES) uprops.dat unames.dat unorm.dat cnvalias.dat tz.dat ucadata.dat invuca.dat $(ALL_RES) icudata.res "$(ICUP)\source\stubdata\stubdatabuilt.txt"
|
2000-12-03 04:09:23 +00:00
|
|
|
@echo Building icu data
|
2000-12-04 21:51:29 +00:00
|
|
|
@cd "$(ICUDBLD)"
|
2001-07-26 21:55:49 +00:00
|
|
|
"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -e $(U_ICUDATA_NAME) -v -m dll -c -p $(U_ICUDATA_NAME) -O "$(PKGOPT)" -d "$(ICUDBLD)" -s . <<pkgdatain.txt
|
2000-12-03 04:09:23 +00:00
|
|
|
uprops.dat
|
|
|
|
unames.dat
|
2001-06-20 22:24:42 +00:00
|
|
|
unorm.dat
|
2000-12-03 04:09:23 +00:00
|
|
|
cnvalias.dat
|
|
|
|
tz.dat
|
2001-02-23 04:57:47 +00:00
|
|
|
ucadata.dat
|
|
|
|
invuca.dat
|
2000-12-03 04:09:23 +00:00
|
|
|
$(CNV_FILES:.cnv =.cnv
|
|
|
|
)
|
|
|
|
$(RB_FILES:.res =.res
|
|
|
|
)
|
|
|
|
$(TRANSLIT_FILES:.res =.res
|
|
|
|
)
|
|
|
|
$(BRK_FILES:.brk" =.brk"
|
|
|
|
)
|
|
|
|
<<KEEP
|
2001-09-18 00:02:52 +00:00
|
|
|
copy "$(U_ICUDATA_NAME).dll" "$(DLL_OUTPUT)"
|
|
|
|
-@erase "$(U_ICUDATA_NAME).dll"
|
|
|
|
copy "$(U_ICUDATA_NAME).dat" "..\$(U_ICUDATA_NAME)$(U_ICUDATA_ENDIAN_SUFFIX).dat"
|
|
|
|
-@erase "$(U_ICUDATA_NAME).dat"
|
2001-07-26 21:55:49 +00:00
|
|
|
|
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\sent.brk" : "$(ICUDATA)\sentLE.brk"
|
|
|
|
copy "$(ICUDATA)\sentLE.brk" "$(ICUDBLD)\sent.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\char.brk" : "$(ICUDATA)\charLE.brk"
|
|
|
|
copy "$(ICUDATA)\charLE.brk" "$(ICUDBLD)\char.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\line.brk" : "$(ICUDATA)\lineLE.brk"
|
|
|
|
copy "$(ICUDATA)\lineLE.brk" "$(ICUDBLD)\line.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\word.brk" : "$(ICUDATA)\wordLE.brk"
|
|
|
|
copy "$(ICUDATA)\wordLE.brk" "$(ICUDBLD)\word.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\line_th.brk" : "$(ICUDATA)\line_thLE.brk"
|
|
|
|
copy "$(ICUDATA)\line_thLE.brk" "$(ICUDBLD)\line_th.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-03-02 21:21:25 +00:00
|
|
|
"$(ICUDBLD)\word_th.brk" : "$(ICUDATA)\word_thLE.brk"
|
|
|
|
copy "$(ICUDATA)\word_thLE.brk" "$(ICUDBLD)\word_th.brk"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-07-26 21:55:49 +00:00
|
|
|
# utility target to send us to the right dir
|
2000-12-03 04:09:23 +00:00
|
|
|
GODATA :
|
|
|
|
@cd "$(ICUDBLD)"
|
|
|
|
|
|
|
|
|
|
|
|
# This is to remove all the data files
|
|
|
|
CLEAN :
|
2001-09-18 00:02:52 +00:00
|
|
|
@echo Cleaning up the data files.
|
2000-12-03 04:09:23 +00:00
|
|
|
@cd "$(ICUDBLD)"
|
|
|
|
-@erase "*.cnv"
|
|
|
|
-@erase "*.res"
|
|
|
|
-@erase "*.obj"
|
2001-09-18 00:02:52 +00:00
|
|
|
-@erase "*.brk"
|
|
|
|
-@erase "*.dat"
|
|
|
|
@cd "$(TESTDATAOUT)"
|
|
|
|
-@erase "*.dat"
|
2001-03-03 00:08:03 +00:00
|
|
|
-@erase "*.cnv"
|
2001-03-02 21:21:25 +00:00
|
|
|
-@erase "*.res"
|
2000-12-03 04:09:23 +00:00
|
|
|
@cd "$(ICUTOOLS)"
|
|
|
|
|
2000-12-04 21:51:29 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
# Targets for test converter data
|
2001-11-16 18:38:11 +00:00
|
|
|
"$(TESTDATAOUT)\test1.cnv": "$(TESTDATA)\test1.ucm"
|
2000-12-03 04:09:23 +00:00
|
|
|
@cd "$(ICUDATA)"
|
2001-07-26 21:55:49 +00:00
|
|
|
@set ICU_DATA=$(TESTDATAOUT)
|
2000-12-03 04:09:23 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" $**
|
|
|
|
|
2001-11-16 18:38:11 +00:00
|
|
|
"$(TESTDATAOUT)\test3.cnv": "$(TESTDATA)\test3.ucm"
|
2000-12-03 04:09:23 +00:00
|
|
|
@cd "$(ICUDATA)"
|
2001-07-26 21:55:49 +00:00
|
|
|
@set ICU_DATA=$(TESTDATAOUT)
|
2000-12-03 04:09:23 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" $**
|
|
|
|
|
2001-11-16 18:38:11 +00:00
|
|
|
"$(TESTDATAOUT)\test4.cnv": "$(TESTDATA)\test4.ucm"
|
2000-12-03 04:09:23 +00:00
|
|
|
@cd "$(ICUDATA)"
|
2001-07-26 21:55:49 +00:00
|
|
|
@set ICU_DATA=$(TESTDATAOUT)
|
2000-12-03 04:09:23 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" $**
|
|
|
|
|
2001-11-16 18:38:11 +00:00
|
|
|
# Batch inference rule for creating converters
|
2001-11-16 20:47:27 +00:00
|
|
|
{$(ICUDATA_RELATIVE_PATH)}.ucm.cnv::
|
2001-11-16 18:52:45 +00:00
|
|
|
@echo Generating converters
|
2001-11-16 20:47:27 +00:00
|
|
|
@"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" $<
|
2001-11-16 18:38:11 +00:00
|
|
|
|
|
|
|
# Inference rule for creating converters
|
2001-11-16 23:47:05 +00:00
|
|
|
{$(ICUDATA_RELATIVE_PATH)}.txt.res::
|
2001-11-02 01:25:04 +00:00
|
|
|
@echo Making Resource Bundle files
|
2001-11-16 23:47:05 +00:00
|
|
|
@"$(ICUTOOLS)\genrb\$(CFG)\genrb" -q -d"$(ICUDBLD)" $<
|
2001-11-02 01:25:04 +00:00
|
|
|
|
2001-05-10 23:16:00 +00:00
|
|
|
# DLL version information
|
|
|
|
icudata.res: "$(ICUDATA)\icudata.rc"
|
|
|
|
@echo Creating data DLL version information from $**
|
2001-11-16 20:47:27 +00:00
|
|
|
@rc.exe /i ..\..\..\include\ /r /fo "$@" $**
|
2001-05-10 23:16:00 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
# Targets for unames.dat
|
2001-11-16 20:12:38 +00:00
|
|
|
unames.dat: "$(ICUDATA)\unidata\UnicodeData.txt" "$(ICUTOOLS)\gennames\$(CFG)\gennames.exe"
|
2000-12-03 04:09:23 +00:00
|
|
|
@echo Creating data file for Unicode Names
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
2001-11-16 18:38:11 +00:00
|
|
|
@"$(ICUTOOLS)\gennames\$(CFG)\gennames" -1 -u $(UNICODE_VERSION) "$(ICUDATA)\unidata\UnicodeData.txt"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
# Targets for uprops.dat
|
2001-10-31 23:57:05 +00:00
|
|
|
uprops.dat: "$(ICUDATA)\unidata\UnicodeData.txt" "$(ICUTOOLS)\genprops\$(CFG)\genprops.exe"
|
2000-12-03 04:09:23 +00:00
|
|
|
@echo Creating data file for Unicode Character Properties
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
2001-10-20 00:30:31 +00:00
|
|
|
@"$(ICUTOOLS)\genprops\$(CFG)\genprops" -u $(UNICODE_VERSION) -s "$(ICUDATA)\unidata"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-06-20 22:24:42 +00:00
|
|
|
# Targets for unorm.dat
|
|
|
|
unorm.dat: "$(ICUDATA)\unidata\UnicodeData.txt" "$(ICUDATA)\unidata\DerivedNormalizationProperties.txt" "$(ICUTOOLS)\gennorm\$(CFG)\gennorm.exe"
|
|
|
|
@echo Creating data file for Unicode Normalization
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
2001-10-20 00:30:31 +00:00
|
|
|
@"$(ICUTOOLS)\gennorm\$(CFG)\gennorm" -u $(UNICODE_VERSION) -s "$(ICUDATA)\unidata"
|
2001-06-20 22:24:42 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
# Targets for converters
|
|
|
|
cnvalias.dat : {"$(ICUDATA)"}\convrtrs.txt "$(ICUTOOLS)\gencnval\$(CFG)\gencnval.exe"
|
|
|
|
@echo Creating data file for Converter Aliases
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
2001-11-16 18:38:11 +00:00
|
|
|
@"$(ICUTOOLS)\gencnval\$(CFG)\gencnval" "$(ICUDATA)\convrtrs.txt"
|
2000-12-03 04:09:23 +00:00
|
|
|
|
|
|
|
# Targets for tz
|
|
|
|
tz.dat : {"$(ICUDATA)"}timezone.txt {"$(ICUTOOLS)\gentz\$(CFG)"}gentz.exe
|
|
|
|
@echo Creating data file for Timezones
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
|
|
|
@"$(ICUTOOLS)\gentz\$(CFG)\gentz" "$(ICUDATA)\timezone.txt"
|
|
|
|
|
2001-02-23 04:57:47 +00:00
|
|
|
# Targets for ucadata.dat & invuca.dat
|
|
|
|
ucadata.dat: "$(ICUDATA)\unidata\FractionalUCA.txt" "$(ICUTOOLS)\genuca\$(CFG)\genuca.exe"
|
|
|
|
@echo Creating UCA data files
|
|
|
|
@set ICU_DATA=$(ICUDBLD)
|
|
|
|
@"$(ICUTOOLS)\genuca\$(CFG)\genuca" -s "$(ICUDATA)\unidata"
|
|
|
|
|
|
|
|
invuca.dat: ucadata.dat
|
|
|
|
|
2001-11-16 18:38:11 +00:00
|
|
|
$(UCM_SOURCE) : {"$(ICUTOOLS)\makeconv\$(CFG)"}makeconv.exe
|
2001-11-02 01:25:04 +00:00
|
|
|
|
2001-08-17 00:23:28 +00:00
|
|
|
{"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe : ucadata.dat uprops.dat unorm.dat
|
2001-03-01 00:15:30 +00:00
|
|
|
|
2001-08-17 00:23:28 +00:00
|
|
|
ucadata.dat : uprops.dat unorm.dat
|
2001-03-01 00:15:30 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
# Dependencies on the tools
|
|
|
|
convrtrs.txt : {"$(ICUTOOLS)\gencnval\$(CFG)"}gencnval.exe
|
|
|
|
|
|
|
|
tz.txt : {"$(ICUTOOLS)\gentz\$(CFG)"}gentz.exe
|
|
|
|
|
2001-06-20 22:24:42 +00:00
|
|
|
uprops.dat unames.dat unorm.dat cnvalias.dat tz.dat ucadata.dat invuca.dat: {"$(ICUTOOLS)\genccode\$(CFG)"}genccode.exe
|
2001-02-23 04:57:47 +00:00
|
|
|
|
2000-12-03 04:09:23 +00:00
|
|
|
|
2001-11-16 20:12:38 +00:00
|
|
|
$(TRANSLIT_SOURCE) $(GENRB_SOURCE) : {"$(ICUTOOLS)\genrb\$(CFG)"}genrb.exe ucadata.dat uprops.dat unorm.dat
|
2000-12-03 04:09:23 +00:00
|
|
|
|