1 # $NetBSD: Makefile.locale,v 1.4 2013/08/19 22:34:41 joerg Exp $
3 LANGUAGE= af be bg ca cs da de el en es \
4 et eu fi fr hr hu hy is it ja \
5 kk ko lt nb nl nn pt pl ro ru \
6 sk sl sr_Cyrl sr_Latn sv tr uk zh
8 TERRITORY= AM AT AU BE BG BR BY CA CH CN \
9 CZ DE DK EE ES FI FR GB GR HK \
10 HR HU IS IT JP KR KZ LT ME NL \
11 NO NZ PL PT RO RS RU SE SI SK \
42 LANGUAGE_ME= sr_Cyrl sr_Latn
49 LANGUAGE_RS= sr_Cyrl sr_Latn
66 TERRITORY_de= AT CH DE
68 TERRITORY_en= AU CA GB NZ US
73 TERRITORY_fr= BE CA CH FR
92 TERRITORY_sr_Cyrl= ME RS
93 TERRITORY_sr_Latn= ME RS
97 TERRITORY_zh= CN HK TW
99 CODESET_af_ZA= ISO8859-1 ISO8859-15 UTF-8
100 CODESET_be_BY= ISO8859-5 CP1251 UTF-8
101 CODESET_bg_BG= CP1251 UTF-8
102 CODESET_ca_ES= ISO8859-1 ISO8859-15 UTF-8
103 CODESET_cs_CZ= ISO8859-2 UTF-8
104 CODESET_da_DK= ISO8859-1 ISO8859-15 UTF-8
105 CODESET_de_AT= ISO8859-1 ISO8859-15 UTF-8
106 CODESET_de_CH= ISO8859-1 ISO8859-15 UTF-8
107 CODESET_de_DE= ISO8859-1 ISO8859-15 UTF-8
108 CODESET_el_GR= ISO8859-7 UTF-8
109 CODESET_en_AU= ISO8859-1 ISO8859-15 UTF-8
110 CODESET_en_CA= ISO8859-1 ISO8859-15 UTF-8
111 CODESET_en_GB= ISO8859-1 ISO8859-15 UTF-8
112 CODESET_en_NZ= ISO8859-1 ISO8859-15 UTF-8
113 CODESET_en_US= US-ASCII UTF-8 ISO8859-1 ISO8859-15
114 CODESET_es_ES= ISO8859-1 ISO8859-15 UTF-8
115 CODESET_et_EE= ISO8859-15 UTF-8
116 CODESET_eu_ES= ISO8859-1 ISO8859-15 UTF-8
117 CODESET_fi_FI= ISO8859-1 ISO8859-15 UTF-8
118 CODESET_fr_BE= ISO8859-1 ISO8859-15 UTF-8
119 CODESET_fr_CA= ISO8859-1 ISO8859-15 UTF-8
120 CODESET_fr_CH= ISO8859-1 ISO8859-15 UTF-8
121 CODESET_fr_FR= ISO8859-1 ISO8859-15 UTF-8
122 CODESET_hr_HR= ISO8859-2 UTF-8
123 CODESET_hu_HU= ISO8859-2 UTF-8
124 CODESET_hy_AM= ARMSCII-8 UTF-8
125 CODESET_is_IS= ISO8859-1 ISO8859-15 UTF-8
126 CODESET_it_CH= ISO8859-1 ISO8859-15 UTF-8
127 CODESET_it_IT= ISO8859-1 ISO8859-15 UTF-8
128 CODESET_ja_JP= ct eucJP SJIS ISO-2022-JP ISO-2022-JP-2 UTF-8
129 CODESET_kk_KZ= PT154 UTF-8
130 CODESET_ko_KR= eucKR UTF-8
131 CODESET_lt_LT= ISO8859-4 ISO8859-13 UTF-8
132 CODESET_nb_NO= ISO8859-1 ISO8859-15 UTF-8
133 CODESET_nl_BE= ISO8859-1 ISO8859-15 UTF-8
134 CODESET_nl_NL= ISO8859-1 ISO8859-15 UTF-8
135 CODESET_nn_NO= ISO8859-1 ISO8859-15 UTF-8
136 CODESET_pt_BR= ISO8859-1 UTF-8
137 CODESET_pl_PL= ISO8859-2 UTF-8
138 CODESET_pt_PT= ISO8859-1 ISO8859-15 UTF-8
139 CODESET_ro_RO= ISO8859-2 UTF-8
140 CODESET_ru_BY= CP1251 UTF-8
141 CODESET_ru_RU= ISO8859-5 CP866 CP1251 KOI8-R UTF-8
142 CODESET_sk_SK= ISO8859-2 UTF-8
143 CODESET_sl_SI= ISO8859-2 UTF-8
144 CODESET_sr_Cyrl_ME= ISO8859-5 UTF-8
145 CODESET_sr_Cyrl_RS= ISO8859-5 UTF-8
146 CODESET_sr_Latn_ME= ISO8859-2 UTF-8
147 CODESET_sr_Latn_RS= ISO8859-2 UTF-8
148 CODESET_sv_SE= ISO8859-1 ISO8859-15 UTF-8
149 CODESET_tr_TR= ISO8859-9 UTF-8
150 CODESET_uk_UA= ISO8859-5 CP1251 KOI8-U UTF-8
151 CODESET_zh_CN= eucCN GB18030 UTF-8
152 CODESET_zh_HK= Big5hkscs UTF-8
153 CODESET_zh_TW= Big5 eucTW UTF-8
155 .for language in ${LANGUAGE}
156 .for territory in ${TERRITORY_${language}}
157 .for codeset in ${CODESET_${language}_${territory}}
158 LOCALES+=${language}_${territory}.${codeset}
159 .if empty(LOCALESRC_${language}_${territory}.${codeset})
160 LOCALESRC_${language}_${territory}.${codeset}= \
161 ${language}_${territory}.${codeset}
163 FILESDIR_${language}_${territory}.${codeset}.out= \
164 ${LOCALEDIR}/${language}_${territory}.${codeset}
165 FILESNAME_${language}_${territory}.${codeset}.out= \