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