1EXTRA_DIST=mk_sb_tbl.awk
2noinst_LTLIBRARIES=libmbfl_filters.la
3INCLUDES=-I../mbfl
4libmbfl_filters_la_LDFLAGS=-version-info $(SHLIB_VERSION)
5libmbfl_filters_la_SOURCES=mbfilter_cp936.c \
6	mbfilter_hz.c \
7	mbfilter_euc_tw.c \
8	mbfilter_big5.c \
9	mbfilter_euc_jp.c \
10	mbfilter_jis.c \
11	mbfilter_iso8859_1.c \
12	mbfilter_iso8859_2.c \
13	mbfilter_cp1254.c \
14	mbfilter_cp1252.c \
15	mbfilter_cp1251.c \
16	mbfilter_ascii.c \
17	mbfilter_iso8859_3.c \
18	mbfilter_iso8859_4.c \
19	mbfilter_iso8859_5.c \
20	mbfilter_iso8859_6.c \
21	mbfilter_iso8859_7.c \
22	mbfilter_iso8859_8.c \
23	mbfilter_iso8859_9.c \
24	mbfilter_iso8859_10.c \
25	mbfilter_iso8859_13.c \
26	mbfilter_iso8859_14.c \
27	mbfilter_iso8859_15.c \
28	mbfilter_iso8859_16.c \
29	mbfilter_htmlent.c \
30	mbfilter_byte2.c \
31	mbfilter_byte4.c \
32	mbfilter_uuencode.c \
33	mbfilter_base64.c \
34	mbfilter_sjis.c \
35	mbfilter_sjis_open.c \
36	mbfilter_7bit.c \
37	mbfilter_qprint.c \
38	mbfilter_ucs4.c \
39	mbfilter_ucs2.c \
40	mbfilter_utf32.c \
41	mbfilter_utf16.c \
42	mbfilter_utf8.c \
43	mbfilter_utf7.c \
44	mbfilter_utf7imap.c \
45	mbfilter_euc_jp_win.c \
46	mbfilter_cp932.c \
47	mbfilter_cp51932.c \
48	mbfilter_euc_cn.c \
49	mbfilter_euc_kr.c \
50	mbfilter_uhc.c \
51	mbfilter_iso2022_jp_ms.c \
52	mbfilter_iso2022_kr.c \
53	mbfilter_cp866.c \
54	mbfilter_koi8r.c \
55	mbfilter_koi8u.c \
56	mbfilter_armscii8.c \
57	mbfilter_cp850.c \
58	mbfilter_cp5022x.c \
59	mbfilter_tl_jisx0201_jisx0208.c \
60	html_entities.c \
61	cp932_table.h \
62	html_entities.h \
63	mbfilter_7bit.h \
64	mbfilter_ascii.h \
65	mbfilter_base64.h \
66	mbfilter_big5.h \
67	mbfilter_byte2.h \
68	mbfilter_byte4.h \
69	mbfilter_cp1251.h \
70	mbfilter_cp1252.h \
71	mbfilter_cp1254.h \
72	mbfilter_cp866.h \
73	mbfilter_cp932.h \
74	mbfilter_cp936.h \
75	mbfilter_euc_cn.h \
76	mbfilter_euc_jp.h \
77	mbfilter_euc_jp_win.h \
78	mbfilter_euc_kr.h \
79	mbfilter_euc_tw.h \
80	mbfilter_htmlent.h \
81	mbfilter_hz.h \
82	mbfilter_iso2022_jp_ms.h \
83	mbfilter_iso2022_kr.h \
84	mbfilter_iso8859_1.h \
85	mbfilter_iso8859_10.h \
86	mbfilter_iso8859_13.h \
87	mbfilter_iso8859_14.h \
88	mbfilter_iso8859_15.h \
89	mbfilter_iso8859_16.h \
90	mbfilter_iso8859_2.h \
91	mbfilter_iso8859_3.h \
92	mbfilter_iso8859_4.h \
93	mbfilter_iso8859_5.h \
94	mbfilter_iso8859_6.h \
95	mbfilter_iso8859_7.h \
96	mbfilter_iso8859_8.h \
97	mbfilter_iso8859_9.h \
98	mbfilter_jis.h \
99	mbfilter_koi8r.h \
100	mbfilter_koi8u.h \
101	mbfilter_armscii8.h \
102	mbfilter_qprint.h \
103	mbfilter_sjis.h \
104	mbfilter_sjis_open.h \
105	mbfilter_ucs2.h \
106	mbfilter_ucs4.h \
107	mbfilter_uhc.h \
108	mbfilter_utf16.h \
109	mbfilter_utf32.h \
110	mbfilter_utf7.h \
111	mbfilter_utf7imap.h \
112	mbfilter_utf8.h \
113	mbfilter_uuencode.h \
114	mbfilter_cp5022x.h \
115	mbfilter_cp51932.h \
116	mbfilter_cp850.h \
117	mbfilter_tl_jisx0201_jisx0208.h \
118	unicode_prop.h \
119	unicode_table_big5.h \
120	unicode_table_cns11643.h \
121	unicode_table_cp1251.h \
122	unicode_table_cp1252.h \
123	unicode_table_cp1254.h \
124	unicode_table_cp866.h \
125	unicode_table_cp932_ext.h \
126	unicode_table_cp936.h \
127	unicode_table_iso8859_10.h \
128	unicode_table_iso8859_13.h \
129	unicode_table_iso8859_14.h \
130	unicode_table_iso8859_15.h \
131	unicode_table_iso8859_16.h \
132	unicode_table_iso8859_2.h \
133	unicode_table_iso8859_3.h \
134	unicode_table_iso8859_4.h \
135	unicode_table_iso8859_5.h \
136	unicode_table_iso8859_6.h \
137	unicode_table_iso8859_7.h \
138	unicode_table_iso8859_8.h \
139	unicode_table_iso8859_9.h \
140	unicode_table_jis.h \
141	unicode_table_koi8r.h \
142	unicode_table_koi8u.h \
143	unicode_table_armscii8.h \
144	unicode_table_cp850.h \
145	unicode_table_uhc.h \
146	translit_kana_jisx0201_jisx0208.h
147
148mbfilter_iso8859_2.c: unicode_table_iso8859_2.h
149
150mbfilter_iso8859_3.c: unicode_table_iso8859_3.h
151
152mbfilter_iso8859_4.c: unicode_table_iso8859_4.h
153
154mbfilter_iso8859_5.c: unicode_table_iso8859_5.h
155
156mbfilter_iso8859_6.c: unicode_table_iso8859_6.h
157
158mbfilter_iso8859_7.c: unicode_table_iso8859_7.h
159
160mbfilter_iso8859_8.c: unicode_table_iso8859_8.h
161
162mbfilter_iso8859_9.c: unicode_table_iso8859_9.h
163
164mbfilter_iso8859_10.c: unicode_table_iso8859_10.h
165
166mbfilter_iso8859_11.c: unicode_table_iso8859_11.h
167
168mbfilter_iso8859_13.c: unicode_table_iso8859_13.h
169
170mbfilter_iso8859_14.c: unicode_table_iso8859_13.h
171
172mbfilter_iso8859_15.c: unicode_table_iso8859_15.h
173
174mbfilter_iso8859_16.c: unicode_table_iso8859_16.h
175
1768859-1.TXT 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT \
1778859-7.TXT 8859-8.TXT 8859-9.TXT 8859-10.TXT 8859-11.TXT 8859-13.TXT \
1788859-14.TXT 8859-15.TXT 8859-16.TXT:
179	$(FETCH_VIA_FTP) ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/$@
180
181unicode_table_iso8859_1.h: mk_sb_tbl.awk
182	$(AWK) -v TABLE_NAME=iso8859_1_ucs_table \
183           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_1_H -f mk_sb_tbl.awk 8859-1.TXT > $@
184
185unicode_table_iso8859_2.h: mk_sb_tbl.awk
186	$(AWK) -v TABLE_NAME=iso8859_2_ucs_table \
187           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_2_H -f mk_sb_tbl.awk 8859-2.TXT > $@
188
189unicode_table_iso8859_3.h: mk_sb_tbl.awk
190	$(AWK) -v TABLE_NAME=iso8859_3_ucs_table \
191           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_3_H -f mk_sb_tbl.awk 8859-3.TXT > $@
192
193unicode_table_iso8859_4.h: mk_sb_tbl.awk
194	$(AWK) -v TABLE_NAME=iso8859_4_ucs_table \
195           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_4_H -f mk_sb_tbl.awk 8859-4.TXT > $@
196
197unicode_table_iso8859_5.h: mk_sb_tbl.awk
198	$(AWK) -v TABLE_NAME=iso8859_5_ucs_table \
199           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_5_H -f mk_sb_tbl.awk 8859-5.TXT > $@
200
201unicode_table_iso8859_6.h: mk_sb_tbl.awk
202	$(AWK) -v TABLE_NAME=iso8859_6_ucs_table \
203           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_6_H -f mk_sb_tbl.awk 8859-6.TXT > $@
204
205unicode_table_iso8859_7.h: mk_sb_tbl.awk
206	$(AWK) -v TABLE_NAME=iso8859_7_ucs_table \
207           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_7_H -f mk_sb_tbl.awk 8859-7.TXT > $@
208
209unicode_table_iso8859_8.h: mk_sb_tbl.awk
210	$(AWK) -v TABLE_NAME=iso8859_8_ucs_table \
211           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_8_H -f mk_sb_tbl.awk 8859-8.TXT > $@
212
213unicode_table_iso8859_9.h: mk_sb_tbl.awk
214	$(AWK) -v TABLE_NAME=iso8859_9_ucs_table \
215           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_9_H -f mk_sb_tbl.awk 8859-9.TXT > $@
216
217unicode_table_iso8859_10.h: mk_sb_tbl.awk
218	$(AWK) -v TABLE_NAME=iso8859_10_ucs_table \
219           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_10_H -f mk_sb_tbl.awk 8859-10.TXT > $@
220
221unicode_table_iso8859_11.h: mk_sb_tbl.awk
222	$(AWK) -v TABLE_NAME=iso8859_11_ucs_table \
223           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_11_H -f mk_sb_tbl.awk 8859-11.TXT > $@
224
225unicode_table_iso8859_13.h: mk_sb_tbl.awk
226	$(AWK) -v TABLE_NAME=iso8859_13_ucs_table \
227           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_13_H -f mk_sb_tbl.awk 8859-13.TXT > $@
228
229unicode_table_iso8859_14.h: mk_sb_tbl.awk
230	$(AWK) -v TABLE_NAME=iso8859_14_ucs_table \
231           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_14_H -f mk_sb_tbl.awk 8859-14.TXT > $@
232
233unicode_table_iso8859_15.h: mk_sb_tbl.awk
234	$(AWK) -v TABLE_NAME=iso8859_15_ucs_table \
235           -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_15_H -f mk_sb_tbl.awk 8859-15.TXT > $@
236
237unicode_table_iso8859_16.h: mk_sb_tbl.awk
238	$(AWK) -v TABLE_NAME=iso8859_16_ucs_table \
239           -v IFNDEF_NAME=UNICODE_TABLEISO8859_16_H -f mk_sb_tbl.awk 8859-16.TXT > $@
240
241unidata: 8859-1.TXT 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT \
2428859-7.TXT 8859-8.TXT 8859-9.TXT 8859-10.TXT 8859-11.TXT 8859-13.TXT \
2438859-14.TXT 8859-15.TXT 8859-16.TXT
244
245.PHONY: unidata
246