1 # $FreeBSD: head/share/numericdef/Makefile 245889 2013-01-24 17:00:11Z brooks $
3 LOCALES
= af_ZA.ISO8859-1 \
47 LOCALEDIR
= /usr
/share
/locale
52 grep
-v
'^#' < ${.IMPSRC
} > ${.TARGET
}
54 FILES
= ${LOCALES
:S
/$/.out
/}
57 .for locale in
${LOCALES}
58 FILESDIR_
${locale}.out
= ${LOCALEDIR}/${locale}
63 ENCODINGS
= ARMSCII-8 Big5 Big5HKSCS \
64 CP1131 CP1251 CP866 CP949 \
65 eucCN eucJP eucKR GB18030 GB2312 GBK \
66 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-5 ISO8859-7 ISO8859-9 \
67 ISO8859-13 ISO8859-15 \
68 KOI8-R KOI8-U PT154 SJIS US-ASCII UTF-8
71 CA_LINKS
= ca_ES
:ca_AD ca_ES
:ca_FR ca_ES
:ca_IT
73 FR_LINKS
= fr_FR
:fr_CA fr_FR
:fr_CH
74 GB_LINKS
= en_GB
:en_AU en_GB
:en_NZ
76 NO_LINKS
= no_NO
:nb_NO no_NO
:nn_NO
77 US_LINKS
= en_US
:en_CA en_US
:en_GB
79 ARMSCII-8_UTF-8
= hy_AM
80 Big5_UTF-8
= zh_TW
:zh_HK zh_TW
82 CP1251_ISO8859-5
= be_BY
83 CP1251_UTF-8
= be_BY bg_BG
85 eucCN_Big5
= zh_CN
:zh_TW
86 eucCN_Big5HKSCS
= zh_CN
:zh_HK
95 ISO8859-1_ISO8859-15
= af_ZA ca_ES da_DK de_CH de_DE en_US es_ES eu_ES \
96 fi_FI fr_BE fr_FR is_IS it_IT nl_NL no_NO pt_PT sv_SE \
97 ${BE_LINKS} ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} \
98 ${IT_LINKS} ${NO_LINKS} ${US_LINKS}
99 ISO8859-1_ISO8859-1
= ${BE_LINKS} ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} \
100 ${GB_LINKS} ${IT_LINKS} ${NO_LINKS} ${US_LINKS}
101 ISO8859-1_US-ASCII
= en_US
${GB_LINKS} ${US_LINKS}
102 ISO8859-1_UTF-8
= af_ZA ca_ES da_DK de_CH de_DE en_US es_ES eu_ES fi_FI \
103 fr_BE fr_FR is_IS it_IT nl_NL no_NO pt_BR pt_PT sv_SE
104 ISO8859-2_UTF-8
= cs_CZ hr_HR hu_HU pl_PL ro_RO sk_SK sl_SI
105 ISO8859-5_UTF-8
= sr_YU uk_UA
106 ISO8859-5_CP1251
= uk_UA
107 ISO8859-7_UTF-8
= el_GR
108 ISO8859-9_UTF-8
= tr_TR
109 ISO8859-13_ISO8859-4
= lt_LT
110 ISO8859-13_ISO8859-13
= lt_LT
:lv_LV
111 ISO8859-13_UTF-8
= lt_LT lt_LT
:lv_LV
112 ISO8859-15_UTF-8
= et_EE
115 KOI8-R_ISO8859-5
= ru_RU
116 KOI8-U_ISO8859-5
= uk_UA
118 US-ASCII_UTF-8
= en_US
:he_IL
119 UTF-8_UTF-8
= ${BE_LINKS} ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} \
120 en_GB
:en_IE
${IT_LINKS} ${NO_LINKS} ${US_LINKS}
123 .for enc1 in
${ENCODINGS}
124 .for enc2 in
${ENCODINGS}
125 .for lang_terr in
${${enc1}_
${enc2}}
126 SYMLINKS
+= ..
/${lang_terr
:C
/:.
*$//}.
${enc1}/${FILESNAME} \
127 ${LOCALEDIR}/${lang_terr
:C
/^.
*://}.
${enc2}
132 .
include <bsd.prog.mk
>