Avoid line break before author name.
[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 # $DragonFly: src/share/locale/ctype/Makefile,v 1.1 2005/03/11 15:58:31 joerg Exp $
3
4 NOMAN=  # defined
5
6 # pull LOCALEDIR and other declarations
7 .include <bsd.own.mk>
8
9 FILESOWN=       ${LOCALEOWN}
10 FILESGRP=       ${LOCALEGRP}
11 FILESMODE=      ${LOCALEMODE}
12
13 LOCALES += bg_BG.CP1251
14  LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
15
16 LOCALES += ca_ES.ISO8859-1
17  LOCALESRC_ca_ES.ISO8859-1 = en_US.ISO_8859-1
18
19 LOCALES += ca_ES.ISO8859-15
20  LOCALESRC_ca_ES.ISO8859-15 = en_US.DIS_8859-15
21
22 LOCALES += cs_CZ.ISO8859-2
23  LOCALESRC_cs_CZ.ISO8859-2 = en_US.ISO_8859-2
24
25 LOCALES += da_DK.ISO8859-1
26  LOCALESRC_da_DK.ISO8859-1 = en_US.ISO_8859-1
27
28 LOCALES += da_DK.ISO8859-15
29  LOCALESRC_da_DK.ISO8859-15 = en_US.DIS_8859-15
30
31 LOCALES += de_AT.ISO8859-1
32  LOCALESRC_de_AT.ISO8859-1 = en_US.ISO_8859-1
33
34 LOCALES += de_AT.ISO8859-15
35  LOCALESRC_de_AT.ISO8859-15 = en_US.DIS_8859-15
36
37 LOCALES += de_CH.ISO8859-1
38  LOCALESRC_de_CH.ISO8859-1 = en_US.ISO_8859-1
39
40 LOCALES += de_CH.ISO8859-15
41  LOCALESRC_de_CH.ISO8859-15 = en_US.DIS_8859-15
42
43 LOCALES += de_DE.ISO8859-1
44  LOCALESRC_de_DE.ISO8859-1 = en_US.ISO_8859-1
45
46 LOCALES += de_DE.ISO8859-15
47  LOCALESRC_de_DE.ISO8859-15 = en_US.DIS_8859-15
48
49 LOCALES += el_GR.ISO8859-7
50  LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
51
52 LOCALES += en_AU.ISO8859-1
53  LOCALESRC_en_AU.ISO8859-1 = en_US.ISO_8859-1
54
55 LOCALES += en_AU.ISO8859-15
56  LOCALESRC_en_AU.ISO8859-15 = en_US.DIS_8859-15
57
58 LOCALES += en_CA.ISO8859-1
59  LOCALESRC_en_CA.ISO8859-1 = en_US.ISO_8859-1
60
61 LOCALES += en_CA.ISO8859-15
62  LOCALESRC_en_CA.ISO8859-15 = en_US.DIS_8859-15
63
64 LOCALES += en_GB.ISO8859-1
65  LOCALESRC_en_GB.ISO8859-1 = en_US.ISO_8859-1
66
67 LOCALES += en_GB.ISO8859-15
68  LOCALESRC_en_GB.ISO8859-15 = en_US.DIS_8859-15
69
70 LOCALES += en_US.ISO8859-1
71  LOCALESRC_en_US.ISO8859-1 = en_US.ISO_8859-1
72
73 LOCALES += en_US.ISO8859-15
74  LOCALESRC_en_US.ISO8859-15 = en_US.DIS_8859-15
75
76 LOCALES += en_US.UTF-8
77  LOCALESRC_en_US.UTF-8 = en_US.UTF-8
78
79 LOCALES += es_ES.ISO8859-1
80  LOCALESRC_es_ES.ISO8859-1 = en_US.ISO_8859-1
81
82 LOCALES += es_ES.ISO8859-15
83  LOCALESRC_es_ES.ISO8859-15 = en_US.DIS_8859-15
84
85 LOCALES += fi_FI.ISO8859-1
86  LOCALESRC_fi_FI.ISO8859-1 = en_US.ISO_8859-1
87
88 LOCALES += fi_FI.ISO8859-15
89  LOCALESRC_fi_FI.ISO8859-15 = en_US.DIS_8859-15
90
91 LOCALES += fr_BE.ISO8859-1
92  LOCALESRC_fr_BE.ISO8859-1 = en_US.ISO_8859-1
93
94 LOCALES += fr_BE.ISO8859-15
95  LOCALESRC_fr_BE.ISO8859-15 = en_US.DIS_8859-15
96
97 LOCALES += fr_CA.ISO8859-1
98  LOCALESRC_fr_CA.ISO8859-1 = en_US.ISO_8859-1
99
100 LOCALES += fr_CA.ISO8859-15
101  LOCALESRC_fr_CA.ISO8859-15 = en_US.DIS_8859-15
102
103 LOCALES += fr_CH.ISO8859-1
104  LOCALESRC_fr_CH.ISO8859-1 = en_US.ISO_8859-1
105
106 LOCALES += fr_CH.ISO8859-15
107  LOCALESRC_fr_CH.ISO8859-15 = en_US.DIS_8859-15
108
109 LOCALES += fr_FR.ISO8859-1
110  LOCALESRC_fr_FR.ISO8859-1 = en_US.ISO_8859-1
111
112 LOCALES += fr_FR.ISO8859-15
113  LOCALESRC_fr_FR.ISO8859-15 = en_US.DIS_8859-15
114
115 LOCALES += hr_HR.ISO8859-2
116  LOCALESRC_hr_HR.ISO8859-2 = en_US.ISO_8859-2
117
118 LOCALES += hu_HU.ISO8859-2
119  LOCALESRC_hu_HU.ISO8859-2 = en_US.ISO_8859-2
120
121 LOCALES += hy_AM.ARMSCII-8
122  LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
123
124 LOCALES += is_IS.ISO8859-1
125  LOCALESRC_is_IS.ISO8859-1 = en_US.ISO_8859-1
126
127 LOCALES += is_IS.ISO8859-15
128  LOCALESRC_is_IS.ISO8859-15 = en_US.DIS_8859-15
129
130 LOCALES += it_CH.ISO8859-1
131  LOCALESRC_it_CH.ISO8859-1 = en_US.ISO_8859-1
132
133 LOCALES += it_CH.ISO8859-15
134  LOCALESRC_it_CH.ISO8859-15 = en_US.DIS_8859-15
135
136 LOCALES += it_IT.ISO8859-1
137  LOCALESRC_it_IT.ISO8859-1 = en_US.ISO_8859-1
138
139 LOCALES += it_IT.ISO8859-15
140  LOCALESRC_it_IT.ISO8859-15 = en_US.DIS_8859-15
141
142 LOCALES += ja_JP.ct
143  LOCALESRC_ja_JP.ct = ja_JP.CTEXT
144
145 LOCALES += ja_JP.eucJP
146  LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
147
148 LOCALES += ja_JP.ISO2022-JP
149  LOCALESRC_ja_JP.ISO2022-JP = ja_JP.ISO-2022-JP
150
151 LOCALES += ja_JP.ISO2022-JP2
152  LOCALESRC_ja_JP.ISO2022-JP2 = ja_JP.ISO-2022-JP-2
153
154 LOCALES += ja_JP.SJIS
155  LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
156
157 LOCALES += ko_KR.eucKR
158  LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
159
160 LOCALES += lt_LT.ISO8859-4
161  LOCALESRC_lt_LT.ISO8859-4 = en_US.ISO_8859-4
162
163 LOCALES += lt_LT.ISO8859-13
164  LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
165
166 LOCALES += nl_BE.ISO8859-1
167  LOCALESRC_nl_BE.ISO8859-1 = en_US.ISO_8859-1
168
169 LOCALES += nl_BE.ISO8859-15
170  LOCALESRC_nl_BE.ISO8859-15 = en_US.DIS_8859-15
171
172 LOCALES += nl_NL.ISO8859-1
173  LOCALESRC_nl_NL.ISO8859-1 = en_US.ISO_8859-1
174
175 LOCALES += nl_NL.ISO8859-15
176  LOCALESRC_nl_NL.ISO8859-15 = en_US.DIS_8859-15
177
178 LOCALES += no_NO.ISO8859-1
179  LOCALESRC_no_NO.ISO8859-1 = en_US.ISO_8859-1
180
181 LOCALES += no_NO.ISO8859-15
182  LOCALESRC_no_NO.ISO8859-15 = en_US.DIS_8859-15
183
184 LOCALES += pl_PL.ISO8859-2
185  LOCALESRC_pl_PL.ISO8859-2 = en_US.ISO_8859-2
186
187 LOCALES += pt_PT.ISO8859-1
188  LOCALESRC_pt_PT.ISO8859-1 = en_US.ISO_8859-1
189
190 LOCALES += pt_PT.ISO8859-15
191  LOCALESRC_pt_PT.ISO8859-15 = en_US.DIS_8859-15
192
193 LOCALES += ru_RU.CP866
194  LOCALESRC_ru_RU.CP866 = ru_RU.CP866
195
196 LOCALES += ru_RU.KOI8-R
197  LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R
198
199 LOCALES += ru_RU.ISO8859-5
200  LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO_8859-5
201
202 LOCALES += sk_SK.ISO8859-2
203  LOCALESRC_sk_SK.ISO8859-2 = en_US.ISO_8859-2
204
205 LOCALES += sl_SI.ISO8859-2
206  LOCALESRC_sl_SI.ISO8859-2 = en_US.ISO_8859-2
207
208 LOCALES += sv_SE.ISO8859-1
209  LOCALESRC_sv_SE.ISO8859-1 = en_US.ISO_8859-1
210
211 LOCALES += sv_SE.ISO8859-15
212  LOCALESRC_sv_SE.ISO8859-15 = en_US.DIS_8859-15
213
214 LOCALES += uk_UA.KOI8-U
215  LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
216
217 LOCALES += zh_CN.eucCN
218  LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
219
220 LOCALES += zh_CN.GB18030
221  LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030
222
223 LOCALES += zh_TW.Big5
224  LOCALESRC_zh_TW.Big5 = zh_TW.BIG5
225
226 # XXX: EUC-TW is not EUC!
227 LOCALES += zh_TW.eucTW
228  LOCALESRC_zh_TW.eucTW = zh_TW.eucTW
229
230 all: ${LOCALES:S/$/.out/g}
231 realall: ${LOCALES:S/$/.out/g}
232
233 .for locale in ${LOCALES}
234 LOCALESRCS+=    ${LOCALESRC_${locale}}
235 .endfor
236 CLEANFILES+=    ${LOCALES:S/$/.out/g}
237
238 # TODO: more use of symlinks?
239 FILES=  ${LOCALES:S/$/.out/g}
240 .for locale in ${LOCALES}
241 FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
242 FILESNAME_${locale}.out=        LC_CTYPE
243 .endfor
244
245 # dependencies
246 .for locale in ${LOCALES}
247 ${locale}.out: ${LOCALESRC_${locale}}.src \
248                 ${.CURDIR}/../../../lib/libc/locale/runetable.c
249         ${CPP} -I${.CURDIR} < ${.CURDIR}/${LOCALESRC_${locale}}.src | \
250             sed -e '/^#/d' | mklocale -o ${.TARGET}
251 .endfor
252
253 .SUFFIXES: .src .out
254 .src.out:
255         ${CPP} -I${.CURDIR} < ${.IMPSRC} | sed -e '/^#/d' | \
256             mklocale -o ${.TARGET}
257
258 # does not work
259 #depend:
260 #       ${MKDEP} -a ${MKDEPFLAGS} \
261 #           ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
262 #           ${LOCALESRCS:S/$/.src/g:S/^/${.CURDIR}\//g}
263
264 .include <bsd.prog.mk>