fdisk - Use heads = 255 on file images
[dragonfly.git] / share / locale / ctype / Makefile
blob615ea3497955fba666ef86426ebfd053a6ffabf4
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.2 2006/11/12 21:15:46 swildner Exp $
4 NOMAN= # defined
6 # pull LOCALEDIR and other declarations
7 .include <bsd.own.mk>
9 FILESOWN= ${LOCALEOWN}
10 FILESGRP= ${LOCALEGRP}
11 FILESMODE= ${LOCALEMODE}
13 LOCALES += be_BY.CP1131
14 LOCALESRC_be_BY.CP1131 = be_BY.CP1131
16 LOCALES += be_BY.CP1251
17 LOCALESRC_be_BY.CP1251 = bg_BG.CP1251
19 LOCALES += be_BY.ISO8859-5
20 LOCALESRC_be_BY.ISO8859-5 = ru_RU.ISO_8859-5
22 LOCALES += bg_BG.CP1251
23 LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
25 LOCALES += ca_ES.ISO8859-1
26 LOCALESRC_ca_ES.ISO8859-1 = en_US.ISO_8859-1
28 LOCALES += ca_ES.ISO8859-15
29 LOCALESRC_ca_ES.ISO8859-15 = en_US.DIS_8859-15
31 LOCALES += cs_CZ.ISO8859-2
32 LOCALESRC_cs_CZ.ISO8859-2 = en_US.ISO_8859-2
34 LOCALES += da_DK.ISO8859-1
35 LOCALESRC_da_DK.ISO8859-1 = en_US.ISO_8859-1
37 LOCALES += da_DK.ISO8859-15
38 LOCALESRC_da_DK.ISO8859-15 = en_US.DIS_8859-15
40 LOCALES += de_AT.ISO8859-1
41 LOCALESRC_de_AT.ISO8859-1 = en_US.ISO_8859-1
43 LOCALES += de_AT.ISO8859-15
44 LOCALESRC_de_AT.ISO8859-15 = en_US.DIS_8859-15
46 LOCALES += de_CH.ISO8859-1
47 LOCALESRC_de_CH.ISO8859-1 = en_US.ISO_8859-1
49 LOCALES += de_CH.ISO8859-15
50 LOCALESRC_de_CH.ISO8859-15 = en_US.DIS_8859-15
52 LOCALES += de_DE.ISO8859-1
53 LOCALESRC_de_DE.ISO8859-1 = en_US.ISO_8859-1
55 LOCALES += de_DE.ISO8859-15
56 LOCALESRC_de_DE.ISO8859-15 = en_US.DIS_8859-15
58 LOCALES += el_GR.ISO8859-7
59 LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
61 LOCALES += en_AU.ISO8859-1
62 LOCALESRC_en_AU.ISO8859-1 = en_US.ISO_8859-1
64 LOCALES += en_AU.ISO8859-15
65 LOCALESRC_en_AU.ISO8859-15 = en_US.DIS_8859-15
67 LOCALES += en_CA.ISO8859-1
68 LOCALESRC_en_CA.ISO8859-1 = en_US.ISO_8859-1
70 LOCALES += en_CA.ISO8859-15
71 LOCALESRC_en_CA.ISO8859-15 = en_US.DIS_8859-15
73 LOCALES += en_GB.ISO8859-1
74 LOCALESRC_en_GB.ISO8859-1 = en_US.ISO_8859-1
76 LOCALES += en_GB.ISO8859-15
77 LOCALESRC_en_GB.ISO8859-15 = en_US.DIS_8859-15
79 LOCALES += en_US.ISO8859-1
80 LOCALESRC_en_US.ISO8859-1 = en_US.ISO_8859-1
82 LOCALES += en_US.ISO8859-15
83 LOCALESRC_en_US.ISO8859-15 = en_US.DIS_8859-15
85 LOCALES += en_US.UTF-8
86 LOCALESRC_en_US.UTF-8 = en_US.UTF-8
88 LOCALES += es_ES.ISO8859-1
89 LOCALESRC_es_ES.ISO8859-1 = en_US.ISO_8859-1
91 LOCALES += es_ES.ISO8859-15
92 LOCALESRC_es_ES.ISO8859-15 = en_US.DIS_8859-15
94 LOCALES += et_EE.ISO8859-15
95 LOCALESRC_et_EE.ISO8859-15 = en_US.DIS_8859-15
97 LOCALES += fi_FI.ISO8859-1
98 LOCALESRC_fi_FI.ISO8859-1 = en_US.ISO_8859-1
100 LOCALES += fi_FI.ISO8859-15
101 LOCALESRC_fi_FI.ISO8859-15 = en_US.DIS_8859-15
103 LOCALES += fr_BE.ISO8859-1
104 LOCALESRC_fr_BE.ISO8859-1 = en_US.ISO_8859-1
106 LOCALES += fr_BE.ISO8859-15
107 LOCALESRC_fr_BE.ISO8859-15 = en_US.DIS_8859-15
109 LOCALES += fr_CA.ISO8859-1
110 LOCALESRC_fr_CA.ISO8859-1 = en_US.ISO_8859-1
112 LOCALES += fr_CA.ISO8859-15
113 LOCALESRC_fr_CA.ISO8859-15 = en_US.DIS_8859-15
115 LOCALES += fr_CH.ISO8859-1
116 LOCALESRC_fr_CH.ISO8859-1 = en_US.ISO_8859-1
118 LOCALES += fr_CH.ISO8859-15
119 LOCALESRC_fr_CH.ISO8859-15 = en_US.DIS_8859-15
121 LOCALES += fr_FR.ISO8859-1
122 LOCALESRC_fr_FR.ISO8859-1 = en_US.ISO_8859-1
124 LOCALES += fr_FR.ISO8859-15
125 LOCALESRC_fr_FR.ISO8859-15 = en_US.DIS_8859-15
127 LOCALES += hr_HR.ISO8859-2
128 LOCALESRC_hr_HR.ISO8859-2 = en_US.ISO_8859-2
130 LOCALES += hu_HU.ISO8859-2
131 LOCALESRC_hu_HU.ISO8859-2 = en_US.ISO_8859-2
133 LOCALES += hy_AM.ARMSCII-8
134 LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
136 LOCALES += is_IS.ISO8859-1
137 LOCALESRC_is_IS.ISO8859-1 = en_US.ISO_8859-1
139 LOCALES += is_IS.ISO8859-15
140 LOCALESRC_is_IS.ISO8859-15 = en_US.DIS_8859-15
142 LOCALES += it_CH.ISO8859-1
143 LOCALESRC_it_CH.ISO8859-1 = en_US.ISO_8859-1
145 LOCALES += it_CH.ISO8859-15
146 LOCALESRC_it_CH.ISO8859-15 = en_US.DIS_8859-15
148 LOCALES += it_IT.ISO8859-1
149 LOCALESRC_it_IT.ISO8859-1 = en_US.ISO_8859-1
151 LOCALES += it_IT.ISO8859-15
152 LOCALESRC_it_IT.ISO8859-15 = en_US.DIS_8859-15
154 LOCALES += ja_JP.ct
155 LOCALESRC_ja_JP.ct = ja_JP.CTEXT
157 LOCALES += ja_JP.eucJP
158 LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
160 LOCALES += ja_JP.ISO2022-JP
161 LOCALESRC_ja_JP.ISO2022-JP = ja_JP.ISO-2022-JP
163 LOCALES += ja_JP.ISO2022-JP2
164 LOCALESRC_ja_JP.ISO2022-JP2 = ja_JP.ISO-2022-JP-2
166 LOCALES += ja_JP.SJIS
167 LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
169 LOCALES += ko_KR.eucKR
170 LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
172 LOCALES += lt_LT.ISO8859-4
173 LOCALESRC_lt_LT.ISO8859-4 = en_US.ISO_8859-4
175 LOCALES += lt_LT.ISO8859-13
176 LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
178 LOCALES += nl_BE.ISO8859-1
179 LOCALESRC_nl_BE.ISO8859-1 = en_US.ISO_8859-1
181 LOCALES += nl_BE.ISO8859-15
182 LOCALESRC_nl_BE.ISO8859-15 = en_US.DIS_8859-15
184 LOCALES += nl_NL.ISO8859-1
185 LOCALESRC_nl_NL.ISO8859-1 = en_US.ISO_8859-1
187 LOCALES += nl_NL.ISO8859-15
188 LOCALESRC_nl_NL.ISO8859-15 = en_US.DIS_8859-15
190 LOCALES += no_NO.ISO8859-1
191 LOCALESRC_no_NO.ISO8859-1 = en_US.ISO_8859-1
193 LOCALES += no_NO.ISO8859-15
194 LOCALESRC_no_NO.ISO8859-15 = en_US.DIS_8859-15
196 LOCALES += pl_PL.ISO8859-2
197 LOCALESRC_pl_PL.ISO8859-2 = en_US.ISO_8859-2
199 LOCALES += pt_PT.ISO8859-1
200 LOCALESRC_pt_PT.ISO8859-1 = en_US.ISO_8859-1
202 LOCALES += pt_PT.ISO8859-15
203 LOCALESRC_pt_PT.ISO8859-15 = en_US.DIS_8859-15
205 LOCALES += ru_RU.CP866
206 LOCALESRC_ru_RU.CP866 = ru_RU.CP866
208 LOCALES += ru_RU.KOI8-R
209 LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R
211 LOCALES += ru_RU.ISO8859-5
212 LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO_8859-5
214 LOCALES += sk_SK.ISO8859-2
215 LOCALESRC_sk_SK.ISO8859-2 = en_US.ISO_8859-2
217 LOCALES += sl_SI.ISO8859-2
218 LOCALESRC_sl_SI.ISO8859-2 = en_US.ISO_8859-2
220 LOCALES += sv_SE.ISO8859-1
221 LOCALESRC_sv_SE.ISO8859-1 = en_US.ISO_8859-1
223 LOCALES += sv_SE.ISO8859-15
224 LOCALESRC_sv_SE.ISO8859-15 = en_US.DIS_8859-15
226 LOCALES += uk_UA.KOI8-U
227 LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
229 LOCALES += zh_CN.eucCN
230 LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
232 LOCALES += zh_CN.GB18030
233 LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030
235 LOCALES += zh_TW.Big5
236 LOCALESRC_zh_TW.Big5 = zh_TW.BIG5
238 # XXX: EUC-TW is not EUC!
239 LOCALES += zh_TW.eucTW
240 LOCALESRC_zh_TW.eucTW = zh_TW.eucTW
242 all: ${LOCALES:S/$/.out/g}
243 realall: ${LOCALES:S/$/.out/g}
245 .for locale in ${LOCALES}
246 LOCALESRCS+= ${LOCALESRC_${locale}}
247 .endfor
248 CLEANFILES+= ${LOCALES:S/$/.out/g}
250 # TODO: more use of symlinks?
251 FILES= ${LOCALES:S/$/.out/g}
252 .for locale in ${LOCALES}
253 FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
254 FILESNAME_${locale}.out= LC_CTYPE
255 .endfor
257 # dependencies
258 .for locale in ${LOCALES}
259 ${locale}.out: ${LOCALESRC_${locale}}.src \
260 ${.CURDIR}/../../../lib/libc/locale/runetable.c
261 ${CPP} -I${.CURDIR} < ${.CURDIR}/${LOCALESRC_${locale}}.src | \
262 sed -e '/^#/d' | mklocale -o ${.TARGET}
263 .endfor
265 .SUFFIXES: .src .out
266 .src.out:
267 ${CPP} -I${.CURDIR} < ${.IMPSRC} | sed -e '/^#/d' | \
268 mklocale -o ${.TARGET}
270 # does not work
271 #depend:
272 # ${MKDEP} -a ${MKDEPFLAGS} \
273 # ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
274 # ${LOCALESRCS:S/$/.src/g:S/^/${.CURDIR}\//g}
276 .include <bsd.prog.mk>