Upgrade to libtool-1.4.
[libiconv.git] / tools / Makefile
blobfa8a155633d2ad9567be6244785d4d4f33e99987
2 # Directory containing conversion tables.
3 # You have to unpack the conversion-tables.tar.gz package.
4 TABLESDIR = /home/bruno/chs/conversion-tables
6 ALL = \
7 ascii.h \
8 iso8859_1.h \
9 iso8859_2.h \
10 iso8859_3.h \
11 iso8859_4.h \
12 iso8859_5.h \
13 iso8859_6.h \
14 iso8859_7.h \
15 iso8859_8.h \
16 iso8859_9.h \
17 iso8859_10.h \
18 iso8859_13.h \
19 iso8859_14.h \
20 iso8859_15.h \
21 iso8859_16.h \
22 koi8_r.h \
23 koi8_u.h \
24 koi8_ru.h \
25 cp1250.h \
26 cp1251.h \
27 cp1252.h \
28 cp1253.h \
29 cp1254.h \
30 cp1255.h \
31 cp1256.h \
32 cp1257.h \
33 cp1258.h \
34 cp850.h \
35 cp862.h \
36 cp866.h \
37 mac_roman.h \
38 mac_centraleurope.h \
39 mac_iceland.h \
40 mac_croatian.h \
41 mac_romania.h \
42 mac_cyrillic.h \
43 mac_ukraine.h \
44 mac_greek.h \
45 mac_turkish.h \
46 mac_hebrew.h \
47 mac_arabic.h \
48 mac_thai.h \
49 hp_roman8.h \
50 nextstep.h \
51 armscii_8.h \
52 georgian_academy.h \
53 georgian_ps.h \
54 mulelao.h \
55 cp1133.h \
56 tis620.h \
57 cp874.h \
58 viscii.h \
59 tcvn.h \
60 jisx0201.h \
61 jisx0208.h \
62 jisx0212.h \
63 cp932ext.h \
64 gb2312.h \
65 isoir165ext.h \
66 gb12345ext.h \
67 gbkext1.h \
68 gbkext2.h \
69 gbkext_inv.h \
70 cp936ext.h \
71 gb18030ext.h \
72 gb18030uni.h \
73 cns11643_1.h \
74 cns11643_2.h \
75 cns11643_3.h \
76 cns11643_4a.h \
77 cns11643_4b.h \
78 cns11643_5.h \
79 cns11643_6.h \
80 cns11643_7.h \
81 cns11643_15.h \
82 cns11643_inv.h \
83 big5.h \
84 cp950ext.h \
85 hkscs.h \
86 ksc5601.h \
87 uhc_1.h \
88 uhc_2.h \
89 johab_hangul.h \
90 cp856.h \
91 cp922.h \
92 cp1046.h \
93 cp1124.h \
94 cp1129.h \
95 cp437.h \
96 cp775.h \
97 cp852.h \
98 cp855.h \
99 cp857.h \
100 cp861.h \
101 cp864.h \
102 cp865.h \
103 cp869.h \
104 cjk_variants.h
106 all : $(ALL)
108 ascii.h : $(TABLESDIR)/glibc-2.1-iconv/ASCII.TXT 8bit_tab_to_h
109 ./8bit_tab_to_h ASCII ascii < $<
111 iso8859_1.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-1.TXT 8bit_tab_to_h
112 ./8bit_tab_to_h ISO-8859-1 iso8859_1 < $<
114 iso8859_2.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-2.TXT 8bit_tab_to_h
115 ./8bit_tab_to_h ISO-8859-2 iso8859_2 < $<
117 iso8859_3.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-3.TXT 8bit_tab_to_h
118 ./8bit_tab_to_h ISO-8859-3 iso8859_3 < $<
120 iso8859_4.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-4.TXT 8bit_tab_to_h
121 ./8bit_tab_to_h ISO-8859-4 iso8859_4 < $<
123 iso8859_5.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-5.TXT 8bit_tab_to_h
124 ./8bit_tab_to_h ISO-8859-5 iso8859_5 < $<
126 iso8859_6.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-6.TXT 8bit_tab_to_h
127 ./8bit_tab_to_h ISO-8859-6 iso8859_6 < $<
129 iso8859_7.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-7.TXT 8bit_tab_to_h
130 ./8bit_tab_to_h ISO-8859-7 iso8859_7 < $<
132 iso8859_8.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-8.TXT 8bit_tab_to_h
133 ./8bit_tab_to_h ISO-8859-8 iso8859_8 < $<
135 iso8859_9.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-9.TXT 8bit_tab_to_h
136 ./8bit_tab_to_h ISO-8859-9 iso8859_9 < $<
138 iso8859_10.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-10.TXT 8bit_tab_to_h
139 ./8bit_tab_to_h ISO-8859-10 iso8859_10 < $<
141 iso8859_13.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-13.TXT 8bit_tab_to_h
142 ./8bit_tab_to_h ISO-8859-13 iso8859_13 < $<
144 iso8859_14.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-14.TXT 8bit_tab_to_h
145 ./8bit_tab_to_h ISO-8859-14 iso8859_14 < $<
147 iso8859_15.h : $(TABLESDIR)/unicode.org-mappings/ISO8859/8859-15.TXT 8bit_tab_to_h
148 ./8bit_tab_to_h ISO-8859-15 iso8859_15 < $<
150 iso8859_16.h : $(TABLESDIR)/csets-new/ISO-8859-16.TXT 8bit_tab_to_h
151 ./8bit_tab_to_h ISO-8859-16 iso8859_16 < $<
153 koi8_r.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MISC/KOI8-R.TXT 8bit_tab_to_h
154 ./8bit_tab_to_h KOI8-R koi8_r < $<
156 koi8_u.h : $(TABLESDIR)/csets-new/KOI8-U.TXT 8bit_tab_to_h
157 ./8bit_tab_to_h KOI8-U koi8_u < $<
159 koi8_ru.h : $(TABLESDIR)/freebsd-iconv-0.4/KOI8-RU.TXT 8bit_tab_to_h
160 ./8bit_tab_to_h KOI8-RU koi8_ru < $<
162 cp1250.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1250.TXT 8bit_tab_to_h
163 ./8bit_tab_to_h CP1250 cp1250 < $<
165 cp1251.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1251.TXT 8bit_tab_to_h
166 ./8bit_tab_to_h CP1251 cp1251 < $<
168 cp1252.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1252.TXT 8bit_tab_to_h
169 ./8bit_tab_to_h CP1252 cp1252 < $<
171 cp1253.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1253.TXT 8bit_tab_to_h
172 ./8bit_tab_to_h CP1253 cp1253 < $<
174 cp1254.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1254.TXT 8bit_tab_to_h
175 ./8bit_tab_to_h CP1254 cp1254 < $<
177 cp1255.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1255.TXT 8bit_tab_to_h
178 ./8bit_tab_to_h CP1255 cp1255 < $<
180 cp1256.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1256.TXT 8bit_tab_to_h
181 ./8bit_tab_to_h CP1256 cp1256 < $<
183 cp1257.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1257.TXT 8bit_tab_to_h
184 ./8bit_tab_to_h CP1257 cp1257 < $<
186 cp1258.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP1258.TXT 8bit_tab_to_h
187 ./8bit_tab_to_h CP1258 cp1258 < $<
189 cp850.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP850.TXT 8bit_tab_to_h
190 ./8bit_tab_to_h CP850 cp850 < $<
192 cp862.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP862.TXT 8bit_tab_to_h
193 ./8bit_tab_to_h CP862 cp862 < $<
195 cp866.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP866.TXT 8bit_tab_to_h
196 ./8bit_tab_to_h CP866 cp866 < $<
198 mac_roman.h : $(TABLESDIR)/jdk-1.1.7b/MAC-ROMAN.TXT 8bit_tab_to_h
199 ./8bit_tab_to_h MacRoman mac_roman < $<
201 mac_centraleurope.h : $(TABLESDIR)/jdk-1.1.7b/MAC-CENTRAL-EUROPE.TXT 8bit_tab_to_h
202 ./8bit_tab_to_h MacCentralEurope mac_centraleurope < $<
204 mac_iceland.h : $(TABLESDIR)/jdk-1.1.7b/MAC-ICELAND.TXT 8bit_tab_to_h
205 ./8bit_tab_to_h MacIceland mac_iceland < $<
207 mac_croatian.h : $(TABLESDIR)/jdk-1.1.7b/MAC-CROATIAN.TXT 8bit_tab_to_h
208 ./8bit_tab_to_h MacCroatian mac_croatian < $<
210 mac_romania.h : $(TABLESDIR)/jdk-1.1.7b/MAC-ROMANIA.TXT 8bit_tab_to_h
211 ./8bit_tab_to_h MacRomania mac_romania < $<
213 mac_cyrillic.h : $(TABLESDIR)/jdk-1.1.7b/MAC-CYRILLIC.TXT 8bit_tab_to_h
214 ./8bit_tab_to_h MacCyrillic mac_cyrillic < $<
216 mac_ukraine.h : $(TABLESDIR)/jdk-1.1.7b/MAC-UKRAINE.TXT 8bit_tab_to_h
217 ./8bit_tab_to_h MacUkraine mac_ukraine < $<
219 mac_greek.h : $(TABLESDIR)/jdk-1.1.7b/MAC-GREEK.TXT 8bit_tab_to_h
220 ./8bit_tab_to_h MacGreek mac_greek < $<
222 mac_turkish.h : $(TABLESDIR)/jdk-1.1.7b/MAC-TURKISH.TXT 8bit_tab_to_h
223 ./8bit_tab_to_h MacTurkish mac_turkish < $<
225 mac_hebrew.h : $(TABLESDIR)/jdk-1.1.7b/MAC-HEBREW.TXT 8bit_tab_to_h
226 ./8bit_tab_to_h MacHebrew mac_hebrew < $<
228 mac_arabic.h : $(TABLESDIR)/jdk-1.1.7b/MAC-ARABIC.TXT 8bit_tab_to_h
229 ./8bit_tab_to_h MacArabic mac_arabic < $<
231 mac_thai.h : $(TABLESDIR)/jdk-1.1.7b/MAC-THAI.TXT 8bit_tab_to_h
232 ./8bit_tab_to_h MacThai mac_thai < $<
234 hp_roman8.h : $(TABLESDIR)/glibc-2.1-iconv/HP-ROMAN8.TXT 8bit_tab_to_h
235 ./8bit_tab_to_h HP-ROMAN8 hp_roman8 < $<
237 nextstep.h : $(TABLESDIR)/clisp/NEXTSTEP.TXT 8bit_tab_to_h
238 ./8bit_tab_to_h NEXTSTEP nextstep < $<
240 armscii_8.h : $(TABLESDIR)/csets-1.6/AST166-8.TXT 8bit_tab_to_h
241 ./8bit_tab_to_h ARMSCII-8 armscii_8 < $<
243 georgian_academy.h : $(TABLESDIR)/csets-1.6/GEO-ITA.TXT 8bit_tab_to_h
244 ./8bit_tab_to_h GEORGIAN-ACADEMY georgian_academy < $<
246 georgian_ps.h : $(TABLESDIR)/csets-1.6/GEO-PS.TXT 8bit_tab_to_h
247 ./8bit_tab_to_h GEORGIAN-PS georgian_ps < $<
249 mulelao.h : $(TABLESDIR)/csets-new/MULELAO1.TXT 8bit_tab_to_h
250 ./8bit_tab_to_h MULELAO-1 mulelao < $<
252 cp1133.h : $(TABLESDIR)/csets-new/CP1133.TXT 8bit_tab_to_h
253 ./8bit_tab_to_h IBM-CP1133 cp1133 < $<
255 tis620.h : $(TABLESDIR)/glibc-2.1-iconv/TIS-620.TXT 8bit_tab_to_h
256 ./8bit_tab_to_h TIS620.2533-1 tis620 < $<
258 cp874.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP874.TXT 8bit_tab_to_h
259 ./8bit_tab_to_h CP874 cp874 < $<
261 viscii.h : $(TABLESDIR)/csets-1.6/VISCII.TXT 8bit_tab_to_h
262 ./8bit_tab_to_h VISCII1.1-1 viscii < $<
264 tcvn.h : $(TABLESDIR)/csets-1.6/VN5712-1.TXT 8bit_tab_to_h
265 ./8bit_tab_to_h TCVN-5712 tcvn < $<
267 jisx0201.h : $(TABLESDIR)/clisp/JIS_X0201.TXT 8bit_tab_to_h
268 ./8bit_tab_to_h JISX0201.1976-0 jisx0201 < $<
270 jisx0208.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/JIS/JIS0208.TXT cjk_tab_to_h
271 sed -e 's,^0x....[ ]*\(0x....[ ]*0x.....*\)$$,\1,' < $< | ./cjk_tab_to_h JISX0208.1990-0 jisx0208 > $@
273 jisx0212.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/JIS/JIS0212.TXT cjk_tab_to_h
274 ./cjk_tab_to_h JISX0212.1990-0 jisx0212 < $< > $@
276 cp932ext.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP932.TXT cjk_tab_to_h
277 (echo '#' ; grep '^0x\(87\|E[D-F]\|F[0-9A-F]\)[0-9A-F][0-9A-F]' < $< ) | ./cjk_tab_to_h 'CP932 extensions' cp932ext > $@
279 gb2312.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB2312.TXT cjk_tab_to_h
280 ./cjk_tab_to_h GB2312.1980-0 gb2312 < $< > $@
282 isoir165ext.h : $(TABLESDIR)/csets-new/ISO-IR-165-additions.TXT cjk_tab_to_h
283 (echo '#' ; grep -v '^0x2[8A]' < $<) | ./cjk_tab_to_h 'ISO-IR-165 extensions' isoir165ext > $@
285 gb12345ext.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB2312.TXT $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB12345-FIXED.TXT $(TABLESDIR)/csets-new/GB12345-more.TXT cjk_tab_to_h
286 (echo '#' ; sed -e '/^0x..[ ]*#UNDEFINED/d' -e 's/#.*$$//' -e '/^[ ]*$$/d' $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB2312.TXT > tmp1.TXT ; sed -e '/^0x..[ ]*#UNDEFINED/d' -e 's/#.*$$//' -e '/^[ ]*$$/d' $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB12345-FIXED.TXT > tmp2.TXT ; diff tmp1.TXT tmp2.TXT | grep '^> ' | sed -e 's,^> ,,' ; cat $(TABLESDIR)/csets-new/GB12345-more.TXT ) | ./cjk_tab_to_h 'GB/T 12345.1990-0 extensions' gb12345ext > $@ && rm -f tmp1.TXT tmp2.TXT
288 gbkext1.h : GBKext.TXT cjk_tab_to_h
289 (echo '#' ; grep '^0x\([89].\|A0\)' < GBKext.TXT) | ./cjk_tab_to_h 'GBK/3 extensions' gbkext1 > $@
291 gbkext2.h : GBKext.TXT cjk_tab_to_h
292 (echo '#' ; grep '^0x\(A[1-9A-F]\|[B-F][0-9A-F]\)\([4-9].\|A0\)' < GBKext.TXT) | ./cjk_tab_to_h 'GBK/4 and GBK/5 extensions' gbkext2 > $@
294 gbkext_inv.h : GBKext.TXT cjk_tab_to_h
295 (echo '#' ; grep '^0x\([89].\|A0\)' < GBKext.TXT ; grep '^0x\(A[1-9A-F]\|[B-F][0-9A-F]\)\([4-9].\|A0\)' < GBKext.TXT) | ./cjk_tab_to_h 'GBK extensions' gbkext_inv > $@
297 cp936ext.h : GBKext.TXT cjk_tab_to_h
298 (echo '#' ; grep '^0xA[1-9][B-F].' < GBKext.TXT) | ./cjk_tab_to_h 'CP936 extensions' cp936ext > $@
300 GBKext.TXT : $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB2312.TXT $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP936.TXT
301 sed -e 's,^0x2,0xA,' -e 's,^0x3,0xB,' -e 's,^0x4,0xC,' -e 's,^0x5,0xD,' -e 's,^0x6,0xE,' -e 's,^0x7,0xF,' -e 's,^0x\(..\)2,0x\1A,' -e 's,^0x\(..\)3,0x\1B,' -e 's,^0x\(..\)4,0x\1C,' -e 's,^0x\(..\)5,0x\1D,' -e 's,^0x\(..\)6,0x\1E,' -e 's,^0x\(..\)7,0x\1F,' $(TABLESDIR)/unicode.org-mappings/EASTASIA/GB/GB2312.TXT > tmpEUCCN.TXT ; sed -e '/^0x..[ ]*#UNDEFINED/d' -e 's/#.*$$//' -e '/^[ ]*$$/d' tmpEUCCN.TXT > tmp1.TXT ; sed -e '/^0x..[ ]/d' -e 's/#.*$$//' -e '/^[ ]*$$/d' $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP936.TXT > tmp2.TXT ; diff -c1 tmp1.TXT tmp2.TXT | grep '^+ ' | sed -e 's,^+ ,,' > $@ && rm -f tmpEUCCN.TXT tmp1.TXT tmp2.TXT
303 gb18030ext.h : GB18030ext.TXT cjk_tab_to_h
304 (echo '#' ; cat GB18030ext.TXT) | ./cjk_tab_to_h 'GB18030 two-byte extension' gb18030ext > $@
306 GB18030ext.TXT : $(TABLESDIR)/glibc-2.2.2-iconv/GB18030.TXT $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP936.TXT
307 cat $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP936.TXT | sed -e 's/[ ]*#.*$$//' | grep '^0x[0-9A-F]* 0x....$$' > tmpGBK.TXT ; diff tmpGBK.TXT $(TABLESDIR)/glibc-2.2.2-iconv/GB18030.TXT | grep '^> 0x.... 0x....$$' | sed -e 's/^> //' > $@ && rm -f tmpGBK.TXT
309 gb18030uni.h : GB18030uni.TXT cjk_tab_to_h
310 ./cjk_tab_to_h 'GB18030 four-byte extension' gb18030uni < GB18030uni.TXT > $@
312 GB18030uni.TXT : $(TABLESDIR)/gb18030/filled-GB18030.TXT
313 grep '^0x........ 0x....$$' < $(TABLESDIR)/gb18030/filled-GB18030.TXT > $@
315 cns11643_1.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
316 grep '^\(#\|0x1\)' < $< | sed -e 's,^0x1,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 1' cns11643_1 > $@
318 cns11643_2.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
319 grep '^\(#\|0x2\)' < $< | sed -e 's,^0x2,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 2' cns11643_2 > $@
321 cns11643_3.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
322 grep '^\(#\|0x3\)' < $< | sed -e 's,^0x3,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 3' cns11643_3 > $@
324 cns11643_4a.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
325 grep '^\(#\|0x4[0-3]\)' < $< | sed -e 's,^0x4,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 4 part a' cns11643_4a > $@
327 cns11643_4b.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
328 grep '^\(#\|0x4[4-7]\)' < $< | sed -e 's,^0x4,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 4 part b' cns11643_4b > $@
330 cns11643_5.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
331 grep '^\(#\|0x5\)' < $< | sed -e 's,^0x5,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 5' cns11643_5 > $@
333 cns11643_6.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
334 grep '^\(#\|0x6\)' < $< | sed -e 's,^0x6,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 6' cns11643_6 > $@
336 cns11643_7.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
337 grep '^\(#\|0x7\)' < $< | sed -e 's,^0x7,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 7' cns11643_7 > $@
339 cns11643_15.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
340 grep '^\(#\|0xF\)' < $< | sed -e 's,^0xF,0x,' | ./cjk_tab_to_h 'CNS 11643-1992 plane 15' cns11643_15 > $@
342 cns11643_inv.h : $(TABLESDIR)/csets-new/CNS11643-Unicode31.TXT cjk_tab_to_h
343 ./cjk_tab_to_h 'CNS 11643-1992 planes 1-7, CNS 11643-1986 plane 15' cns11643_inv < $< > $@
345 big5.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/OTHER/BIG5.TXT cjk_tab_to_h
346 ./cjk_tab_to_h BIG5 big5 < $< > $@
348 cp950ext.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/WINDOWS/CP950.TXT cjk_tab_to_h
349 (echo '#' ; grep '^0xF9\(D[6-9A-F]\|[EF][0-9A-F]\)' < $< ) | ./cjk_tab_to_h 'CP950 extensions' cp950ext > $@
351 hkscs.h : $(TABLESDIR)/big5hkscs/HKSCS.TXT cjk_tab_to_h
352 (echo '#' ; cat $<) | ./cjk_tab_to_h HKSCS hkscs > $@
354 ksc5601.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/KSC/KSC5601.TXT cjk_tab_to_h
355 ./cjk_tab_to_h KSC5601.1987-0 ksc5601 < $< > $@
357 uhc_1.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/KSC/KSC5601.TXT cjk_tab_to_h
358 (echo '#' ; grep '^0x\([8-9]\|A0\)' < $< ) | ./cjk_tab_to_h 'Unified Hangul Code part 1' uhc_1 > $@
360 uhc_2.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/KSC/KSC5601.TXT cjk_tab_to_h
361 (echo '#' ; grep '^0x\(A[1-9A-F]\|[B-F][0-9A-F]\)\([0-9]\|A0\)' < $< ) | ./cjk_tab_to_h 'Unified Hangul Code part 2' uhc_2 > $@
363 johab_hangul.h : $(TABLESDIR)/unicode.org-mappings/EASTASIA/KSC/JOHAB.TXT cjk_tab_to_h
364 (echo '#' ; grep '^0x\([8-C]...\|D[0-7]..\)' < $< ) | ./cjk_tab_to_h 'JOHAB Hangul' johab_hangul > $@
367 cp856.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MISC/CP856.TXT 8bit_tab_to_h
368 ./8bit_tab_to_h CP856 cp856 < $<
370 cp922.h : $(TABLESDIR)/aix-4.3.2/IBM-922.TXT 8bit_tab_to_h
371 (echo '#' ; cat $<) | ./8bit_tab_to_h CP922 cp922
373 cp1046.h : $(TABLESDIR)/aix-4.3.2/IBM-1046.TXT 8bit_tab_to_h
374 (echo '#' ; cat $<) | ./8bit_tab_to_h CP1046 cp1046
376 cp1124.h : $(TABLESDIR)/aix-4.3.2/IBM-1124.TXT 8bit_tab_to_h
377 (echo '#' ; cat $<) | ./8bit_tab_to_h CP1124 cp1124
379 cp1129.h : $(TABLESDIR)/aix-4.3.2/IBM-1129.TXT 8bit_tab_to_h
380 (echo '#' ; cat $<) | ./8bit_tab_to_h CP1129 cp1129
383 cp437.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP437.TXT 8bit_tab_to_h
384 ./8bit_tab_to_h CP437 cp437 < $<
386 cp775.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP775.TXT 8bit_tab_to_h
387 ./8bit_tab_to_h CP775 cp775 < $<
389 cp852.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP852.TXT 8bit_tab_to_h
390 ./8bit_tab_to_h CP852 cp852 < $<
392 cp855.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP855.TXT 8bit_tab_to_h
393 ./8bit_tab_to_h CP855 cp855 < $<
395 cp857.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP857.TXT 8bit_tab_to_h
396 ./8bit_tab_to_h CP857 cp857 < $<
398 cp861.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP861.TXT 8bit_tab_to_h
399 ./8bit_tab_to_h CP861 cp861 < $<
401 cp864.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP864.TXT 8bit_tab_to_h
402 ./8bit_tab_to_h CP864 cp864 < $<
404 cp865.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP865.TXT 8bit_tab_to_h
405 ./8bit_tab_to_h CP865 cp865 < $<
407 cp869.h : $(TABLESDIR)/unicode.org-mappings/VENDORS/MICSFT/PC/CP869.TXT 8bit_tab_to_h
408 ./8bit_tab_to_h CP869 cp869 < $<
411 cjk_variants.h : $(TABLESDIR)/yasuoka/UniVariants cjk_variants
412 ./cjk_variants < $< > $@
415 8bit_tab_to_h : 8bit_tab_to_h.c
416 gcc -O -Wall -g $< -o $@
418 cjk_tab_to_h : cjk_tab_to_h.c
419 gcc -O -Wall -g $< -o $@
421 cjk_variants : cjk_variants.c
422 gcc -O -Wall -g $< -o $@
425 clean : force
426 rm -f 8bit_tab_to_h cjk_tab_to_h cjk_variants $(ALL) GBKext.TXT
428 force :