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 nl_NL.ISO8859-1 \ 62 nn_NO.ISO8859-1 \ 63 nn_NO.UTF-8 \ 64 pl_PL.ISO8859-2 \ 65 pl_PL.UTF-8 \ 66 pt_BR.ISO8859-1 \ 67 pt_BR.UTF-8 \ 68 pt_PT.ISO8859-1 \ 69 pt_PT.UTF-8 \ 70 ro_RO.ISO8859-2 \ 71 ro_RO.UTF-8 \ 72 ru_RU.CP1251 \ 73 ru_RU.CP866 \ 74 ru_RU.ISO8859-5 \ 75 ru_RU.KOI8-R \ 76 ru_RU.UTF-8 \ 77 sk_SK.ISO8859-2 \ 78 sk_SK.UTF-8 \ 79 sl_SI.ISO8859-2 \ 80 sl_SI.UTF-8 \ 81 sr_YU.ISO8859-2 \ 82 sr_YU.ISO8859-5 \ 83 sr_YU.UTF-8 \ 84 sv_SE.ISO8859-1 \ 85 sv_SE.UTF-8 \ 86 tr_TR.ISO8859-9 \ 87 tr_TR.UTF-8 \ 88 uk_UA.CP1251 \ 89 uk_UA.ISO8859-5 \ 90 uk_UA.KOI8-U \ 91 uk_UA.UTF-8 \ 92 zh_CN.eucCN \ 93 zh_CN.GB18030 \ 94 zh_CN.GB2312 \ 95 zh_CN.UTF-8 \ 96 zh_TW.Big5 \ 97 zh_TW.UTF-8 98 99LOCALEDIR= /usr/share/locale 100 101.SUFFIXES: .src .out 102 103.src.out: 104 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 105 106FILES= ${LOCALES:S/$/.out/} 107FILESNAME= LC_TIME 108 109.for locale in ${LOCALES} 110FILESDIR_${locale}.out= ${LOCALEDIR}/${locale} 111.endfor 112 113CLEANFILES= ${FILES} 114 115ENCODINGS= Big5HKSCS CP949 eucKR GB2312 GBK \ 116 ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-15 \ 117 US-ASCII UTF-8 118 119CA_LINKS= ca_ES:ca_AD ca_ES:ca_FR ca_ES:ca_IT 120DE_LINKS= de_DE:de_CH 121FR_LINKS= fr_FR:fr_BE fr_FR:fr_CA fr_FR:fr_CH 122IT_LINKS= it_IT:it_CH 123NL_LINKS= nl_NL:nl_BE 124NO_LINKS= nb_NO:no_NO 125GB_LINKS= en_GB:en_AU en_GB:en_CA en_GB:en_NZ 126 127eucKR_CP949= ko_KR 128GB2312_GBK= zh_CN 129ISO8859-1_ISO8859-1= ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} \ 130 ${IT_LINKS} ${NL_LINKS} ${NO_LINKS} en_US:af_ZA 131ISO8859-1_ISO8859-15= ca_ES da_DK de_AT de_DE en_GB en_US es_ES eu_ES \ 132 fi_FI fr_FR is_IS it_IT la_LN nb_NO nl_NL nn_NO no_NO pt_PT \ 133 sv_SE \ 134 ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} ${IT_LINKS} \ 135 ${NL_LINKS} 136ISO8859-1_US-ASCII= ${GB_LINKS} en_GB en_US la_LN 137ISO8859-1_ISO8859-2= la_LN 138ISO8859-1_ISO8859-4= la_LN 139ISO8859-1_UTF-8= en_GB en_US eu_ES nl_NL 140ISO8859-15_ISO8859-15= en_US:af_ZA 141UTF-8_Big5HKSCS= zh_TW:zh_HK 142UTF-8_UTF-8= ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} ${IT_LINKS} \ 143 ${NL_LINKS} ${NO_LINKS} \ 144 en_GB:en_IE en_US:af_ZA zh_TW:zh_HK 145 146SYMLINKS= 147.for enc1 in ${ENCODINGS} 148.for enc2 in ${ENCODINGS} 149.for lang_terr in ${${enc1}_${enc2}} 150SYMLINKS+= ../${lang_terr:C/:.*$//}.${enc1}/${FILESNAME} \ 151 ${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2} 152.endfor 153.endfor 154.endfor 155 156.include <bsd.prog.mk> 157