2000-01-15 02:00:06 +00:00
#**********************************************************************
#* Copyright (C) 1999-2000, International Business Machines Corporation
#* and others. All Rights Reserved.
#**********************************************************************
1999-12-13 03:43:57 +00:00
# nmake file for creating data files on win32
# invoke with
# nmake /f makedata.mak icup=<path_to_icu_instalation> [Debug|Release]
#
# 12/10/1999 weiv Created
! C M D S W I T C H E S - D
#If no config, we default to debug
! I F "$(CFG)" = = ""
CFG = Debug
! M E S S A G E N o c o n f i g u r a t i o n s p e c i f i e d . D e f a u l t i n g t o c o m m o n - W i n 3 2 D e b u g .
2000-01-08 02:05:05 +00:00
! E N D I F
1999-12-13 03:43:57 +00:00
#Let's see if user has given us a path to ICU
#This could be found according to the path to makefile, but for now it is this way
2000-01-08 02:05:05 +00:00
! I F "$(ICUP)" = = ""
1999-12-13 03:43:57 +00:00
! E R R O R C a n ' t f i n d p a t h !
! E L S E
ICUDATA = $( ICUP) \i cu\d ata
2000-01-21 02:15:42 +00:00
ICU_DATA = $( ICUDATA) \
1999-12-13 03:43:57 +00:00
DATA_PATH = $( ICUP) \i cu\d ata^\
2000-05-15 18:39:17 +00:00
#TRANS=translit^\
1999-12-14 16:30:15 +00:00
TEST = ..\s ource\t est\t estdata^\
2000-05-15 18:39:17 +00:00
TESTDATA = $( ICUP) \i cu\s ource\t est\t estdata^\
1999-12-13 03:43:57 +00:00
ICUTOOLS = $( ICUP) \i cu\s ource\t ools
! E N D I F
LINK32 = link.exe
2000-05-03 23:08:20 +00:00
LINK32_FLAGS = /out:" $( ICUDATA) /icudata.dll " /DLL /NOENTRY /base:"0x4ad00000" /comment:" Copyright (C) 1999-2000 International Business Machines Corporation and others. All Rights Reserved. "
2000-05-15 18:39:17 +00:00
#CPP_FLAGS = /I$(ICUP)\icu\include /GD /c
CPP_FLAGS = /I$( ICUP) \i cu\i nclude /GD /c /Fo$@
1999-12-13 03:43:57 +00:00
2000-01-08 02:05:05 +00:00
#Here we test if configuration is given
1999-12-14 16:30:15 +00:00
! I F "$(CFG)" ! = "Release" & & "$(CFG)" ! = "release" & & "$(CFG)" ! = "Debug" & & "$(CFG)" ! = "debug"
1999-12-13 03:43:57 +00:00
! M E S S A G E I n v a l i d c o n f i g u r a t i o n "$(CFG)" s p e c i f i e d .
! M E S S A G E Y o u c a n s p e c i f y a c o n f i g u r a t i o n w h e n r u n n i n g N M A K E
!MESSAGE by defining the macro CFG on the command line. For example :
2000-01-08 02:05:05 +00:00
! M E S S A G E
1999-12-13 03:43:57 +00:00
! M E S S A G E N M A K E / f "makedata.mak" CFG = "Debug"
2000-01-08 02:05:05 +00:00
! M E S S A G E
1999-12-13 03:43:57 +00:00
!MESSAGE Possible choices for configuration are :
2000-01-08 02:05:05 +00:00
! M E S S A G E
1999-12-13 03:43:57 +00:00
! M E S S A G E "Release"
! M E S S A G E "Debug"
2000-01-08 02:05:05 +00:00
! M E S S A G E
1999-12-13 03:43:57 +00:00
! E R R O R A n i n v a l i d c o n f i g u r a t i o n i s s p e c i f i e d .
2000-01-08 02:05:05 +00:00
! E N D I F
1999-12-13 03:43:57 +00:00
# This appears in original Microsofts makefiles
! I F "$(OS)" = = "Windows_NT"
NULL =
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
NULL = nul
2000-01-08 02:05:05 +00:00
! E N D I F
1999-12-13 03:43:57 +00:00
1999-12-15 21:48:10 +00:00
PATH = $( PATH) ; $( ICUP) \i cu\b in\$ ( CFG)
1999-12-13 03:43:57 +00:00
# Suffixes for data files
.SUFFIXES : .ucm .cnv .dll .dat .col .res .txt .c
2000-01-08 02:05:05 +00:00
# We're including a list of ucm files. There are two lists, one is essential 'ucmfiles.mk' and
1999-12-13 03:43:57 +00:00
# the other is optional 'ucmlocal.mk'
! I F E X I S T S ( "$(ICUTOOLS)\makeconv\ucmfiles.mk" )
! I N C L U D E "$(ICUTOOLS)\makeconv\ucmfiles.mk"
! I F E X I S T S ( "$(ICUTOOLS)\makeconv\ucmlocal.mk" )
! I N C L U D E "$(ICUTOOLS)\makeconv\ucmlocal.mk"
$(UCM_SOURCE) = $( UCM_SOURCE) $( UCM_SOURCE_LOCAL)
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
#!MESSAGE Warning: cannot find "ucmlocal.mk"
! E N D I F
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
!ERROR ERROR : cannot find "ucmfiles .mk "
2000-01-08 02:05:05 +00:00
! E N D I F
1999-12-13 03:43:57 +00:00
# According to the read files, we will generate CNV and C files
CNV_FILES = $( UCM_SOURCE:.ucm= .cnv)
C_CNV_FILES = $( UCM_SOURCE:.ucm= _cnv.c)
OBJ_CNV_FILES = $( C_CNV_FILES:.c= .obj)
# Read list of resource bundle files
! I F E X I S T S ( "$(ICUTOOLS)\genrb\genrbfiles.mk" )
! I N C L U D E "$(ICUTOOLS)\genrb\genrbfiles.mk"
! I F E X I S T S ( "$(ICUTOOLS)\genrb\genrblocal.mk" )
! I N C L U D E "$(ICUTOOLS)\genrb\genrblocal.mk"
GENRB_SOURCE = $( GENRB_SOURCE) $( GENRB_SOURCE_LOCAL)
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
#!MESSAGE Warning: cannot find "genrblocal.mk"
! E N D I F
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
!ERROR ERROR : cannot find "genrbfiles .mk "
2000-01-08 02:05:05 +00:00
! E N D I F
2000-05-15 18:39:17 +00:00
RB_FILES = $( GENRB_SOURCE:.txt= .res)
TRANSLIT_FILES = $( TRANSLIT_SOURCE:.txt= .res)
#TRANSLIT_SOURCE = $(TRANSLIT_SOURCE: = translit\)
! M E S S A G E $( TRANSLIT_SOURCE ) $( RB_FILES )
C_RB_FILES = $( RB_FILES:.res= _res.c) $( TRANSLIT_FILES:.res= _res.c)
OBJ_RB_FILES = $( C_RB_FILES:.c= .obj)
1999-12-13 03:43:57 +00:00
# Read list of resource bundle files for colation
! I F E X I S T S ( "$(ICUTOOLS)\gencol\gencolfiles.mk" )
! I N C L U D E "$(ICUTOOLS)\gencol\gencolfiles.mk"
! I F E X I S T S ( "$(ICUTOOLS)\gencol\gencollocal.mk" )
! I N C L U D E "$(ICUTOOLS)\gencol\gencollocal.mk"
GENCOL_SOURCE = $( GENCOL_SOURCE) $( GENCOL_SOURCE_LOCAL)
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
#!MESSAGE Warning: cannot find "gencollocal.mk"
! E N D I F
2000-01-08 02:05:05 +00:00
! E L S E
1999-12-13 03:43:57 +00:00
!ERROR ERROR : cannot find "gencolfiles .mk "
2000-01-08 02:05:05 +00:00
! E N D I F
1999-12-13 03:43:57 +00:00
COL_FILES = $( GENCOL_SOURCE:.txt= .col)
2000-01-08 02:05:05 +00:00
1999-12-13 03:43:57 +00:00
# This target should build all the data files
2000-05-15 18:39:17 +00:00
ALL : GODATA test .dat base_test .dat test_dat .dll base_test_dat .dll base_dat .dll icudata .dat $( TESTDATA ) testdata .dll icudata .dll $( COL_FILES ) GOBACK
1999-12-13 03:43:57 +00:00
@echo All targets are up to date
2000-01-08 02:05:05 +00:00
2000-01-11 01:29:29 +00:00
BRK_FILES = $( ICUDATA) \s ent.brk $( ICUDATA) \c har.brk $( ICUDATA) \l ine.brk $( ICUDATA) \w ord.brk $( ICUDATA) \l ine_th.brk $( ICUDATA) \w ord_th.brk
2000-01-08 02:05:05 +00:00
BRK_CSOURCES = $( BRK_FILES:.brk= _brk.c)
2000-05-15 18:39:17 +00:00
CPP_SOURCES = $( C_CNV_FILES) uprops_dat.c unames_dat.c cnvalias_dat.c tz_dat.c $( BRK_CSOURCES) $( C_RB_FILES)
1999-12-13 03:43:57 +00:00
LINK32_OBJS = $( CPP_SOURCES:.c= .obj)
# target for DLL
2000-05-03 23:08:20 +00:00
# switch this condition to "a"=="a" or "a"=="b" in order to change the way the dll is built
! I F "a" = = "b"
# old way of building data DLLs via .c sources for the data pieces
1999-12-13 03:43:57 +00:00
icudata.dll : $( LINK 32_OBJS ) $( CNV_FILES )
2000-05-03 23:08:20 +00:00
@echo Creating Data DLL file from intermediate .c files
1999-12-13 03:43:57 +00:00
@cd $( ICUDATA)
2000-05-03 23:08:20 +00:00
@$( ICUTOOLS) \g encmn\$ ( CFG) \g encmn -S -d $( ICUDATA) 0 <<
$( ICUDATA ) \ u p r o p s . d a t
$( ICUDATA ) \ u n a m e s . d a t
$( ICUDATA ) \ c n v a l i a s . d a t
$( ICUDATA ) \ t z . d a t
$(BRK_FILES : .brk =.brk
)
$(CNV_FILES : .cnv =.cnv
)
< <
@$( CPP) $( CPP_FLAGS) icudata_dat.c
1999-12-13 03:43:57 +00:00
@$( LINK32) @<<
2000-05-03 23:08:20 +00:00
$( LINK 32_FLAGS ) i c u d a t a _ d a t . o b j $( LINK 32_OBJS )
1999-12-13 03:43:57 +00:00
< <
2000-05-03 23:08:20 +00:00
! E L S E
# new way of building data DLLs directly from the common map file
icudata.dll : icudata .dat
@echo Creating Data DLL file from icudata.dat
@cd $( ICUDATA)
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode -o $( ICUDATA) \$ ?
@$( LINK32) $( LINK32_FLAGS) icudata_dat.obj
! E N D I F
2000-03-03 01:09:33 +00:00
LINK32_TEST_FLAGS = /out:" $( ICUDATA) /test_dat.dll " /DLL /NOENTRY
2000-03-04 00:02:50 +00:00
LINK32_BASE_TEST_FLAGS = /out:" $( ICUDATA) /base_test_dat.dll " /DLL /NOENTRY
LINK32_BASE_FLAGS = /out:" $( ICUDATA) /base_dat.dll " /DLL /NOENTRY
2000-05-15 18:39:17 +00:00
LINK32_TESTDATA_FLAGS = /out:" $( TESTDATA) /testdata.dll " /DLL /NOENTRY
#Targets for testdata.dll
testdata.dll : $( TESTDATA ) testdata .dll
@cd $( TESTDATA)
2000-03-03 01:09:33 +00:00
2000-05-15 18:39:17 +00:00
$(TESTDATA)testdata.dll : $( TESTDATA ) root_res .obj $( TESTDATA ) te_res .obj $( TESTDATA ) te_IN_res .obj
@echo Creating DLL file
@cd $( TESTDATA)
@$( LINK32) @<<
$( LINK 32_TESTDATA_FLAGS ) r o o t _ r e s . o b j t e _ r e s . o b j t e _ I N _ r e s . o b j
< <
$(TESTDATA)root_res.c $(TESTDATA)te_res.c $(TESTDATA)te_IN_res.c : $( TESTDATA ) root .res $( TESTDATA ) te .res $( TESTDATA ) te_IN .res
@echo generating .c file for testdata
@cd $( TESTDATA)
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $?
#Targets for testdata.dat
#testdata.dat : $(TESTDATA)root.res $(TESTDATA)te.res $(TESTDATA)te_IN.res
# @echo Creating testdata.dat
# @set ICU_DATA=$(ICUDATA)
# @cd $(TESTDATA)
# @$(ICUTOOLS)\gencmn\$(CFG)\gencmn 1000000 <<
#root.res
#te.res
#te_IN.res
#<<
2000-03-03 01:09:33 +00:00
# Targets for test.dat
test.dat :
@echo Creating data file for test
@set ICU_DATA = $( ICUDATA)
@$( ICUTOOLS) \g entest\$ ( CFG) \g entest
test_dat.c : test .dat
@echo Creating C source file for test data
@set ICU_DATA = $( ICUDATA)
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( ICUDATA) \$ ?
test_dat.obj : test_dat .c
@echo creating the obj file for test data
@cd $( ICUDATA)
@$( CPP) @<<
$( CPP_FLAGS ) $( ICUDATA ) \ $?
< <
2000-05-15 18:39:17 +00:00
2000-03-04 00:02:50 +00:00
#Targets for base_test.dat
base_test.dat :
@echo Creating base data file test
@set ICU_DATA = $( ICUDATA)
@copy $( ICUDATA) \t est.dat $( ICUDATA) \b ase_test.dat
2000-03-03 01:09:33 +00:00
# According to the read files, we will generate C files
2000-03-04 00:02:50 +00:00
# Target for test DLL
2000-03-03 01:09:33 +00:00
test_dat.dll : test_dat .obj test .dat
@echo Creating DLL file
@cd $( ICUDATA)
@$( LINK32) @<<
$( LINK 32_TEST_FLAGS ) t e s t _ d a t . o b j
< <
2000-03-04 00:02:50 +00:00
#Target for base test data DLL
base_test_dat.dll : test_dat .obj test .dat
@echo Creating DLL file
@cd $( ICUDATA)
@$( LINK32) @<<
$( LINK 32_BASE_TEST_FLAGS ) t e s t _ d a t . o b j
< <
#Target for base data DLL
base_dat.dll : test_dat .obj test .dat
@echo Creating DLL file
@cd $( ICUDATA)
@$( LINK32) @<<
$( LINK 32_BASE_FLAGS ) t e s t _ d a t . o b j
< <
2000-03-03 01:09:33 +00:00
2000-01-08 02:05:05 +00:00
$(ICUDATA)\sent.brk : $( ICUDATA ) \sentLE .brk
copy $( ICUDATA) \s entLE.brk $( ICUDATA) \s ent.brk
$(ICUDATA)\char.brk : $( ICUDATA ) \charLE .brk
copy $( ICUDATA) \c harLE.brk $( ICUDATA) \c har.brk
$(ICUDATA)\line.brk : $( ICUDATA ) \lineLE .brk
copy $( ICUDATA) \l ineLE.brk $( ICUDATA) \l ine.brk
$(ICUDATA)\word.brk : $( ICUDATA ) \wordLE .brk
copy $( ICUDATA) \w ordLE.brk $( ICUDATA) \w ord.brk
$(ICUDATA)\line_th.brk : $( ICUDATA ) \line_thLE .brk
copy $( ICUDATA) \l ine_thLE.brk $( ICUDATA) \l ine_th.brk
$(ICUDATA)\word_th.brk : $( ICUDATA ) \word_thLE .brk
copy $( ICUDATA) \w ord_thLE.brk $( ICUDATA) \w ord_th.brk
1999-12-13 03:43:57 +00:00
# target for memory mapped file
2000-05-15 18:39:17 +00:00
icudata.dat : $( CNV_FILES ) $( BRK_FILES ) uprops .dat unames .dat cnvalias .dat tz .dat $( RB_FILES ) $( TRANSLIT_FILES )
1999-12-13 03:43:57 +00:00
@echo Creating memory-mapped file
@cd $( ICUDATA)
2000-05-03 23:08:20 +00:00
@$( ICUTOOLS) \g encmn\$ ( CFG) \g encmn -c -d $( ICUDATA) 1000000 <<
2000-04-21 19:36:38 +00:00
$( ICUDATA ) \ u p r o p s . d a t
1999-12-13 03:43:57 +00:00
$( ICUDATA ) \ u n a m e s . d a t
$( ICUDATA ) \ c n v a l i a s . d a t
$( ICUDATA ) \ t z . d a t
$(CNV_FILES : .cnv =.cnv
)
2000-05-15 18:39:17 +00:00
$(RB_FILES : .res =.res
)
$(TRANSLIT_FILES : .res =.res
)
$(BRK_FILES : .brk =.brk
)
1999-12-13 03:43:57 +00:00
< <
2000-05-15 18:39:17 +00:00
# nothing works without this target, but we're making
# these files while creating converters
$(C_RB_FILES) : $( RB_FILES )
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( RB_FILES)
2000-01-08 02:05:05 +00:00
# nothing works without this target, but we're making
1999-12-13 03:43:57 +00:00
# these files while creating converters
1999-12-15 21:48:10 +00:00
$(C_CNV_FILES) : $( CNV_FILES )
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( CNV_FILES)
1999-12-13 03:43:57 +00:00
2000-01-08 02:05:05 +00:00
# nothing works without this target, but we're making
# these files while creating converters
$(BRK_CSOURCES) : $( BRK_FILES )
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( BRK_FILES)
1999-12-13 03:43:57 +00:00
# utility to send us to the right dir
2000-01-08 02:05:05 +00:00
GODATA :
1999-12-13 03:43:57 +00:00
@cd $( ICUDATA)
# utility to get us back to the right dir
GOBACK :
@cd $( ICUTOOLS)
# This is to remove all the data files
CLEAN :
1999-12-14 16:30:15 +00:00
@cd $( ICUDATA)
-@erase "*.cnv"
-@erase "*.res"
-@erase " $( TRANS) *.res "
-@erase "*.col"
2000-04-21 19:36:38 +00:00
-@erase "uprops*.*"
1999-12-14 16:30:15 +00:00
-@erase "unames*.*"
-@erase "cnvalias*.*"
-@erase "tz*.*"
-@erase "ibm*_cnv.c"
2000-01-08 02:05:05 +00:00
-@erase "*_brk.c"
1999-12-14 16:30:15 +00:00
-@erase "icudata.*"
-@erase "*.obj"
2000-01-08 02:05:05 +00:00
-@erase "sent.brk"
-@erase "char.brk"
-@erase "line.brk"
-@erase "word.brk"
-@erase "line_th.brk"
-@erase "word_th.brk"
2000-03-03 01:09:33 +00:00
-@erase "test*.*"
2000-03-04 00:02:50 +00:00
-@erase "base*.*"
1999-12-14 16:30:15 +00:00
@cd $( TEST)
-@erase "*.res"
@cd $( ICUTOOLS)
1999-12-13 03:43:57 +00:00
2000-05-15 18:39:17 +00:00
{$(ICUDATA)$(TRANS)}$(TRANSLIT_FILES) : $( TRANSLIT_SOURCE )
@echo Making transliteration bundles
cd $( ICUDATA) $( TRANS)
set ICU_DATA = $( ICUDATA)
$( ICUTOOLS) \g enrb\$ ( CFG) \g enrb -s$( ICUDATA) $( TRANS) -d$( ICUDATA) $( TRANSLIT_SOURCE)
1999-12-13 03:43:57 +00:00
# Inference rule for creating resource bundles
2000-05-15 18:39:17 +00:00
.txt.res :
1999-12-22 20:24:20 +00:00
@echo Making Resource Bundle files
2000-05-15 18:39:17 +00:00
@echo cd $( ICUDATA)
@echo set ICU_DATA = $( ICUDATA)
$( ICUTOOLS) \g enrb\$ ( CFG) \g enrb -s$( @D) -d$( @D) $( ?F)
1999-12-13 03:43:57 +00:00
# Inference rule for creating converters, with a kludge to create
# c versions of converters at the same time
.ucm.cnv ::
@echo Generating converters and c source files
@cd $( ICUDATA)
2000-01-21 02:15:42 +00:00
@set ICU_DATA = $( ICUDATA)
1999-12-13 03:43:57 +00:00
@$( ICUTOOLS) \m akeconv\$ ( CFG) \m akeconv $<
1999-12-15 21:48:10 +00:00
# @$(ICUTOOLS)\genccode\$(CFG)\genccode $(CNV_FILES)
1999-12-13 03:43:57 +00:00
2000-01-08 02:05:05 +00:00
# Inference rule for creating collation files -
1999-12-13 03:43:57 +00:00
# this should be integrated in genrb
.txt.col ::
1999-12-15 21:48:10 +00:00
@echo Making Collation files
1999-12-13 03:43:57 +00:00
@cd $( ICUDATA)
2000-05-15 18:39:17 +00:00
@set ICU_DATA = $( ICUDATA)
$( ICUTOOLS) \g encol\$ ( CFG) \g encol $<
1999-12-13 03:43:57 +00:00
# Inference rule for compiling :)
2000-05-15 18:39:17 +00:00
.c.obj :
1999-12-13 03:43:57 +00:00
@cd $( ICUDATA)
@$( CPP) @<<
2000-05-15 18:39:17 +00:00
$( CPP_FLAGS ) $?
1999-12-13 03:43:57 +00:00
< <
2000-04-21 19:36:38 +00:00
# Targets for uprops.dat
uprops.dat : unidata \UnicodeData .txt unidata \Mirror .txt $( ICUTOOLS ) \genprops \$( CFG ) \genprops .exe
@echo Creating data file for Unicode Character Properties
@set ICU_DATA = $( ICUDATA)
@$( ICUTOOLS) \g enprops\$ ( CFG) \g enprops -s $( ICUDATA) \u nidata
uprops_dat.c : uprops .dat
@echo Creating C source file for Unicode Character Properties
@set ICU_DATA = $( ICUDATA)
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( ICUDATA) \$ ?
1999-12-13 03:43:57 +00:00
# Targets for unames.dat
2000-04-21 19:36:38 +00:00
unames.dat : unidata \UnicodeData .txt $( ICUTOOLS ) \gennames \$( CFG ) \gennames .exe
1999-12-22 20:24:20 +00:00
@echo Creating data file for Unicode Names
2000-01-21 02:15:42 +00:00
@set ICU_DATA = $( ICUDATA)
2000-04-21 19:36:38 +00:00
@$( ICUTOOLS) \g ennames\$ ( CFG) \g ennames unidata\U nicodeData.txt
1999-12-13 03:43:57 +00:00
2000-01-08 02:05:05 +00:00
unames_dat.c : unames .dat
1999-12-22 20:24:20 +00:00
@echo Creating C source file for Unicode Names
2000-01-21 02:15:42 +00:00
@set ICU_DATA = $( ICUDATA)
1999-12-22 20:24:20 +00:00
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( ICUDATA) \$ ?
1999-12-13 03:43:57 +00:00
# Targets for converters
2000-04-21 19:36:38 +00:00
cnvalias.dat : convrtrs .txt $( ICUTOOLS ) \gencnval \$( CFG ) \gencnval .exe
1999-12-22 20:24:20 +00:00
@echo Creating data file for Converter Aliases
2000-01-21 02:15:42 +00:00
@set ICU_DATA = $( ICUDATA)
2000-04-19 00:06:20 +00:00
@$( ICUTOOLS) \g encnval\$ ( CFG) \g encnval
2000-01-08 02:05:05 +00:00
cnvalias_dat.c : cnvalias .dat
1999-12-22 20:24:20 +00:00
@echo Creating C source file for Converter Aliases
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( ICUDATA) \$ ?
1999-12-13 03:43:57 +00:00
# Targets for tz
2000-04-21 19:36:38 +00:00
tz.dat : {$( ICUTOOLS ) \gentz }tz .txt {$( ICUTOOLS ) \gentz \$( CFG ) }gentz .exe
1999-12-22 20:24:20 +00:00
@echo Creating data file for Timezones
2000-01-21 02:15:42 +00:00
@set ICU_DATA = $( ICUDATA)
2000-04-19 00:06:20 +00:00
@$( ICUTOOLS) \g entz\$ ( CFG) \g entz $( ICUTOOLS) \g entz\t z.txt
1999-12-13 03:43:57 +00:00
tz_dat.c : tz .dat
1999-12-22 20:24:20 +00:00
@echo Creating C source file for Timezones
@$( ICUTOOLS) \g enccode\$ ( CFG) \g enccode $( ICUDATA) \$ ?
1999-12-15 21:48:10 +00:00
# Dependencies on the tools
convrtrs.txt : {$( ICUTOOLS ) \gencnval \$( CFG ) }gencnval .exe
tz.txt : {$( ICUTOOLS ) \gentz \$( CFG ) }gentz .exe
2000-04-21 19:36:38 +00:00
uprops.dat unames.dat cnvalias.dat tz.dat : {$( ICUTOOLS ) \genccode \$( CFG ) }genccode .exe
1999-12-15 21:48:10 +00:00
$(GENRB_SOURCE) $(GENCOL_SOURCE) : {$( ICUTOOLS ) \genrb \$( CFG ) }genrb .exe
$(UCM_SOURCE) : {$( ICUTOOLS ) \makeconv \$( CFG ) }makeconv .exe {$( ICUTOOLS ) \genccode \$( CFG ) }genccode .exe
2000-03-03 01:09:33 +00:00
test.dat : {$( ICUTOOLS ) \gentest \$( CFG ) }gentest .exe