OLD | NEW |
1 #********************************************************************** | 1 #********************************************************************** |
2 #* Copyright (C) 1999-2012, International Business Machines Corporation | 2 #* Copyright (C) 1999-2014, International Business Machines Corporation |
3 #* and others. All Rights Reserved. | 3 #* and others. All Rights Reserved. |
4 #********************************************************************** | 4 #********************************************************************** |
5 # | 5 # |
6 # 03/19/2001 weiv, schererm Created | 6 # 03/19/2001 weiv, schererm Created |
7 | 7 |
8 .SUFFIXES : .res .txt | 8 .SUFFIXES : .res .txt |
9 | 9 |
10 TESTPKG=testdata | 10 TESTPKG=testdata |
11 TESTDT=$(TESTPKG) | 11 TESTDT=$(TESTPKG) |
12 | 12 |
13 | 13 |
14 ALL : "$(TESTDATAOUT)\testdata.dat" | 14 ALL : "$(TESTDATAOUT)\testdata.dat" |
15 @echo Test data is built. | 15 @echo Test data is built. |
16 | 16 |
17 # old_l_testtypes.res is there for cintltst/udatatst.c/TestSwapData() | 17 # old_l_testtypes.res is there for cintltst/udatatst.c/TestSwapData() |
18 # I generated it with an ICU 4.2.1 build on Linux after removing | 18 # I generated it with an ICU 4.2.1 build on Linux after removing |
19 # testincludeUTF (which would make it large, unnecessarily for this test) | 19 # testincludeUTF (which would make it large, unnecessarily for this test) |
20 # and renaming the collations element to avoid build CollationElements | 20 # and renaming the collations element to avoid build CollationElements |
21 # (which will not work with a newer swapper) | 21 # (which will not work with a newer swapper) |
22 # markus 2010jan15 | 22 # markus 2010jan15 |
23 | 23 |
24 # old_e_testtypes.res is the same, but icuswapped to big-endian EBCDIC | 24 # old_e_testtypes.res is the same, but icuswapped to big-endian EBCDIC |
25 | 25 |
26 # the following file has $(TEST_RES_SOURCE) | 26 # the following file has $(TEST_RES_SOURCE) |
27 !INCLUDE "$(TESTDATA)\tstfiles.mk" | 27 !INCLUDE "$(TESTDATA)\tstfiles.mk" |
28 | 28 |
29 TEST_RES_FILES = $(TEST_RES_SOURCE:.txt=.res) | 29 TEST_RES_FILES = $(TEST_RES_SOURCE:.txt=.res) |
30 | 30 |
31 "$(TESTDATAOUT)\testdata.dat" : $(TEST_RES_FILES) "$(TESTDATABLD)\casing.res" "$
(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\icuio.res" "$(TESTDATABLD)\mc.res"
"$(TESTDATABLD)\structLocale.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\sh.
res" "$(TESTDATABLD)\sh_YU.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.r
es" "$(TESTDATABLD)\te_IN_REVISED.res" "$(TESTDATABLD)\testaliases.res" "$(TESTD
ATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res"
"$(TESTDATABLD)\idna_rules.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" "$
(TESTDATABLD)\test.icu" "$(TESTDATABLD)\testtable32.res" "$(TESTDATABLD)\test1.c
nv" "$(TESTDATABLD)\test1bmp.cnv" "$(TESTDATABLD)\test2.cnv" "$(TESTDATABLD)\tes
t3.cnv" "$(TESTDATABLD)\test4.cnv" "$(TESTDATABLD)\test4x.cnv" "$(TESTDATABLD)\t
est5.cnv" "$(TESTDATABLD)\ibm9027.cnv" "$(TESTDATABLD)\nfscsi.spp" "$(TESTDATABL
D)\nfscss.spp" "$(TESTDATABLD)\nfscis.spp" "$(TESTDATABLD)\nfsmxs.spp" "$(TESTDA
TABLD)\nfsmxp.spp" "$(TESTDATABLD)\testnorm.nrm" | 31 "$(TESTDATAOUT)\testdata.dat" : $(TEST_RES_FILES) "$(TESTDATABLD)\casing.res" "$
(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\icuio.res" "$(TESTDATABLD)\mc.res"
"$(TESTDATABLD)\structLocale.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\sh.
res" "$(TESTDATABLD)\sh_YU.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.r
es" "$(TESTDATABLD)\te_IN_REVISED.res" "$(TESTDATABLD)\testaliases.res" "$(TESTD
ATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res"
"$(TESTDATABLD)\idna_rules.res" "$(TESTDATABLD)\test.icu" "$(TESTDATABLD)\testt
able32.res" "$(TESTDATABLD)\test1.cnv" "$(TESTDATABLD)\test1bmp.cnv" "$(TESTDATA
BLD)\test2.cnv" "$(TESTDATABLD)\test3.cnv" "$(TESTDATABLD)\test4.cnv" "$(TESTDAT
ABLD)\test4x.cnv" "$(TESTDATABLD)\test5.cnv" "$(TESTDATABLD)\ibm9027.cnv" "$(TES
TDATABLD)\nfscsi.spp" "$(TESTDATABLD)\nfscss.spp" "$(TESTDATABLD)\nfscis.spp" "$
(TESTDATABLD)\nfsmxs.spp" "$(TESTDATABLD)\nfsmxp.spp" "$(TESTDATABLD)\testnorm.n
rm" "$(TESTDATABLD)\zoneinfo64.res" |
32 @echo Building test data | 32 @echo Building test data |
33 @copy "$(TESTDATABLD)\te.res" "$(TESTDATAOUT)\$(TESTDT)\nam.typ" | 33 @copy "$(TESTDATABLD)\te.res" "$(TESTDATAOUT)\$(TESTDT)\nam.typ" |
34 @copy "$(TESTDATA)\old_l_testtypes.res" "$(TESTDATABLD)" | 34 @copy "$(TESTDATA)\old_l_testtypes.res" "$(TESTDATABLD)" |
35 @copy "$(TESTDATA)\old_e_testtypes.res" "$(TESTDATABLD)" | 35 @copy "$(TESTDATA)\old_e_testtypes.res" "$(TESTDATABLD)" |
| 36 @copy "$(TESTDATABLD)\zoneinfo64.res" "$(TESTDATAOUT)\$(TESTDT)" |
36 "$(ICUPBIN)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT
)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" << | 37 "$(ICUPBIN)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT
)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" << |
37 casing.res | 38 casing.res |
38 conversion.res | 39 conversion.res |
39 mc.res | 40 mc.res |
40 root.res | 41 root.res |
41 testtable32.res | 42 testtable32.res |
42 sh.res | 43 sh.res |
43 sh_YU.res | 44 sh_YU.res |
44 te.res | 45 te.res |
45 te_IN.res | 46 te_IN.res |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** | 156 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** |
156 | 157 |
157 "$(TESTDATABLD)\ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm" | 158 "$(TESTDATABLD)\ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm" |
158 @echo Building $@ | 159 @echo Building $@ |
159 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** | 160 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** |
160 | 161 |
161 # Target for test normalization data | 162 # Target for test normalization data |
162 "$(TESTDATABLD)\testnorm.nrm": "$(TESTDATA)\testnorm.txt" | 163 "$(TESTDATABLD)\testnorm.nrm": "$(TESTDATA)\testnorm.txt" |
163 @echo Building $@ | 164 @echo Building $@ |
164 @"$(ICUTOOLS)\gennorm2\$(CFG)\gennorm2" -s "$(TESTDATA)" testnorm.txt -o
$@ | 165 @"$(ICUTOOLS)\gennorm2\$(CFG)\gennorm2" -s "$(TESTDATA)" testnorm.txt -o
$@ |
OLD | NEW |