Fix sockopt syscalls for the Nth time.
[dragonfly.git] / share / timedef / Makefile
blob7f01183983e3dd713b59b88b5fe10596bf30872e
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 $
4 NOMAN=YES
5 CLEANFILES+= ${LOCALES:S/$/.out/g}
7 LOCALES= be_BY.CP1131 \
8 be_BY.CP1251 \
9 be_BY.ISO8859-5 \
10 be_BY.UTF-8 \
11 bg_BG.CP1251 \
12 bg_BG.UTF-8 \
13 ca_ES.UTF-8 \
14 cs_CZ.ISO8859-2 \
15 cs_CZ.UTF-8 \
16 da_DK.ISO8859-1 \
17 da_DK.UTF-8 \
18 de_AT.ISO8859-1 \
19 de_AT.UTF-8 \
20 de_DE.ISO8859-1 \
21 de_DE.UTF-8 \
22 el_GR.ISO8859-7 \
23 el_GR.UTF-8 \
24 en_GB.ISO8859-1 \
25 en_US.ISO8859-1 \
26 es_ES.ISO8859-1 \
27 es_ES.UTF-8 \
28 et_EE.ISO8859-15 \
29 et_EE.UTF-8 \
30 fi_FI.ISO8859-1 \
31 fi_FI.UTF-8 \
32 fo_FO.ISO8859-1 \
33 fr_FR.ISO8859-1 \
34 fr_FR.UTF-8 \
35 hi_IN.ISCII-DEV \
36 hr_HR.ISO8859-2 \
37 hr_HR.UTF-8 \
38 hu_HU.ISO8859-2 \
39 hu_HU.UTF-8 \
40 is_IS.ISO8859-1 \
41 is_IS.UTF-8 \
42 it_IT.ISO8859-1 \
43 it_IT.UTF-8 \
44 ja_JP.eucJP \
45 ja_JP.SJIS \
46 ja_JP.UTF-8 \
47 kk_KZ.UTF-8 \
48 ko_KR.eucKR \
49 ko_KR.UTF-8 \
50 la_LN.ISO8859-1 \
51 lt_LT.ISO8859-4 \
52 lt_LT.ISO8859-13 \
53 lt_LT.UTF-8 \
54 nl_NL.ISO8859-1 \
55 no_NO.ISO8859-1 \
56 no_NO.UTF-8 \
57 pl_PL.ISO8859-2 \
58 pl_PL.UTF-8 \
59 pt_BR.ISO8859-1 \
60 pt_BR.UTF-8 \
61 pt_PT.ISO8859-1 \
62 pt_PT.UTF-8 \
63 ro_RO.ISO8859-2 \
64 ro_RO.UTF-8 \
65 ru_RU.CP866 \
66 ru_RU.ISO8859-5 \
67 ru_RU.KOI8-R \
68 ru_RU.UTF-8 \
69 sk_SK.ISO8859-2 \
70 sk_SK.UTF-8 \
71 sl_SI.ISO8859-2 \
72 sl_SI.UTF-8 \
73 sr_YU.UTF-8 \
74 sv_SE.ISO8859-1 \
75 sv_SE.UTF-8 \
76 tr_TR.ISO8859-9 \
77 tr_TR.UTF-8 \
78 uk_UA.ISO8859-5 \
79 uk_UA.KOI8-U \
80 uk_UA.UTF-8 \
81 zh_CN.eucCN \
82 zh_CN.UTF-8 \
83 zh_TW.Big5 \
84 zh_TW.UTF-8
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
92 LATIN5LINKS= be_BY
93 CP1251LINKS= be_BY
94 CP1131LINKS= be_BY
95 DE_LINKS= de_CH
96 FR_LINKS= fr_BE fr_CA fr_CH
97 IT_LINKS= it_CH
98 LN_LINKS= la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4
99 NL_LINKS= nl_BE
100 US_LINKS=
101 GB_LINKS= en_AU en_CA en_NZ
103 .SUFFIXES: .src .out
105 .src.out:
106 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
108 all: ${LOCALES:S/$/.out/g}
110 afterinstall:
111 for l in ${LOCALES}; do \
112 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \
113 ${LOCALEDIR}/$$l/LC_TIME; \
114 done
115 for l in ${LATIN15LINKS}; do \
116 ${LN} -fs ../$$l.ISO8859-1/LC_TIME \
117 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \
118 done
119 # for l in ${LATIN5LINKS}; do \
120 # ${LN} -fs ../$$l.ISO8859-5/LC_TIME \
121 # ${LOCALEDIR}/$$l.ISO8859-5/LC_TIME; \
122 # done
123 # for l in ${CP1251LINKS}; do \
124 # ${LN} -fs ../$$l.CP1251/LC_TIME \
125 # ${LOCALEDIR}/$$l.CP1251/LC_TIME; \
126 # done
127 # for l in ${CP1131LINKS}; do \
128 # ${LN} -fs ../$$l.CP1131/LC_TIME \
129 # ${LOCALEDIR}/$$l.CP1131/LC_TIME; \
130 # done
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; \
136 done
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; \
142 done
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; \
148 done
149 for l in ${LN_LINKS}; do \
150 ${LN} -fs ../la_LN.ISO8859-1/LC_TIME \
151 ${LOCALEDIR}/$$l/LC_TIME; \
152 done
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; \
158 done
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; \
166 done
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; \
174 done
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; \
190 done
191 for l in ${DE_LINKS}; do \
192 ${LN} -fs ../de_DE.UTF-8/LC_TIME \
193 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
194 done
195 for l in ${IT_LINKS}; do \
196 ${LN} -fs ../it_IT.UTF-8/LC_TIME \
197 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
198 done
199 for l in ${FR_LINKS}; do \
200 ${LN} -fs ../fr_FR.UTF-8/LC_TIME \
201 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
202 done
203 for l in ${NL_LINKS}; do \
204 ${LN} -fs ../nl_NL.UTF-8/LC_TIME \
205 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
206 done
207 for l in ${US_LINKS}; do \
208 ${LN} -fs ../en_US.UTF-8/LC_TIME \
209 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
210 done
211 for l in ${GB_LINKS}; do \
212 ${LN} -fs ../en_GB.UTF-8/LC_TIME \
213 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \
214 done
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>