1 # $FreeBSD: src/share/timedef/Makefile,v 1.11.2.11 2002/08/17 19:25:45 ache Exp $
2 # $DragonFly: src/share/timedef/Makefile,v 1.7 2006/11/12 21:15:46 swildner Exp $
5 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
7 LOCALES
= be_BY.CP1131 \
86 LOCALEDIR
= ${DESTDIR}/usr
/share
/locale
88 UTF8_LATIN1LINKS
= en_GB en_US eu_ES nl_NL
90 LATIN15LINKS
= ca_ES da_DK de_AT de_DE en_GB en_US es_ES eu_ES fi_FI fr_FR \
91 is_IS it_IT la_LN nl_NL no_NO pt_PT sv_SE
96 FR_LINKS
= fr_BE fr_CA fr_CH
98 LN_LINKS
= la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
101 GB_LINKS
= en_AU en_CA en_NZ
106 grep
-v
'^#' < ${.IMPSRC
} > ${.TARGET
}
108 all: ${LOCALES
:S
/$/.out
/g
}
111 for l in
${LOCALES}; do \
112 ${INSTALL} -m
644 -o
${BINOWN} -g
${BINGRP} $$l.out \
113 ${LOCALEDIR}/$$l/LC_TIME
; \
115 for l in
${LATIN15LINKS}; do \
116 ${LN} -fs ..
/$$l.ISO8859-1
/LC_TIME \
117 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
119 # for l in ${LATIN5LINKS}; do \
120 # ${LN} -fs ../$$l.ISO8859-5/LC_TIME \
121 # ${LOCALEDIR}/$$l.ISO8859-5/LC_TIME; \
123 # for l in ${CP1251LINKS}; do \
124 # ${LN} -fs ../$$l.CP1251/LC_TIME \
125 # ${LOCALEDIR}/$$l.CP1251/LC_TIME; \
127 # for l in ${CP1131LINKS}; do \
128 # ${LN} -fs ../$$l.CP1131/LC_TIME \
129 # ${LOCALEDIR}/$$l.CP1131/LC_TIME; \
131 for l in
${DE_LINKS}; do \
132 ${LN} -fs ..
/de_DE.ISO8859-1
/LC_TIME \
133 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
134 ${LN} -fs ..
/de_DE.ISO8859-1
/LC_TIME \
135 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
137 for l in
${IT_LINKS}; do \
138 ${LN} -fs ..
/it_IT.ISO8859-1
/LC_TIME \
139 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
140 ${LN} -fs ..
/it_IT.ISO8859-1
/LC_TIME \
141 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
143 for l in
${FR_LINKS}; do \
144 ${LN} -fs ..
/fr_FR.ISO8859-1
/LC_TIME \
145 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
146 ${LN} -fs ..
/fr_FR.ISO8859-1
/LC_TIME \
147 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
149 for l in
${LN_LINKS}; do \
150 ${LN} -fs ..
/la_LN.ISO8859-1
/LC_TIME \
151 ${LOCALEDIR}/$$l/LC_TIME
; \
153 for l in
${NL_LINKS}; do \
154 ${LN} -fs ..
/nl_NL.ISO8859-1
/LC_TIME \
155 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
156 ${LN} -fs ..
/nl_NL.ISO8859-1
/LC_TIME \
157 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
159 for l in
${US_LINKS}; do \
160 ${LN} -fs ..
/en_US.ISO8859-1
/LC_TIME \
161 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
162 ${LN} -fs ..
/en_US.ISO8859-1
/LC_TIME \
163 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
164 ${LN} -fs ..
/en_US.ISO8859-1
/LC_TIME \
165 ${LOCALEDIR}/$$l.US-ASCII
/LC_TIME
; \
167 for l in
${GB_LINKS}; do \
168 ${LN} -fs ..
/en_GB.ISO8859-1
/LC_TIME \
169 ${LOCALEDIR}/$$l.ISO8859-1
/LC_TIME
; \
170 ${LN} -fs ..
/en_GB.ISO8859-1
/LC_TIME \
171 ${LOCALEDIR}/$$l.ISO8859-15
/LC_TIME
; \
172 ${LN} -fs ..
/en_GB.ISO8859-1
/LC_TIME \
173 ${LOCALEDIR}/$$l.US-ASCII
/LC_TIME
; \
175 ${LN} -fs ..
/en_GB.ISO8859-1
/LC_TIME \
176 ${LOCALEDIR}/en_GB.US-ASCII
/LC_TIME
177 ${LN} -fs ..
/en_US.ISO8859-1
/LC_TIME \
178 ${LOCALEDIR}/en_US.US-ASCII
/LC_TIME
179 ${LN} -fs ..
/en_US.ISO8859-1
/LC_TIME \
180 ${LOCALEDIR}/af_ZA.ISO8859-1
/LC_TIME
181 ${LN} -fs ..
/en_US.ISO8859-15
/LC_TIME \
182 ${LOCALEDIR}/af_ZA.ISO8859-15
/LC_TIME
183 ${LN} -fs ..
/ko_KR.eucKR
/LC_TIME \
184 ${LOCALEDIR}/ko_KR.CP949
/LC_TIME
185 ${LN} -fs ..
/zh_CN.GB2312
/LC_TIME \
186 ${LOCALEDIR}/zh_CN.GBK
/LC_TIME
187 for l in
${UTF8_LATIN1LINKS}; do \
188 ${LN} -fs ..
/$$l.ISO8859-1
/LC_TIME \
189 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
191 for l in
${DE_LINKS}; do \
192 ${LN} -fs ..
/de_DE.UTF-8
/LC_TIME \
193 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
195 for l in
${IT_LINKS}; do \
196 ${LN} -fs ..
/it_IT.UTF-8
/LC_TIME \
197 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
199 for l in
${FR_LINKS}; do \
200 ${LN} -fs ..
/fr_FR.UTF-8
/LC_TIME \
201 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
203 for l in
${NL_LINKS}; do \
204 ${LN} -fs ..
/nl_NL.UTF-8
/LC_TIME \
205 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
207 for l in
${US_LINKS}; do \
208 ${LN} -fs ..
/en_US.UTF-8
/LC_TIME \
209 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
211 for l in
${GB_LINKS}; do \
212 ${LN} -fs ..
/en_GB.UTF-8
/LC_TIME \
213 ${LOCALEDIR}/$$l.UTF-8
/LC_TIME
; \
215 ${LN} -fs ..
/en_GB.UTF-8
/LC_TIME \
216 ${LOCALEDIR}/en_IE.UTF-8
/LC_TIME
217 ${LN} -fs ..
/en_US.UTF-8
/LC_TIME \
218 ${LOCALEDIR}/af_ZA.UTF-8
/LC_TIME
219 ${LN} -fs ..
/zh_TW.UTF-8
/LC_TIME \
220 ${LOCALEDIR}/zh_HK.UTF-8
/LC_TIME
221 ${LN} -fs ..
/zh_TW.UTF-8
/LC_TIME \
222 ${LOCALEDIR}/zh_HK.Big5HKSCS
/LC_TIME
224 .
include <bsd.prog.mk
>