CAM - disable cache synchronization by default for USB attachments.
[dragonfly.git] / share / msgdef / Makefile
blob0fe913bfbbc4973666895fa7bf0f0a195e83c88b
1 # $FreeBSD: src/share/msgdef/Makefile,v 1.38.2.3 2002/08/17 19:30:37 ache Exp $
2 # $DragonFly: src/share/msgdef/Makefile,v 1.7 2006/11/12 21:15:46 swildner Exp $
4 NOMAN=YES
5 CLEANFILES+= ${LOCALES:S/$/.out/g}
7 LOCALES= af_ZA.ISO8859-1 \
8 be_BY.CP1131 \
9 be_BY.CP1251 \
10 be_BY.ISO8859-5 \
11 be_BY.UTF-8 \
12 bg_BG.CP1251 \
13 bg_BG.UTF-8 \
14 cs_CZ.ISO8859-2 \
15 da_DK.ISO8859-1 \
16 de_DE.ISO8859-1 \
17 el_GR.ISO8859-7 \
18 el_GR.UTF-8 \
19 en_CA.ISO8859-1 \
20 en_GB.ISO8859-1 \
21 en_US.ISO8859-1 \
22 es_ES.ISO8859-1 \
23 et_EE.ISO8859-15 \
24 fi_FI.ISO8859-1 \
25 fr_BE.ISO8859-1 \
26 fr_CH.ISO8859-1 \
27 fr_FR.ISO8859-1 \
28 hi_IN.ISCII-DEV \
29 hr_HR.ISO8859-2 \
30 hu_HU.ISO8859-2 \
31 hy_AM.UTF-8 \
32 is_IS.ISO8859-1 \
33 it_IT.ISO8859-1 \
34 ja_JP.UTF-8 \
35 kk_KZ.UTF-8 \
36 lt_LT.ISO8859-13 \
37 nl_NL.ISO8859-1 \
38 no_NO.ISO8859-1 \
39 pl_PL.ISO8859-2 \
40 pt_PT.ISO8859-1 \
41 ro_RO.ISO8859-2 \
42 ru_RU.CP866 \
43 ru_RU.ISO8859-5 \
44 ru_RU.KOI8-R \
45 ru_RU.UTF-8 \
46 sl_SI.ISO8859-2 \
47 sr_YU.UTF-8 \
48 sv_SE.ISO8859-1 \
49 tr_TR.ISO8859-9 \
50 uk_UA.ISO8859-5 \
51 uk_UA.KOI8-U \
52 uk_UA.UTF-8 \
53 ko_KR.eucKR \
54 ja_JP.eucJP \
55 ja_JP.SJIS \
56 zh_TW.Big5 \
57 zh_CN.eucCN \
58 zh_CN.UTF-8 \
59 zh_TW.UTF-8
61 LOCALEDIR= ${DESTDIR}/usr/share/locale
63 ASCIILINKS= en_CA en_GB en_US
64 LATIN15LINKS= af_ZA da_DK de_DE en_CA en_GB en_US es_ES fi_FI fr_BE fr_CH \
65 fr_FR is_IS it_IT nl_NL no_NO pt_PT sv_SE
67 UTF8_LATIN1LINKS= af_ZA ca_ES da_DK de_DE en_CA en_GB en_US es_ES fi_FI \
68 fr_BE fr_CH fr_FR is_IS it_IT nl_NL no_NO pt_PT sv_SE
69 UTF8_LATIN2LINKS= cs_CZ hr_HR hu_HU pl_PL ro_RO sl_SI
70 UTF8_LATIN9LINKS= tr_TR
71 UTF8_LATIN13LINKS= lt_LT
72 UTF8_LATIN15LINKS= et_EE
75 GB_LINKS= en_AU en_NZ
76 FR_LINKS= fr_CA
77 DE_LINKS= de_AT de_CH
78 CZ_LINKS= sk_SK
79 IT_LINKS= it_CH
80 NL_LINKS= nl_BE
81 PT_LINKS= pt_BR
83 .SUFFIXES: .src .out
85 .src.out:
86 grep -v '^#' < ${.IMPSRC} > ${.TARGET}
88 all: ${LOCALES:S/$/.out/g}
90 afterinstall:
91 # HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file
92 -rm -rf ${LOCALEDIR}/*/LC_MESSAGES
93 .for lang in ${LOCALES}
94 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
95 ${LOCALEDIR}/${lang}/LC_MESSAGES
96 .endfor
97 .for link in ${LATIN15LINKS}
98 ${LN} -sf ../${link}.ISO8859-1/LC_MESSAGES \
99 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
100 .endfor
101 .for link in ${GB_LINKS}
102 ${LN} -sf ../en_GB.ISO8859-1/LC_MESSAGES \
103 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
104 ${LN} -sf ../en_GB.ISO8859-1/LC_MESSAGES \
105 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
106 ${LN} -sf ../en_GB.ISO8859-1/LC_MESSAGES \
107 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES
108 .endfor
109 .for link in ${FR_LINKS}
110 ${LN} -sf ../fr_FR.ISO8859-1/LC_MESSAGES \
111 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
112 ${LN} -sf ../fr_FR.ISO8859-1/LC_MESSAGES \
113 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
114 .endfor
115 .for link in ${DE_LINKS}
116 ${LN} -sf ../de_DE.ISO8859-1/LC_MESSAGES \
117 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
118 ${LN} -sf ../de_DE.ISO8859-1/LC_MESSAGES \
119 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
120 .endfor
121 .for link in ${IT_LINKS}
122 ${LN} -sf ../it_IT.ISO8859-1/LC_MESSAGES \
123 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
124 ${LN} -sf ../it_IT.ISO8859-1/LC_MESSAGES \
125 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
126 .endfor
127 .for link in ${NL_LINKS}
128 ${LN} -sf ../nl_NL.ISO8859-1/LC_MESSAGES \
129 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
130 ${LN} -sf ../nl_NL.ISO8859-1/LC_MESSAGES \
131 ${LOCALEDIR}/${link}.ISO8859-15/LC_MESSAGES
132 .endfor
133 .for link in ${CZ_LINKS}
134 ${LN} -sf ../cs_CZ.ISO8859-2/LC_MESSAGES \
135 ${LOCALEDIR}/${link}.ISO8859-2/LC_MESSAGES
136 .endfor
137 .for link in ${PT_LINKS}
138 ${LN} -sf ../pt_PT.ISO8859-1/LC_MESSAGES \
139 ${LOCALEDIR}/${link}.ISO8859-1/LC_MESSAGES
140 .endfor
141 .for link in ${ASCIILINKS}
142 ${LN} -sf ../${link}.ISO8859-1/LC_MESSAGES \
143 ${LOCALEDIR}/${link}.US-ASCII/LC_MESSAGES
144 .endfor
145 .for link in ${UTF8_LATIN1LINKS}
146 ${LN} -sf ../${link}.ISO8859-1/LC_MESSAGES \
147 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
148 .endfor
149 .for link in ${UTF8_LATIN2LINKS}
150 ${LN} -sf ../${link}.ISO8859-2/LC_MESSAGES \
151 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
152 .endfor
153 .for link in ${UTF8_LATIN9LINKS}
154 ${LN} -sf ../${link}.ISO8859-9/LC_MESSAGES \
155 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
156 .endfor
157 .for link in ${UTF8_LATIN13LINKS}
158 ${LN} -sf ../${link}.ISO8859-13/LC_MESSAGES \
159 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
160 .endfor
161 .for link in ${UTF8_LATIN15LINKS}
162 ${LN} -sf ../${link}.ISO8859-15/LC_MESSAGES \
163 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
164 .endfor
165 .for link in ${GB_LINKS}
166 ${LN} -sf ../en_GB.UTF-8/LC_MESSAGES \
167 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
168 .endfor
169 .for link in ${FR_LINKS}
170 ${LN} -sf ../fr_FR.UTF-8/LC_MESSAGES \
171 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
172 .endfor
173 .for link in ${DE_LINKS}
174 ${LN} -sf ../de_DE.UTF-8/LC_MESSAGES \
175 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
176 .endfor
177 .for link in ${IT_LINKS}
178 ${LN} -sf ../it_IT.UTF-8/LC_MESSAGES \
179 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
180 .endfor
181 .for link in ${NL_LINKS}
182 ${LN} -sf ../nl_NL.UTF-8/LC_MESSAGES \
183 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
184 .endfor
185 .for link in ${CZ_LINKS}
186 ${LN} -sf ../cs_CZ.UTF-8/LC_MESSAGES \
187 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
188 .endfor
189 .for link in ${PT_LINKS}
190 ${LN} -sf ../pt_PT.UTF-8/LC_MESSAGES \
191 ${LOCALEDIR}/${link}.UTF-8/LC_MESSAGES
192 .endfor
193 ${LN} -sf ../ko_KR.eucKR/LC_MESSAGES \
194 ${LOCALEDIR}/ko_KR.UTF-8/LC_MESSAGES
195 ${LN} -sf ../zh_TW.UTF-8/LC_MESSAGES \
196 ${LOCALEDIR}/zh_HK.UTF-8/LC_MESSAGES
198 .include <bsd.prog.mk>