3bcb7053760b467d24af17ef0d0bee6775d20b61
[dragonfly.git] / share / monetdef / Makefile
1 # $FreeBSD: head/share/monetdef/Makefile 253425 2013-07-17 14:00:51Z bapt $
2
3 LOCALES=        af_ZA.ISO8859-1 \
4                 am_ET.UTF-8 \
5                 be_BY.CP1131 \
6                 be_BY.CP1251 \
7                 be_BY.ISO8859-5 \
8                 be_BY.UTF-8 \
9                 bg_BG.CP1251 \
10                 bg_BG.UTF-8 \
11                 ca_ES.ISO8859-1 \
12                 ca_ES.UTF-8 \
13                 cs_CZ.ISO8859-2 \
14                 cs_CZ.UTF-8 \
15                 da_DK.ISO8859-1 \
16                 de_AT.ISO8859-1 \
17                 de_AT.UTF-8 \
18                 de_CH.ISO8859-1 \
19                 de_DE.ISO8859-1 \
20                 de_DE.UTF-8 \
21                 el_GR.ISO8859-7 \
22                 el_GR.UTF-8 \
23                 en_AU.ISO8859-1 \
24                 en_CA.ISO8859-1 \
25                 en_GB.ISO8859-1 \
26                 en_GB.UTF-8 \
27                 en_IE.UTF-8 \
28                 en_NZ.ISO8859-1 \
29                 en_US.ISO8859-1 \
30                 es_ES.ISO8859-1 \
31                 es_ES.UTF-8 \
32                 et_EE.ISO8859-15 \
33                 fi_FI.ISO8859-1 \
34                 fi_FI.UTF-8 \
35                 fr_BE.ISO8859-1 \
36                 fr_BE.UTF-8 \
37                 fr_CA.ISO8859-1 \
38                 fr_FR.ISO8859-1 \
39                 fr_FR.UTF-8 \
40                 he_IL.UTF-8 \
41                 hi_IN.ISCII-DEV \
42                 hr_HR.ISO8859-2 \
43                 hu_HU.ISO8859-2 \
44                 hy_AM.ARMSCII-8 \
45                 hy_AM.UTF-8 \
46                 is_IS.ISO8859-1 \
47                 it_IT.ISO8859-1 \
48                 it_IT.UTF-8 \
49                 ja_JP.eucJP \
50                 ja_JP.UTF-8 \
51                 kk_KZ.PT154 \
52                 kk_KZ.UTF-8 \
53                 ko_KR.eucKR \
54                 ko_KR.UTF-8 \
55                 lt_LT.ISO8859-13 \
56                 lv_LV.ISO8859-13 \
57                 mn_Cyrl_MN.UTF-8 \
58                 nl_BE.ISO8859-1 \
59                 nl_BE.UTF-8 \
60                 nl_NL.ISO8859-1 \
61                 nl_NL.UTF-8 \
62                 nb_NO.ISO8859-1 \
63                 pl_PL.ISO8859-2 \
64                 pl_PL.UTF-8 \
65                 pt_BR.ISO8859-1 \
66                 pt_PT.ISO8859-1 \
67                 pt_PT.ISO8859-15 \
68                 pt_PT.UTF-8 \
69                 ro_RO.ISO8859-2 \
70                 ru_RU.CP1251 \
71                 ru_RU.CP866 \
72                 ru_RU.ISO8859-5 \
73                 ru_RU.KOI8-R \
74                 ru_RU.UTF-8 \
75                 sk_SK.ISO8859-2 \
76                 sl_SI.ISO8859-2 \
77                 sr_Latn_RS.ISO8859-2 \
78                 sr_Cyrl_RS.ISO8859-5 \
79                 sr_Latn_RS.UTF-8 \
80                 sv_SE.ISO8859-1 \
81                 tr_TR.ISO8859-9 \
82                 uk_UA.CP1251 \
83                 uk_UA.ISO8859-5 \
84                 uk_UA.KOI8-U \
85                 uk_UA.UTF-8 \
86                 zh_hans_CN.eucCN \
87                 zh_hans_CN.GB18030 \
88                 zh_hans_CN.GB2312 \
89                 zh_hans_CN.UTF-8 \
90                 zh_hant_HK.UTF-8 \
91                 zh_hant_TW.Big5
92
93 LOCALEDIR=      /usr/share/locale
94
95 .SUFFIXES: .src .out
96
97 .src.out:
98         grep -v '^#' < ${.IMPSRC} > ${.TARGET}
99
100 FILES=          ${LOCALES:S/$/.out/}
101 FILESNAME=      LC_MONETARY
102
103 .for lang in ${LOCALES}
104 FILESDIR_${lang}.out= ${LOCALEDIR}/${lang}
105 .endfor
106
107 CLEANFILES=     ${FILES}
108
109 ENCODINGS=      Big5 Big5HKSCS CP949 eucJP eucKR GB2312 GBK \
110                 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-7 ISO8859-9 \
111                 ISO8859-13 ISO8859-15 SJIS US-ASCII UTF-8
112
113 Big5_UTF-8=     zh_hant_TW
114 eucJP_SJIS=     ja_JP
115 eucKR_CP949=    ko_KR
116 GB2312_GBK=     zh_hans_CN
117 ISO8859-1_ISO8859-1= ca_ES:ca_AD ca_ES:ca_FR ca_ES:ca_IT es_ES:eu_ES \
118                 de_CH:fr_CH de_CH:it_CH nb_NO:nn_NO
119 ISO8859-1_ISO8859-15= af_ZA ca_AD ca_ES ca_FR ca_IT da_DK de_AT de_CH de_DE \
120                 en_AU en_CA en_GB en_NZ en_US es_ES \
121                 fi_FI fr_BE fr_CA fr_CH fr_FR \
122                 is_IS it_IT it_CH nl_BE nl_NL nb_NO nn_NO sv_SE
123 ISO8859-1_US-ASCII= en_AU en_CA en_GB en_NZ en_US
124 ISO8859-1_UTF-8= af_ZA da_DK de_CH en_AU en_CA en_NZ en_US \
125                 fr_CA is_IS nb_NO nn_NO pt_BR sv_SE
126 ISO8859-2_UTF-8= hr_HR hu_HU ro_RO sk_SK sl_SI
127 ISO8859-9_UTF-8= tr_TR
128 ISO8859-13_ISO8859-4= lt_LT
129 ISO8859-13_UTF-8= lt_LT lv_LV
130 ISO8859-15_ISO8859-15= es_ES:eu_ES
131 ISO8859-15_UTF-8= et_EE
132 UTF-8_Big5HKSCS= zh_hant_HK
133 UTF-8_UTF-8=    ca_ES:ca_AD ca_ES:ca_FR ca_ES:ca_IT \
134                 es_ES:eu_ES de_CH:fr_CH de_CH:it_CH
135
136 SYMLINKS=
137 .for enc1 in ${ENCODINGS}
138 .for enc2 in ${ENCODINGS}
139 .for lang_terr in ${${enc1}_${enc2}}
140 SYMLINKS+=      ../${lang_terr:C/:.*$//}.${enc1}/${FILESNAME} \
141                 ${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2}
142 .endfor
143 .endfor
144 .endfor
145
146 .include <bsd.prog.mk>