[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / locale / monetary

Annotation of src/share/locale/monetary/Makefile, Revision 1.4

1.4     ! ginsbach    1: # $NetBSD: Makefile,v 1.3 2008/05/30 03:12:59 ginsbach Exp $
1.1       ginsbach    2:
                      3: NOMAN=         # defined
                      4:
                      5: # pull LOCALEDIR and other declarations
                      6: .include <bsd.own.mk>
                      7:
                      8: FILESOWN=      ${LOCALEOWN}
                      9: FILESGRP=      ${LOCALEGRP}
                     10: FILESMODE=     ${LOCALEMODE}
                     11:
                     12: LOCALES += af_ZA.ISO8859-1
                     13:  LOCALESRC_af_ZA.ISO8859-1 = af_ZA.ISO8859-1
                     14:
                     15: LOCALES += am_ET.UTF-8
                     16:  LOCALESRC_am_ET.UTF-8 = am_ET.UTF-8
                     17:
                     18: LOCALES += be_BY.CP1131
                     19:  LOCALESRC_be_BY.CP1131 = be_BY.CP1131
                     20:
                     21: LOCALES += be_BY.CP1251
                     22:  LOCALESRC_be_BY.CP1251 = be_BY.CP1251
                     23:
                     24: LOCALES += be_BY.ISO8859-5
                     25:  LOCALESRC_be_BY.ISO8859-5 = be_BY.ISO8859-5
                     26:
                     27: LOCALES += be_BY.UTF-8
                     28:  LOCALESRC_be_BY.UTF-8 = be_BY.UTF-8
                     29:
                     30: LOCALES += bg_BG.CP1251
                     31:  LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
                     32:
                     33: LOCALES += bg_BG.UTF-8
                     34:  LOCALESRC_bg_BG.UTF-8 = bg_BG.UTF-8
                     35:
                     36: LOCALES += ca_ES.ISO8859-1
                     37:  LOCALESRC_ca_ES.ISO8859-1 = ca_ES.ISO8859-1
                     38:
                     39: LOCALES += cs_CZ.ISO8859-2
                     40:  LOCALESRC_cs_CZ.ISO8859-2 = cs_CZ.ISO8859-2
                     41:
                     42: LOCALES += cs_CZ.UTF-8
                     43:  LOCALESRC_cs_CZ.UTF-8 = cs_CZ.UTF-8
                     44:
                     45: LOCALES += da_DK.ISO8859-1
                     46:  LOCALESRC_da_DK.ISO8859-1 = da_DK.ISO8859-1
                     47:
                     48: LOCALES += de_AT.ISO8859-1
                     49:  LOCALESRC_de_AT.ISO8859-1 = de_AT.ISO8859-1
                     50:
                     51: LOCALES += de_CH.ISO8859-1
                     52:  LOCALESRC_de_CH.ISO8859-1 = de_CH.ISO8859-1
                     53:
                     54: LOCALES += de_DE.ISO8859-1
                     55:  LOCALESRC_de_DE.ISO8859-1 = de_DE.ISO8859-1
                     56:
                     57: LOCALES += el_GR.ISO8859-7
                     58:  LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
                     59:
                     60: LOCALES += en_AU.ISO8859-1
                     61:  LOCALESRC_en_AU.ISO8859-1 = en_AU.ISO8859-1
                     62:
                     63: LOCALES += en_CA.ISO8859-1
                     64:  LOCALESRC_en_CA.ISO8859-1 = en_CA.ISO8859-1
                     65:
                     66: LOCALES += en_GB.ISO8859-1
                     67:  LOCALESRC_en_GB.ISO8859-1 = en_GB.ISO8859-1
                     68:
                     69: LOCALES += en_GB.UTF-8
                     70:  LOCALESRC_en_GB.UTF-8 = en_GB.UTF-8
                     71:
                     72: LOCALES += en_IE.UTF-8
                     73:  LOCALESRC_en_IE.UTF-8 = en_IE.UTF-8
                     74:
                     75: LOCALES += en_NZ.ISO8859-1
                     76:  LOCALESRC_en_NZ.ISO8859-1 = en_NZ.ISO8859-1
                     77:
                     78: LOCALES += en_US.ISO8859-1
                     79:  LOCALESRC_en_US.ISO8859-1 = en_US.ISO8859-1
                     80:
                     81: LOCALES += es_ES.ISO8859-1
                     82:  LOCALESRC_es_ES.ISO8859-1 = es_ES.ISO8859-1
                     83:
                     84: LOCALES += et_EE.ISO8859-15
                     85:  LOCALESRC_et_EE.ISO8859-15 = et_EE.ISO8859-15
                     86:
                     87: LOCALES += fi_FI.ISO8859-1
                     88:  LOCALESRC_fi_FI.ISO8859-1 = fi_FI.ISO8859-1
                     89:
                     90: LOCALES += fr_BE.ISO8859-1
                     91:  LOCALESRC_fr_BE.ISO8859-1 = fr_BE.ISO8859-1
                     92:
                     93: LOCALES += fr_CA.ISO8859-1
                     94:  LOCALESRC_fr_CA.ISO8859-1 = fr_CA.ISO8859-1
                     95:
                     96: LOCALES += fr_FR.ISO8859-1
                     97:  LOCALESRC_fr_FR.ISO8859-1 = fr_FR.ISO8859-1
                     98:
                     99: LOCALES += he_IL.UTF-8
                    100:  LOCALESRC_he_IL.UTF-8 = he_IL.UTF-8
                    101:
1.4     ! ginsbach  102: # XXX codeset not yet supported by LC_TYPE and iconv(3)
        !           103: #LOCALES += hi_IN.ISCII-DEV
        !           104: # LOCALESRC_hi_IN.ISCII-DEV = hi_IN.ISCII-DEV
1.1       ginsbach  105:
                    106: LOCALES += hr_HR.ISO8859-2
                    107:  LOCALESRC_hr_HR.ISO8859-2 = hr_HR.ISO8859-2
                    108:
                    109: LOCALES += hu_HU.ISO8859-2
                    110:  LOCALESRC_hu_HU.ISO8859-2 = hu_HU.ISO8859-2
                    111:
                    112: LOCALES += hy_AM.ARMSCII-8
                    113:  LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
                    114:
                    115: LOCALES += hy_AM.UTF-8
                    116:  LOCALESRC_hy_AM.UTF-8 = hy_AM.UTF-8
                    117:
                    118: LOCALES += is_IS.ISO8859-1
                    119:  LOCALESRC_is_IS.ISO8859-1 = is_IS.ISO8859-1
                    120:
                    121: LOCALES += it_IT.ISO8859-1
                    122:  LOCALESRC_it_IT.ISO8859-1 = it_IT.ISO8859-1
                    123:
                    124: LOCALES += ja_JP.UTF-8
                    125:  LOCALESRC_ja_JP.UTF-8 = ja_JP.UTF-8
                    126:
                    127: LOCALES += ja_JP.eucJP
                    128:  LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
                    129:
                    130: LOCALES += kk_KZ.PT154
                    131:  LOCALESRC_kk_KZ.PT154 = kk_KZ.PT154
                    132:
                    133: LOCALES += kk_KZ.UTF-8
                    134:  LOCALESRC_kk_KZ.UTF-8 = kk_KZ.UTF-8
                    135:
                    136: LOCALES += ko_KR.UTF-8
                    137:  LOCALESRC_ko_KR.UTF-8 = ko_KR.UTF-8
                    138:
                    139: LOCALES += ko_KR.eucKR
                    140:  LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
                    141:
                    142: LOCALES += lt_LT.ISO8859-13
                    143:  LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
                    144:
                    145: LOCALES += mn_MN.UTF-8
                    146:  LOCALESRC_mn_MN.UTF-8 = mn_MN.UTF-8
                    147:
                    148: LOCALES += nl_BE.ISO8859-1
                    149:  LOCALESRC_nl_BE.ISO8859-1 = nl_BE.ISO8859-1
                    150:
                    151: LOCALES += nl_NL.ISO8859-1
                    152:  LOCALESRC_nl_NL.ISO8859-1 = nl_NL.ISO8859-1
                    153:
                    154: LOCALES += no_NO.ISO8859-1
                    155:  LOCALESRC_no_NO.ISO8859-1 = no_NO.ISO8859-1
                    156:
                    157: LOCALES += pl_PL.ISO8859-2
                    158:  LOCALESRC_pl_PL.ISO8859-2 = pl_PL.ISO8859-2
                    159:
                    160: LOCALES += pl_PL.UTF-8
                    161:  LOCALESRC_pl_PL.UTF-8 = pl_PL.UTF-8
                    162:
                    163: LOCALES += pt_BR.ISO8859-1
                    164:  LOCALESRC_pt_BR.ISO8859-1 = pt_BR.ISO8859-1
                    165:
                    166: LOCALES += pt_PT.ISO8859-1
                    167:  LOCALESRC_pt_PT.ISO8859-1 = pt_PT.ISO8859-1
                    168:
                    169: LOCALES += ro_RO.ISO8859-2
                    170:  LOCALESRC_ro_RO.ISO8859-2 = ro_RO.ISO8859-2
                    171:
                    172: LOCALES += ru_RU.CP1251
                    173:  LOCALESRC_ru_RU.CP1251 = ru_RU.CP1251
                    174:
                    175: LOCALES += ru_RU.CP866
                    176:  LOCALESRC_ru_RU.CP866 = ru_RU.CP866
                    177:
                    178: LOCALES += ru_RU.ISO8859-5
                    179:  LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO8859-5
                    180:
                    181: LOCALES += ru_RU.KOI8-R
                    182:  LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R
                    183:
                    184: LOCALES += ru_RU.UTF-8
                    185:  LOCALESRC_ru_RU.UTF-8 = ru_RU.UTF-8
                    186:
                    187: LOCALES += sk_SK.ISO8859-2
                    188:  LOCALESRC_sk_SK.ISO8859-2 = sk_SK.ISO8859-2
                    189:
                    190: LOCALES += sl_SI.ISO8859-2
                    191:  LOCALESRC_sl_SI.ISO8859-2 = sl_SI.ISO8859-2
                    192:
                    193: LOCALES += sr_YU.ISO8859-2
                    194:  LOCALESRC_sr_YU.ISO8859-2 = sr_YU.ISO8859-2
                    195:
                    196: LOCALES += sr_YU.ISO8859-5
                    197:  LOCALESRC_sr_YU.ISO8859-5 = sr_YU.ISO8859-5
                    198:
                    199: LOCALES += sr_YU.UTF-8
                    200:  LOCALESRC_sr_YU.UTF-8 = sr_YU.UTF-8
                    201:
                    202: LOCALES += sv_SE.ISO8859-1
                    203:  LOCALESRC_sv_SE.ISO8859-1 = sv_SE.ISO8859-1
                    204:
                    205: LOCALES += tr_TR.ISO8859-9
                    206:  LOCALESRC_tr_TR.ISO8859-9 = tr_TR.ISO8859-9
                    207:
                    208: LOCALES += uk_UA.CP1251
                    209:  LOCALESRC_uk_UA.CP1251 = uk_UA.CP1251
                    210:
                    211: LOCALES += uk_UA.ISO8859-5
                    212:  LOCALESRC_uk_UA.ISO8859-5 = uk_UA.ISO8859-5
                    213:
                    214: LOCALES += uk_UA.KOI8-U
                    215:  LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
                    216:
                    217: LOCALES += uk_UA.UTF-8
                    218:  LOCALESRC_uk_UA.UTF-8 = uk_UA.UTF-8
                    219:
                    220: LOCALES += zh_CN.GB18030
                    221:  LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030
                    222:
                    223: LOCALES += zh_CN.UTF-8
                    224:  LOCALESRC_zh_CN.UTF-8 = zh_CN.UTF-8
                    225:
                    226: LOCALES += zh_CN.eucCN
                    227:  LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
                    228:
                    229: LOCALES += zh_HK.UTF-8
                    230:  LOCALESRC_zh_HK.UTF-8 = zh_HK.UTF-8
                    231:
                    232: LOCALES += zh_TW.Big5
                    233:  LOCALESRC_zh_TW.Big5 = zh_TW.Big5
                    234:
                    235: all: ${LOCALES:S/$/.out/g}
                    236: realall: ${LOCALES:S/$/.out/g}
                    237:
                    238: .for locale in ${LOCALES}
                    239: LOCALESRCS+=   ${LOCALESRC_${locale}}
                    240: .endfor
                    241: CLEANFILES+=   ${LOCALES:S/$/.out/g}
                    242:
                    243: # TODO: more use of symlinks?
                    244: FILES=         ${LOCALES:S/$/.out/g}
                    245: .for locale in ${LOCALES}
                    246: FILESDIR_${locale}.out=        ${LOCALEDIR}/${locale}
                    247: FILESNAME_${locale}.out=       LC_MONETARY
                    248: .endfor
                    249:
                    250: # dependencies
                    251: .for locale in ${LOCALES}
                    252: ${locale}.out: ${LOCALESRC_${locale}}.src
                    253:        ${_MKTARGET_CREATE}
1.2       ginsbach  254:        ${TOOL_SED} -e '/^#/d' ${.CURDIR}/${LOCALESRC_${locale}}.src > ${.TARGET}
1.1       ginsbach  255: .endfor
                    256:
                    257: .SUFFIXES: .src .out
                    258: .src.out:
                    259:        ${_MKTARGET_CREATE}
1.2       ginsbach  260:        ${TOOL_SED} -e '/^#/d' ${.IMPSRC} > ${.TARGET}
1.1       ginsbach  261:
                    262: # does not work
                    263: #depend:
                    264: #      ${MKDEP} -a ${MKDEPFLAGS} \
                    265: #           ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
                    266: #           ${LOCALESRC:S/$/.src/g:S/^/${.CURDIR}\//g}
                    267:
                    268: .include <bsd.prog.mk>

CVSweb <webmaster@jp.NetBSD.org>