1# $FreeBSD$ 2 3LOCALES= af_ZA.ISO8859-1 \ 4 am_ET.UTF-8 \ 5 be_BY.CP1251 \ 6 bg_BG.CP1251 \ 7 ca_ES.ISO8859-1 \ 8 cs_CZ.ISO8859-2 \ 9 da_DK.ISO8859-1 \ 10 de_CH.ISO8859-1 \ 11 de_DE.ISO8859-1 \ 12 el_GR.ISO8859-7 \ 13 en_US.ISO8859-1 \ 14 es_ES.ISO8859-1 \ 15 et_EE.ISO8859-15 \ 16 eu_ES.ISO8859-1 \ 17 fi_FI.ISO8859-1 \ 18 fr_BE.ISO8859-1 \ 19 fr_FR.ISO8859-1 \ 20 hi_IN.ISCII-DEV \ 21 hr_HR.ISO8859-2 \ 22 hu_HU.ISO8859-2 \ 23 hy_AM.ARMSCII-8 \ 24 is_IS.ISO8859-1 \ 25 it_IT.ISO8859-1 \ 26 ja_JP.eucJP \ 27 kk_KZ.PT154 \ 28 ko_KR.eucKR \ 29 lt_LT.ISO8859-13 \ 30 mn_MN.UTF-8 \ 31 nl_NL.ISO8859-1 \ 32 no_NO.ISO8859-1 \ 33 pl_PL.ISO8859-2 \ 34 pt_BR.ISO8859-1 \ 35 pt_PT.ISO8859-1 \ 36 ro_RO.ISO8859-2 \ 37 ru_RU.KOI8-R \ 38 sk_SK.ISO8859-2 \ 39 sl_SI.ISO8859-2 \ 40 sr_YU.ISO8859-2 \ 41 sr_YU.ISO8859-5 \ 42 sv_SE.ISO8859-1 \ 43 tr_TR.ISO8859-9 \ 44 uk_UA.KOI8-U \ 45 zh_CN.eucCN 46 47LOCALEDIR= /usr/share/locale 48 49.SUFFIXES: .src .out 50 51.src.out: 52 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 53 54FILES= ${LOCALES:S/$/.out/} 55FILESNAME= LC_NUMERIC 56 57.for locale in ${LOCALES} 58FILESDIR_${locale}.out= ${LOCALEDIR}/${locale} 59.endfor 60 61CLEANFILES= ${FILES} 62 63ENCODINGS= 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 69 70BE_LINKS= fr_BE:nl_BE 71CA_LINKS= ca_ES:ca_AD ca_ES:ca_FR ca_ES:ca_IT 72DE_LINKS= de_DE:de_AT 73FR_LINKS= fr_FR:fr_CA fr_FR:fr_CH 74GB_LINKS= en_GB:en_AU en_GB:en_NZ 75IT_LINKS= it_IT:it_CH 76NO_LINKS= no_NO:nb_NO no_NO:nn_NO 77US_LINKS= en_US:en_CA en_US:en_GB 78 79ARMSCII-8_UTF-8= hy_AM 80Big5_UTF-8= zh_TW:zh_HK zh_TW 81CP1251_CP1131= be_BY 82CP1251_ISO8859-5= be_BY 83CP1251_UTF-8= be_BY bg_BG 84CP866_UTF-8= ru_RU 85eucCN_Big5= zh_CN:zh_TW 86eucCN_Big5HKSCS= zh_CN:zh_HK 87eucCN_GB18030= zh_CN 88eucCN_GB2312= zh_CN 89eucCN_GBK= zh_CN 90eucCN_UTF-8= zh_CN 91eucJP_SJIS= ja_JP 92eucJP_UTF-8= ja_JP 93eucKR_CP949= ko_KR 94eucKR_UTF-8= ko_KR 95ISO8859-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} 99ISO8859-1_ISO8859-1= ${BE_LINKS} ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} \ 100 ${GB_LINKS} ${IT_LINKS} ${NO_LINKS} ${US_LINKS} 101ISO8859-1_US-ASCII= en_US ${GB_LINKS} ${US_LINKS} 102ISO8859-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 104ISO8859-2_UTF-8= cs_CZ hr_HR hu_HU pl_PL ro_RO sk_SK sl_SI 105ISO8859-5_UTF-8= sr_YU uk_UA 106ISO8859-5_CP1251= uk_UA 107ISO8859-7_UTF-8= el_GR 108ISO8859-9_UTF-8= tr_TR 109ISO8859-13_ISO8859-4= lt_LT 110ISO8859-13_ISO8859-13= lt_LT:lv_LV 111ISO8859-13_UTF-8= lt_LT lt_LT:lv_LV 112ISO8859-15_UTF-8= et_EE 113KOI8-R_CP1251= ru_RU 114KOI8-R_CP866= ru_RU 115KOI8-R_ISO8859-5= ru_RU 116KOI8-U_ISO8859-5= uk_UA 117PT154_UTF-8= kk_KZ 118US-ASCII_UTF-8= en_US:he_IL 119UTF-8_UTF-8= ${BE_LINKS} ${CA_LINKS} ${DE_LINKS} ${FR_LINKS} ${GB_LINKS} \ 120 en_GB:en_IE ${IT_LINKS} ${NO_LINKS} ${US_LINKS} 121 122SYMLINKS= 123.for enc1 in ${ENCODINGS} 124.for enc2 in ${ENCODINGS} 125.for lang_terr in ${${enc1}_${enc2}} 126SYMLINKS+= ../${lang_terr:C/:.*$//}.${enc1}/${FILESNAME} \ 127 ${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2} 128.endfor 129.endfor 130.endfor 131 132.include <bsd.prog.mk> 133