Update locale and i18n files.
[dragonfly.git] / share / locale / ctype / Makefile
1 # $NetBSD: src/share/locale/ctype/Makefile,v 1.20 2005/02/10 18:03:02 tnozaki Exp $
2
3 NOMAN=  # defined
4
5 # pull LOCALEDIR and other declarations
6 .include <bsd.own.mk>
7
8 FILESOWN=       ${LOCALEOWN}
9 FILESGRP=       ${LOCALEGRP}
10 FILESMODE=      ${LOCALEMODE}
11
12 LOCALES += af_ZA.ISO8859-1
13  LOCALESRC_af_ZA.ISO8859-1 = en_US.ISO_8859-1
14
15 LOCALES += af_ZA.ISO8859-15
16  LOCALESRC_af_ZA.ISO8859-15 = en_US.DIS_8859-15
17
18 #LOCALES += am_ET.UTF-8
19 # LOCALESRC_am_ET.UTF-8 = en_US.UTF-8
20
21 LOCALES += be_BY.CP1131
22  LOCALESRC_be_BY.CP1131 = be_BY.CP1131
23
24 LOCALES += be_BY.CP1251
25  LOCALESRC_be_BY.CP1251 = bg_BG.CP1251
26
27 LOCALES += be_BY.ISO8859-5
28  LOCALESRC_be_BY.ISO8859-5 = ru_RU.ISO_8859-5
29
30 LOCALES += bg_BG.CP1251
31  LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
32
33 LOCALES += ca_ES.ISO8859-1
34  LOCALESRC_ca_ES.ISO8859-1 = en_US.ISO_8859-1
35
36 LOCALES += ca_ES.ISO8859-15
37  LOCALESRC_ca_ES.ISO8859-15 = en_US.DIS_8859-15
38
39 LOCALES += cs_CZ.ISO8859-2
40  LOCALESRC_cs_CZ.ISO8859-2 = en_US.ISO_8859-2
41
42 LOCALES += da_DK.ISO8859-1
43  LOCALESRC_da_DK.ISO8859-1 = en_US.ISO_8859-1
44
45 LOCALES += da_DK.ISO8859-15
46  LOCALESRC_da_DK.ISO8859-15 = en_US.DIS_8859-15
47
48 LOCALES += de_AT.ISO8859-1
49  LOCALESRC_de_AT.ISO8859-1 = en_US.ISO_8859-1
50
51 LOCALES += de_AT.ISO8859-15
52  LOCALESRC_de_AT.ISO8859-15 = en_US.DIS_8859-15
53
54 LOCALES += de_CH.ISO8859-1
55  LOCALESRC_de_CH.ISO8859-1 = en_US.ISO_8859-1
56
57 LOCALES += de_CH.ISO8859-15
58  LOCALESRC_de_CH.ISO8859-15 = en_US.DIS_8859-15
59
60 LOCALES += de_DE.ISO8859-1
61  LOCALESRC_de_DE.ISO8859-1 = en_US.ISO_8859-1
62
63 LOCALES += de_DE.ISO8859-15
64  LOCALESRC_de_DE.ISO8859-15 = en_US.DIS_8859-15
65
66 LOCALES += el_GR.ISO8859-7
67  LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
68
69 LOCALES += en_AU.ISO8859-1
70  LOCALESRC_en_AU.ISO8859-1 = en_US.ISO_8859-1
71
72 LOCALES += en_AU.ISO8859-15
73  LOCALESRC_en_AU.ISO8859-15 = en_US.DIS_8859-15
74
75 LOCALES += en_CA.ISO8859-1
76  LOCALESRC_en_CA.ISO8859-1 = en_US.ISO_8859-1
77
78 LOCALES += en_CA.ISO8859-15
79  LOCALESRC_en_CA.ISO8859-15 = en_US.DIS_8859-15
80
81 LOCALES += en_GB.ISO8859-1
82  LOCALESRC_en_GB.ISO8859-1 = en_US.ISO_8859-1
83
84 LOCALES += en_GB.ISO8859-15
85  LOCALESRC_en_GB.ISO8859-15 = en_US.DIS_8859-15
86
87 LOCALES += en_US.ISO8859-1
88  LOCALESRC_en_US.ISO8859-1 = en_US.ISO_8859-1
89
90 LOCALES += en_US.ISO8859-15
91  LOCALESRC_en_US.ISO8859-15 = en_US.DIS_8859-15
92
93 LOCALES += en_US.US-ASCII
94  LOCALESRC_en_US.US-ASCII = en_US.ASCII
95
96 LOCALES += en_US.UTF-8
97  LOCALESRC_en_US.UTF-8 = en_US.UTF-8
98
99 LOCALES += es_ES.ISO8859-1
100  LOCALESRC_es_ES.ISO8859-1 = en_US.ISO_8859-1
101
102 LOCALES += es_ES.ISO8859-15
103  LOCALESRC_es_ES.ISO8859-15 = en_US.DIS_8859-15
104
105 LOCALES += et_EE.ISO8859-15
106  LOCALESRC_et_EE.ISO8859-15 = en_US.DIS_8859-15
107
108 LOCALES += eu_ES.ISO8859-1
109  LOCALESRC_eu_ES.ISO8859-1 = en_US.ISO_8859-1
110
111 LOCALES += eu_ES.ISO8859-15
112  LOCALESRC_eu_ES.ISO8859-15 = en_US.DIS_8859-15
113
114 LOCALES += fi_FI.ISO8859-1
115  LOCALESRC_fi_FI.ISO8859-1 = en_US.ISO_8859-1
116
117 LOCALES += fi_FI.ISO8859-15
118  LOCALESRC_fi_FI.ISO8859-15 = en_US.DIS_8859-15
119
120 LOCALES += fr_BE.ISO8859-1
121  LOCALESRC_fr_BE.ISO8859-1 = en_US.ISO_8859-1
122
123 LOCALES += fr_BE.ISO8859-15
124  LOCALESRC_fr_BE.ISO8859-15 = en_US.DIS_8859-15
125
126 LOCALES += fr_CA.ISO8859-1
127  LOCALESRC_fr_CA.ISO8859-1 = en_US.ISO_8859-1
128
129 LOCALES += fr_CA.ISO8859-15
130  LOCALESRC_fr_CA.ISO8859-15 = en_US.DIS_8859-15
131
132 LOCALES += fr_CA.UTF-8
133  LOCALESRC_fr_CA.UTF-8 = en_US.UTF-8
134
135 LOCALES += fr_CH.ISO8859-1
136  LOCALESRC_fr_CH.ISO8859-1 = en_US.ISO_8859-1
137
138 LOCALES += fr_CH.ISO8859-15
139  LOCALESRC_fr_CH.ISO8859-15 = en_US.DIS_8859-15
140
141 LOCALES += fr_CH.UTF-8
142  LOCALESRC_fr_CH.UTF-8 = en_US.UTF-8
143
144 LOCALES += fr_FR.ISO8859-1
145  LOCALESRC_fr_FR.ISO8859-1 = en_US.ISO_8859-1
146
147 LOCALES += fr_FR.ISO8859-15
148  LOCALESRC_fr_FR.ISO8859-15 = en_US.DIS_8859-15
149
150 LOCALES += fr_FR.UTF-8
151  LOCALESRC_fr_FR.UTF-8 = en_US.UTF-8
152
153 #LOCALES += he_IL.UTF-8
154 # LOCALESRC_he_IL.UTF-8 = en_US.UTF-8
155
156 LOCALES += hr_HR.ISO8859-2
157  LOCALESRC_hr_HR.ISO8859-2 = en_US.ISO_8859-2
158
159 LOCALES += hu_HU.ISO8859-2
160  LOCALESRC_hu_HU.ISO8859-2 = en_US.ISO_8859-2
161
162 LOCALES += hy_AM.ARMSCII-8
163  LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
164
165 LOCALES += is_IS.ISO8859-1
166  LOCALESRC_is_IS.ISO8859-1 = en_US.ISO_8859-1
167
168 LOCALES += is_IS.ISO8859-15
169  LOCALESRC_is_IS.ISO8859-15 = en_US.DIS_8859-15
170
171 LOCALES += it_CH.ISO8859-1
172  LOCALESRC_it_CH.ISO8859-1 = en_US.ISO_8859-1
173
174 LOCALES += it_CH.ISO8859-15
175  LOCALESRC_it_CH.ISO8859-15 = en_US.DIS_8859-15
176
177 LOCALES += it_IT.ISO8859-1
178  LOCALESRC_it_IT.ISO8859-1 = en_US.ISO_8859-1
179
180 LOCALES += it_IT.ISO8859-15
181  LOCALESRC_it_IT.ISO8859-15 = en_US.DIS_8859-15
182
183 LOCALES += ja_JP.ct
184  LOCALESRC_ja_JP.ct = ja_JP.CTEXT
185
186 LOCALES += ja_JP.eucJP
187  LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
188
189 LOCALES += ja_JP.ISO2022-JP
190  LOCALESRC_ja_JP.ISO2022-JP = ja_JP.ISO-2022-JP
191
192 LOCALES += ja_JP.ISO2022-JP2
193  LOCALESRC_ja_JP.ISO2022-JP2 = ja_JP.ISO-2022-JP-2
194
195 LOCALES += ja_JP.SJIS
196  LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
197
198 LOCALES += kk_KZ.PT154
199  LOCALESRC_kk_KZ.PT154 = kk_KZ.PT154
200
201 LOCALES += ko_KR.eucKR
202  LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
203
204 LOCALES += lt_LT.ISO8859-4
205  LOCALESRC_lt_LT.ISO8859-4 = en_US.ISO_8859-4
206
207 LOCALES += lt_LT.ISO8859-13
208  LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
209
210 #LOCALES += RC_mn_MN.UTF-8
211 # LOCALESRC_mn_MN.UTF-8 = en_US.UTF-8
212
213 LOCALES += nl_BE.ISO8859-1
214  LOCALESRC_nl_BE.ISO8859-1 = en_US.ISO_8859-1
215
216 LOCALES += nl_BE.ISO8859-15
217  LOCALESRC_nl_BE.ISO8859-15 = en_US.DIS_8859-15
218
219 LOCALES += nl_NL.ISO8859-1
220  LOCALESRC_nl_NL.ISO8859-1 = en_US.ISO_8859-1
221
222 LOCALES += nl_NL.ISO8859-15
223  LOCALESRC_nl_NL.ISO8859-15 = en_US.DIS_8859-15
224
225 LOCALES += nn_NO.ISO8859-1
226  LOCALESRC_nn_NO.ISO8859-1 = en_US.ISO_8859-1
227
228 LOCALES += nn_NO.ISO8859-15
229  LOCALESRC_nn_NO.ISO8859-15 = en_US.DIS_8859-15
230
231 LOCALES += no_NO.ISO8859-1
232  LOCALESRC_no_NO.ISO8859-1 = en_US.ISO_8859-1
233
234 LOCALES += no_NO.ISO8859-15
235  LOCALESRC_no_NO.ISO8859-15 = en_US.DIS_8859-15
236
237 LOCALES += pl_PL.ISO8859-2
238  LOCALESRC_pl_PL.ISO8859-2 = en_US.ISO_8859-2
239
240 LOCALES += pt_BR.ISO8859-1
241  LOCALESRC_pt_BR.ISO8859-1 = en_US.ISO_8859-1
242
243 LOCALES += pt_PT.ISO8859-1
244  LOCALESRC_pt_PT.ISO8859-1 = en_US.ISO_8859-1
245
246 LOCALES += pt_PT.ISO8859-15
247  LOCALESRC_pt_PT.ISO8859-15 = en_US.DIS_8859-15
248
249 LOCALES += ro_RO.ISO8859-2
250  LOCALESRC_ro_RO.ISO8859-2 = en_US.ISO_8859-2
251
252 LOCALES += ru_BY.CP1251
253  LOCALESRC_ru_BY.CP1251 = bg_BG.CP1251
254
255 LOCALES += ru_RU.CP866
256  LOCALESRC_ru_RU.CP866 = ru_RU.CP866
257
258 LOCALES += ru_RU.CP1251
259  LOCALESRC_ru_RU.CP1251 = bg_BG.CP1251
260
261 LOCALES += ru_RU.KOI8-R
262  LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R
263
264 LOCALES += ru_RU.ISO8859-5
265  LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO_8859-5
266
267 LOCALES += sk_SK.ISO8859-2
268  LOCALESRC_sk_SK.ISO8859-2 = en_US.ISO_8859-2
269
270 LOCALES += sl_SI.ISO8859-2
271  LOCALESRC_sl_SI.ISO8859-2 = en_US.ISO_8859-2
272
273 LOCALES += sr_ME.ISO8859-2
274  LOCALESRC_sr_ME.ISO8859-2 = en_US.ISO_8859-2
275
276 LOCALES += sr_ME.ISO8859-5
277  LOCALESRC_sr_ME.ISO8859-5 = ru_RU.ISO_8859-5
278
279 LOCALES += sr_RS.ISO8859-2
280  LOCALESRC_sr_RS.ISO8859-2 = en_US.ISO_8859-2
281
282 LOCALES += sr_RS.ISO8859-5
283  LOCALESRC_sr_RS.ISO8859-5 = ru_RU.ISO_8859-5
284
285 LOCALES += sv_SE.ISO8859-1
286  LOCALESRC_sv_SE.ISO8859-1 = en_US.ISO_8859-1
287
288 LOCALES += sv_SE.ISO8859-15
289  LOCALESRC_sv_SE.ISO8859-15 = en_US.DIS_8859-15
290
291 LOCALES += tr_TR.ISO8859-9
292  LOCALESRC_tr_TR.ISO8859-9 = tr_TR.ISO8859-9
293
294 LOCALES += uk_UA.CP1251
295  LOCALESRC_uk_UA.CP1251 = bg_BG.CP1251
296
297 LOCALES += uk_UA.ISO8859-5
298  LOCALESRC_uk_UA.ISO8859-5 = ru_RU.ISO_8859-5
299
300 LOCALES += uk_UA.KOI8-U
301  LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
302
303 LOCALES += zh_CN.eucCN
304  LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
305
306 LOCALES += zh_CN.GB18030
307  LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030
308
309 LOCALES += zh_HK.Big5HKSCS
310  LOCALESRC_zh_HK.Big5HKSCS = zh_HK.Big5-HKSCS
311
312 LOCALES += zh_TW.Big5
313  LOCALESRC_zh_TW.Big5 = zh_TW.BIG5
314
315 # XXX: EUC-TW is not EUC!
316 LOCALES += zh_TW.eucTW
317  LOCALESRC_zh_TW.eucTW = zh_TW.eucTW
318
319 all: ${LOCALES:S/$/.out/g}
320 realall: ${LOCALES:S/$/.out/g}
321
322 .for locale in ${LOCALES}
323 LOCALESRCS+=    ${LOCALESRC_${locale}}
324 .endfor
325 CLEANFILES+=    ${LOCALES:S/$/.out/g}
326
327 # TODO: more use of symlinks?
328 FILES=  ${LOCALES:S/$/.out/g}
329 .for locale in ${LOCALES}
330 FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
331 FILESNAME_${locale}.out=        LC_CTYPE
332 .endfor
333
334 # dependencies
335 .for locale in ${LOCALES}
336 ${locale}.out: ${LOCALESRC_${locale}}.src \
337                 ${.CURDIR}/../../../lib/libc/locale/runetable.c
338         ${CPP} -I${.CURDIR} < ${.CURDIR}/${LOCALESRC_${locale}}.src | \
339             sed -e '/^#/d' | mklocale -o ${.TARGET}
340 .endfor
341
342 .SUFFIXES: .src .out
343 .src.out:
344         ${CPP} -I${.CURDIR} < ${.IMPSRC} | sed -e '/^#/d' | \
345             mklocale -o ${.TARGET}
346
347 # does not work
348 #depend:
349 #       ${MKDEP} -a ${MKDEPFLAGS} \
350 #           ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
351 #           ${LOCALESRCS:S/$/.src/g:S/^/${.CURDIR}\//g}
352
353 .include <bsd.prog.mk>