1 # $FreeBSD: src/share/numericdef/Makefile,v 1.36.2.3 2002/08/17 19:34:11 ache Exp $
2 # $DragonFly: src/share/numericdef/Makefile,v 1.8 2006/11/12 21:15:46 swildner Exp $
5 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
7 LOCALES
= af_ZA.ISO8859-1 \
47 LOCALEDIR
= ${DESTDIR}/usr
/share
/locale
50 LATIN15LINKS
= af_ZA da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \
51 it_CH it_IT nl_NL no_NO pt_PT sv_SE
53 UTF8_LATIN1LINKS
= af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR \
54 is_IS it_IT nl_NL no_NO pt_BR pt_PT sv_SE
55 UTF8_LATIN2LINKS
= cs_CZ hr_HR hu_HU pl_PL ro_RO sk_SK sl_SI
56 UTF8_LATIN5LINKS
= sr_YU uk_UA
57 UTF8_LATIN7LINKS
= el_GR
58 UTF8_LATIN9LINKS
= tr_TR
59 UTF8_LATIN13LINKS
= lt_LT
60 UTF8_LATIN15LINKS
= et_EE
61 UTF8_ARMSCII8LINKS
= hy_AM
70 BY_LINKS
= be_BY.CP1131 be_BY.ISO8859-5
75 grep
-v
'^#' < ${.IMPSRC
} > ${.TARGET
}
77 all: ${LOCALES
:S
/$/.out
/g
}
80 .for lang in
${LOCALES}
81 ${INSTALL} -m
644 -o
${BINOWN} -g
${BINGRP} ${lang}.out \
82 ${LOCALEDIR}/${lang}/LC_NUMERIC
84 .for link in
${LATIN15LINKS}
85 ${LN} -sf ..
/${link}.ISO8859-1
/LC_NUMERIC \
86 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
88 .for link in
${US_LINKS}
89 ${LN} -sf ..
/en_US.ISO8859-1
/LC_NUMERIC \
90 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
91 ${LN} -sf ..
/en_US.ISO8859-1
/LC_NUMERIC \
92 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
93 ${LN} -sf ..
/en_US.ISO8859-1
/LC_NUMERIC \
94 ${LOCALEDIR}/${link}.US-ASCII
/LC_NUMERIC
96 .for link in
${GB_LINKS}
97 ${LN} -sf ..
/en_GB.ISO8859-1
/LC_NUMERIC \
98 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
99 ${LN} -sf ..
/en_GB.ISO8859-1
/LC_NUMERIC \
100 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
101 ${LN} -sf ..
/en_GB.ISO8859-1
/LC_NUMERIC \
102 ${LOCALEDIR}/${link}.US-ASCII
/LC_NUMERIC
104 .for link in
${FR_LINKS}
105 ${LN} -sf ..
/fr_FR.ISO8859-1
/LC_NUMERIC \
106 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
107 ${LN} -sf ..
/fr_FR.ISO8859-1
/LC_NUMERIC \
108 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
110 .for link in
${DE_LINKS}
111 ${LN} -sf ..
/de_DE.ISO8859-1
/LC_NUMERIC \
112 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
113 ${LN} -sf ..
/de_DE.ISO8859-1
/LC_NUMERIC \
114 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
116 .for link in
${IT_LINKS}
117 ${LN} -sf ..
/it_IT.ISO8859-1
/LC_NUMERIC \
118 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
119 ${LN} -sf ..
/it_IT.ISO8859-1
/LC_NUMERIC \
120 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
122 .for link in
${BE_LINKS}
123 ${LN} -sf ..
/fr_BE.ISO8859-1
/LC_NUMERIC \
124 ${LOCALEDIR}/${link}.ISO8859-1
/LC_NUMERIC
125 ${LN} -sf ..
/fr_BE.ISO8859-1
/LC_NUMERIC \
126 ${LOCALEDIR}/${link}.ISO8859-15
/LC_NUMERIC
128 .for link in
${ASCIILINKS}
129 ${LN} -sf ..
/${link}.ISO8859-1
/LC_NUMERIC \
130 ${LOCALEDIR}/${link}.US-ASCII
/LC_NUMERIC
132 ${LN} -sf ..
/ja_JP.eucJP
/LC_NUMERIC \
133 ${LOCALEDIR}/ja_JP.SJIS
/LC_NUMERIC
134 .for link in
${UTF8_LATIN1LINKS}
135 ${LN} -sf ..
/${link}.ISO8859-1
/LC_NUMERIC \
136 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
138 .for link in
${UTF8_LATIN2LINKS}
139 ${LN} -sf ..
/${link}.ISO8859-2
/LC_NUMERIC \
140 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
142 .for link in
${UTF8_LATIN5LINKS}
143 ${LN} -sf ..
/${link}.ISO8859-5
/LC_NUMERIC \
144 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
146 .for link in
${UTF8_LATIN7LINKS}
147 ${LN} -sf ..
/${link}.ISO8859-7
/LC_NUMERIC \
148 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
150 .for link in
${UTF8_LATIN9LINKS}
151 ${LN} -sf ..
/${link}.ISO8859-9
/LC_NUMERIC \
152 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
154 .for link in
${UTF8_LATIN13LINKS}
155 ${LN} -sf ..
/${link}.ISO8859-13
/LC_NUMERIC \
156 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
158 .for link in
${UTF8_LATIN15LINKS}
159 ${LN} -sf ..
/${link}.ISO8859-15
/LC_NUMERIC \
160 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
162 .for link in
${UTF8_ARMSCII8LINKS}
163 ${LN} -sf ..
/${link}.ARMSCII-8
/LC_NUMERIC \
164 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
166 .for link in
${US_LINKS}
167 ${LN} -sf ..
/en_US.UTF-8
/LC_NUMERIC \
168 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
170 .for link in
${GB_LINKS}
171 ${LN} -sf ..
/en_GB.UTF-8
/LC_NUMERIC \
172 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
174 .for link in
${FR_LINKS}
175 ${LN} -sf ..
/fr_FR.UTF-8
/LC_NUMERIC \
176 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
178 .for link in
${DE_LINKS}
179 ${LN} -sf ..
/de_DE.UTF-8
/LC_NUMERIC \
180 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
182 .for link in
${IT_LINKS}
183 ${LN} -sf ..
/it_IT.UTF-8
/LC_NUMERIC \
184 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
186 .for link in
${BE_LINKS}
187 ${LN} -sf ..
/fr_BE.UTF-8
/LC_NUMERIC \
188 ${LOCALEDIR}/${link}.UTF-8
/LC_NUMERIC
190 .for link in
${BY_LINKS}
191 ln
-sf ..
/be_BY.CP1251
/LC_NUMERIC \
192 ${LOCALEDIR}/${link}/LC_NUMERIC
194 ${LN} -sf ..
/be_BY.CP1251
/LC_NUMERIC \
195 ${LOCALEDIR}/be_BY.UTF-8
/LC_NUMERIC
196 ${LN} -sf ..
/bg_BG.CP1251
/LC_NUMERIC \
197 ${LOCALEDIR}/bg_BG.UTF-8
/LC_NUMERIC
198 ${LN} -sf ..
/ja_JP.eucJP
/LC_NUMERIC \
199 ${LOCALEDIR}/ja_JP.UTF-8
/LC_NUMERIC
200 ${LN} -sf ..
/kk_KZ.PT154
/LC_NUMERIC \
201 ${LOCALEDIR}/kk_KZ.UTF-8
/LC_NUMERIC
202 ${LN} -sf ..
/ko_KR.eucKR
/LC_NUMERIC \
203 ${LOCALEDIR}/ko_KR.UTF-8
/LC_NUMERIC
204 ${LN} -sf ..
/ru_RU.CP866
/LC_NUMERIC \
205 ${LOCALEDIR}/ru_RU.UTF-8
/LC_NUMERIC
206 ${LN} -sf ..
/zh_CN.eucCN
/LC_NUMERIC \
207 ${LOCALEDIR}/zh_CN.UTF-8
/LC_NUMERIC
208 ${LN} -sf ..
/zh_TW.Big5
/LC_NUMERIC \
209 ${LOCALEDIR}/zh_HK.UTF-8
/LC_NUMERIC
210 ${LN} -sf ..
/zh_TW.Big5
/LC_NUMERIC \
211 ${LOCALEDIR}/zh_TW.UTF-8
/LC_NUMERIC
213 .
include <bsd.prog.mk
>