OLD | NEW |
1 #********************************************************************** | 1 #********************************************************************** |
2 #* Copyright (C) 1999-2014, International Business Machines Corporation | 2 #* Copyright (C) 1999-2015, 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)\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" | 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)\encoded.re
s" "$(TESTDATABLD)\idna_rules.res" "$(TESTDATABLD)\test.icu" "$(TESTDATABLD)\tes
ttable32.res" "$(TESTDATABLD)\test1.cnv" "$(TESTDATABLD)\test1bmp.cnv" "$(TESTDA
TABLD)\test2.cnv" "$(TESTDATABLD)\test3.cnv" "$(TESTDATABLD)\test4.cnv" "$(TESTD
ATABLD)\test4x.cnv" "$(TESTDATABLD)\test5.cnv" "$(TESTDATABLD)\ibm9027.cnv" "$(T
ESTDATABLD)\nfscsi.spp" "$(TESTDATABLD)\nfscss.spp" "$(TESTDATABLD)\nfscis.spp"
"$(TESTDATABLD)\nfsmxs.spp" "$(TESTDATABLD)\nfsmxp.spp" "$(TESTDATABLD)\testnorm
.nrm" "$(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 @copy "$(TESTDATABLD)\zoneinfo64.res" "$(TESTDATAOUT)\$(TESTDT)" |
37 "$(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)" << |
38 casing.res | 38 casing.res |
39 conversion.res | 39 conversion.res |
40 mc.res | 40 mc.res |
41 root.res | 41 root.res |
42 testtable32.res | 42 testtable32.res |
43 sh.res | 43 sh.res |
44 sh_YU.res | 44 sh_YU.res |
45 te.res | 45 te.res |
46 te_IN.res | 46 te_IN.res |
47 te_IN_REVISED.res | 47 te_IN_REVISED.res |
48 testtypes.res | 48 testtypes.res |
49 old_l_testtypes.res | 49 old_l_testtypes.res |
50 old_e_testtypes.res | 50 old_e_testtypes.res |
51 testempty.res | 51 testempty.res |
52 testaliases.res | 52 testaliases.res |
53 structLocale.res | 53 structLocale.res |
54 icuio.res | 54 icuio.res |
55 iscii.res | 55 encoded.res |
56 test.icu | 56 test.icu |
57 test1.cnv | 57 test1.cnv |
58 test1bmp.cnv | 58 test1bmp.cnv |
59 test2.cnv | 59 test2.cnv |
60 test3.cnv | 60 test3.cnv |
61 test4.cnv | 61 test4.cnv |
62 test4x.cnv | 62 test4x.cnv |
63 test5.cnv | 63 test5.cnv |
64 ibm9027.cnv | 64 ibm9027.cnv |
65 idna_rules.res | 65 idna_rules.res |
66 nfscsi.spp | 66 nfscsi.spp |
67 nfscss.spp | 67 nfscss.spp |
68 nfscis.spp | 68 nfscis.spp |
69 nfsmxs.spp | 69 nfsmxs.spp |
70 nfsmxp.spp | 70 nfsmxp.spp |
71 testnorm.nrm | 71 testnorm.nrm |
72 $(TEST_RES_FILES:.res =.res | 72 $(TEST_RES_FILES:.res =.res |
73 ) | 73 ) |
74 << | 74 << |
75 | 75 |
76 | 76 |
77 # Inference rule for creating resource bundles | 77 # Inference rule for creating resource bundles |
78 # Some test data resource bundles are known to have warnings and bad data. | 78 # Some test data resource bundles are known to have warnings and bad data. |
79 # The -q option is there on purpose, so we don't see it normally. | 79 # The -q option is there on purpose, so we don't see it normally. |
80 {$(TESTDATA)}.txt.res:: | 80 {$(TESTDATA)}.txt.res:: |
81 @echo Making Test Resource Bundle files $< | 81 @echo Making Test Resource Bundle files $< |
82 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)"
$< | 82 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)"
$< |
83 | 83 |
84 "$(TESTDATABLD)\iscii.res": "$(TESTDATA)\iscii.bin" | 84 "$(TESTDATABLD)\encoded.res": "$(TESTDATA)\encoded.utf16be" |
85 » @echo Making Test Resource Bundle file with encoding ISCII,version=0 | 85 » @echo Making Test Resource Bundle file with encoding |
86 » @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATA)" -eISCII,version=0 -d"$
(TESTDATABLD)" iscii.bin | 86 » "$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATA)" -eUTF-16BE -d"$(TESTDAT
ABLD)" encoded.utf16be |
87 | 87 |
88 "$(TESTDATABLD)\idna_rules.res": "$(TESTDATA)\idna_rules.txt" | 88 "$(TESTDATABLD)\idna_rules.res": "$(TESTDATA)\idna_rules.txt" |
89 @echo Making Test Resource Bundle file for IDNA reference implementation | 89 @echo Making Test Resource Bundle file for IDNA reference implementation |
90 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATA)" -d"$(TESTDATABLD)" idn
a_rules.txt | 90 @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATA)" -d"$(TESTDATABLD)" idn
a_rules.txt |
91 | 91 |
92 | 92 |
93 "$(TESTDATABLD)\test.icu" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe | 93 "$(TESTDATABLD)\test.icu" : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe |
94 "$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)" | 94 "$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)" |
95 | 95 |
96 # testtable32 resource file | 96 # testtable32 resource file |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** | 156 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** |
157 | 157 |
158 "$(TESTDATABLD)\ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm" | 158 "$(TESTDATABLD)\ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm" |
159 @echo Building $@ | 159 @echo Building $@ |
160 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** | 160 @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** |
161 | 161 |
162 # Target for test normalization data | 162 # Target for test normalization data |
163 "$(TESTDATABLD)\testnorm.nrm": "$(TESTDATA)\testnorm.txt" | 163 "$(TESTDATABLD)\testnorm.nrm": "$(TESTDATA)\testnorm.txt" |
164 @echo Building $@ | 164 @echo Building $@ |
165 @"$(ICUTOOLS)\gennorm2\$(CFG)\gennorm2" -s "$(TESTDATA)" testnorm.txt -o
$@ | 165 @"$(ICUTOOLS)\gennorm2\$(CFG)\gennorm2" -s "$(TESTDATA)" testnorm.txt -o
$@ |
OLD | NEW |