323 lines
7.0 KiB
Makefile
323 lines
7.0 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2008/06/04 13:19:31 ginsbach Exp $
|
|
|
|
NOMAN= # defined
|
|
|
|
# pull LOCALEDIR and other declarations
|
|
.include <bsd.own.mk>
|
|
|
|
FILESOWN= ${LOCALEOWN}
|
|
FILESGRP= ${LOCALEGRP}
|
|
FILESMODE= ${LOCALEMODE}
|
|
|
|
LOCALES += am_ET.UTF-8
|
|
LOCALESRC_am_ET.UTF-8 = am_ET.UTF-8
|
|
|
|
LOCALES += be_BY.CP1131
|
|
LOCALESRC_be_BY.CP1131 = be_BY.CP1131
|
|
|
|
LOCALES += be_BY.CP1251
|
|
LOCALESRC_be_BY.CP1251 = be_BY.CP1251
|
|
|
|
LOCALES += be_BY.ISO8859-5
|
|
LOCALESRC_be_BY.ISO8859-5 = be_BY.ISO8859-5
|
|
|
|
LOCALES += be_BY.UTF-8
|
|
LOCALESRC_be_BY.UTF-8 = be_BY.UTF-8
|
|
|
|
LOCALES += bg_BG.CP1251
|
|
LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
|
|
|
|
LOCALES += bg_BG.UTF-8
|
|
LOCALESRC_bg_BG.UTF-8 = bg_BG.UTF-8
|
|
|
|
LOCALES += ca_ES.ISO8859-1
|
|
LOCALESRC_ca_ES.ISO8859-1 = ca_ES.ISO8859-1
|
|
|
|
LOCALES += ca_ES.UTF-8
|
|
LOCALESRC_ca_ES.UTF-8 = ca_ES.UTF-8
|
|
|
|
LOCALES += cs_CZ.ISO8859-2
|
|
LOCALESRC_cs_CZ.ISO8859-2 = cs_CZ.ISO8859-2
|
|
|
|
LOCALES += cs_CZ.UTF-8
|
|
LOCALESRC_cs_CZ.UTF-8 = cs_CZ.UTF-8
|
|
|
|
LOCALES += da_DK.ISO8859-1
|
|
LOCALESRC_da_DK.ISO8859-1 = da_DK.ISO8859-1
|
|
|
|
LOCALES += da_DK.UTF-8
|
|
LOCALESRC_da_DK.UTF-8 = da_DK.UTF-8
|
|
|
|
LOCALES += de_AT.ISO8859-1
|
|
LOCALESRC_de_AT.ISO8859-1 = de_AT.ISO8859-1
|
|
|
|
LOCALES += de_AT.UTF-8
|
|
LOCALESRC_de_AT.UTF-8 = de_AT.UTF-8
|
|
|
|
LOCALES += de_DE.ISO8859-1
|
|
LOCALESRC_de_DE.ISO8859-1 = de_DE.ISO8859-1
|
|
|
|
LOCALES += de_DE.UTF-8
|
|
LOCALESRC_de_DE.UTF-8 = de_DE.UTF-8
|
|
|
|
LOCALES += el_GR.ISO8859-7
|
|
LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
|
|
|
|
LOCALES += el_GR.UTF-8
|
|
LOCALESRC_el_GR.UTF-8 = el_GR.UTF-8
|
|
|
|
LOCALES += en_GB.ISO8859-1
|
|
LOCALESRC_en_GB.ISO8859-1 = en_GB.ISO8859-1
|
|
|
|
LOCALES += en_US.ISO8859-1
|
|
LOCALESRC_en_US.ISO8859-1 = en_US.ISO8859-1
|
|
|
|
LOCALES += es_ES.ISO8859-1
|
|
LOCALESRC_es_ES.ISO8859-1 = es_ES.ISO8859-1
|
|
|
|
LOCALES += es_ES.UTF-8
|
|
LOCALESRC_es_ES.UTF-8 = es_ES.UTF-8
|
|
|
|
LOCALES += et_EE.ISO8859-15
|
|
LOCALESRC_et_EE.ISO8859-15 = et_EE.ISO8859-15
|
|
|
|
LOCALES += et_EE.UTF-8
|
|
LOCALESRC_et_EE.UTF-8 = et_EE.UTF-8
|
|
|
|
LOCALES += eu_ES.ISO8859-1
|
|
LOCALESRC_eu_ES.ISO8859-1 = eu_ES.ISO8859-1
|
|
|
|
LOCALES += fi_FI.ISO8859-1
|
|
LOCALESRC_fi_FI.ISO8859-1 = fi_FI.ISO8859-1
|
|
|
|
LOCALES += fi_FI.UTF-8
|
|
LOCALESRC_fi_FI.UTF-8 = fi_FI.UTF-8
|
|
|
|
LOCALES += fr_FR.ISO8859-1
|
|
LOCALESRC_fr_FR.ISO8859-1 = fr_FR.ISO8859-1
|
|
|
|
LOCALES += fr_FR.UTF-8
|
|
LOCALESRC_fr_FR.UTF-8 = fr_FR.UTF-8
|
|
|
|
LOCALES += he_IL.UTF-8
|
|
LOCALESRC_he_IL.UTF-8 = he_IL.UTF-8
|
|
|
|
# XXX codeset not yet supported by LC_TYPE and iconv(3)
|
|
#LOCALES += hi_IN.ISCII-DEV
|
|
# LOCALESRC_hi_IN.ISCII-DEV = hi_IN.ISCII-DEV
|
|
|
|
LOCALES += hr_HR.ISO8859-2
|
|
LOCALESRC_hr_HR.ISO8859-2 = hr_HR.ISO8859-2
|
|
|
|
LOCALES += hr_HR.UTF-8
|
|
LOCALESRC_hr_HR.UTF-8 = hr_HR.UTF-8
|
|
|
|
LOCALES += hu_HU.ISO8859-2
|
|
LOCALESRC_hu_HU.ISO8859-2 = hu_HU.ISO8859-2
|
|
|
|
LOCALES += hu_HU.UTF-8
|
|
LOCALESRC_hu_HU.UTF-8 = hu_HU.UTF-8
|
|
|
|
LOCALES += hy_AM.ARMSCII-8
|
|
LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
|
|
|
|
LOCALES += hy_AM.UTF-8
|
|
LOCALESRC_hy_AM.UTF-8 = hy_AM.UTF-8
|
|
|
|
LOCALES += is_IS.ISO8859-1
|
|
LOCALESRC_is_IS.ISO8859-1 = is_IS.ISO8859-1
|
|
|
|
LOCALES += is_IS.UTF-8
|
|
LOCALESRC_is_IS.UTF-8 = is_IS.UTF-8
|
|
|
|
LOCALES += it_IT.ISO8859-1
|
|
LOCALESRC_it_IT.ISO8859-1 = it_IT.ISO8859-1
|
|
|
|
LOCALES += it_IT.UTF-8
|
|
LOCALESRC_it_IT.UTF-8 = it_IT.UTF-8
|
|
|
|
LOCALES += ja_JP.SJIS
|
|
LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
|
|
|
|
LOCALES += ja_JP.UTF-8
|
|
LOCALESRC_ja_JP.UTF-8 = ja_JP.UTF-8
|
|
|
|
LOCALES += ja_JP.eucJP
|
|
LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
|
|
|
|
LOCALES += kk_KZ.PT154
|
|
LOCALESRC_kk_KZ.PT154 = kk_KZ.PT154
|
|
|
|
LOCALES += kk_KZ.UTF-8
|
|
LOCALESRC_kk_KZ.UTF-8 = kk_KZ.UTF-8
|
|
|
|
LOCALES += ko_KR.UTF-8
|
|
LOCALESRC_ko_KR.UTF-8 = ko_KR.UTF-8
|
|
|
|
LOCALES += ko_KR.eucKR
|
|
LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
|
|
|
|
LOCALES += la_LN.ISO8859-1
|
|
LOCALESRC_la_LN.ISO8859-1 = la_LN.ISO8859-1
|
|
|
|
LOCALES += lt_LT.ISO8859-13
|
|
LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
|
|
|
|
LOCALES += lt_LT.ISO8859-4
|
|
LOCALESRC_lt_LT.ISO8859-4 = lt_LT.ISO8859-4
|
|
|
|
LOCALES += lt_LT.UTF-8
|
|
LOCALESRC_lt_LT.UTF-8 = lt_LT.UTF-8
|
|
|
|
LOCALES += mn_MN.UTF-8
|
|
LOCALESRC_mn_MN.UTF-8 = mn_MN.UTF-8
|
|
|
|
LOCALES += nl_NL.ISO8859-1
|
|
LOCALESRC_nl_NL.ISO8859-1 = nl_NL.ISO8859-1
|
|
|
|
LOCALES += nn_NO.ISO8859-1
|
|
LOCALESRC_nn_NO.ISO8859-1 = nn_NO.ISO8859-1
|
|
|
|
LOCALES += nn_NO.UTF-8
|
|
LOCALESRC_nn_NO.UTF-8 = nn_NO.UTF-8
|
|
|
|
LOCALES += no_NO.ISO8859-1
|
|
LOCALESRC_no_NO.ISO8859-1 = no_NO.ISO8859-1
|
|
|
|
LOCALES += no_NO.UTF-8
|
|
LOCALESRC_no_NO.UTF-8 = no_NO.UTF-8
|
|
|
|
LOCALES += pl_PL.ISO8859-2
|
|
LOCALESRC_pl_PL.ISO8859-2 = pl_PL.ISO8859-2
|
|
|
|
LOCALES += pl_PL.UTF-8
|
|
LOCALESRC_pl_PL.UTF-8 = pl_PL.UTF-8
|
|
|
|
LOCALES += pt_BR.ISO8859-1
|
|
LOCALESRC_pt_BR.ISO8859-1 = pt_BR.ISO8859-1
|
|
|
|
LOCALES += pt_BR.UTF-8
|
|
LOCALESRC_pt_BR.UTF-8 = pt_BR.UTF-8
|
|
|
|
LOCALES += pt_PT.ISO8859-1
|
|
LOCALESRC_pt_PT.ISO8859-1 = pt_PT.ISO8859-1
|
|
|
|
LOCALES += pt_PT.UTF-8
|
|
LOCALESRC_pt_PT.UTF-8 = pt_PT.UTF-8
|
|
|
|
LOCALES += ro_RO.ISO8859-2
|
|
LOCALESRC_ro_RO.ISO8859-2 = ro_RO.ISO8859-2
|
|
|
|
LOCALES += ro_RO.UTF-8
|
|
LOCALESRC_ro_RO.UTF-8 = ro_RO.UTF-8
|
|
|
|
LOCALES += ru_RU.CP1251
|
|
LOCALESRC_ru_RU.CP1251 = ru_RU.CP1251
|
|
|
|
LOCALES += ru_RU.CP866
|
|
LOCALESRC_ru_RU.CP866 = ru_RU.CP866
|
|
|
|
LOCALES += ru_RU.ISO8859-5
|
|
LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO8859-5
|
|
|
|
LOCALES += ru_RU.KOI8-R
|
|
LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R
|
|
|
|
LOCALES += ru_RU.UTF-8
|
|
LOCALESRC_ru_RU.UTF-8 = ru_RU.UTF-8
|
|
|
|
LOCALES += sk_SK.ISO8859-2
|
|
LOCALESRC_sk_SK.ISO8859-2 = sk_SK.ISO8859-2
|
|
|
|
LOCALES += sk_SK.UTF-8
|
|
LOCALESRC_sk_SK.UTF-8 = sk_SK.UTF-8
|
|
|
|
LOCALES += sl_SI.ISO8859-2
|
|
LOCALESRC_sl_SI.ISO8859-2 = sl_SI.ISO8859-2
|
|
|
|
LOCALES += sl_SI.UTF-8
|
|
LOCALESRC_sl_SI.UTF-8 = sl_SI.UTF-8
|
|
|
|
LOCALES += sr_YU.ISO8859-2
|
|
LOCALESRC_sr_YU.ISO8859-2 = sr_YU.ISO8859-2
|
|
|
|
LOCALES += sr_YU.ISO8859-5
|
|
LOCALESRC_sr_YU.ISO8859-5 = sr_YU.ISO8859-5
|
|
|
|
LOCALES += sr_YU.UTF-8
|
|
LOCALESRC_sr_YU.UTF-8 = sr_YU.UTF-8
|
|
|
|
LOCALES += sv_SE.ISO8859-1
|
|
LOCALESRC_sv_SE.ISO8859-1 = sv_SE.ISO8859-1
|
|
|
|
LOCALES += sv_SE.UTF-8
|
|
LOCALESRC_sv_SE.UTF-8 = sv_SE.UTF-8
|
|
|
|
LOCALES += tr_TR.ISO8859-9
|
|
LOCALESRC_tr_TR.ISO8859-9 = tr_TR.ISO8859-9
|
|
|
|
LOCALES += tr_TR.UTF-8
|
|
LOCALESRC_tr_TR.UTF-8 = tr_TR.UTF-8
|
|
|
|
LOCALES += uk_UA.CP1251
|
|
LOCALESRC_uk_UA.CP1251 = uk_UA.CP1251
|
|
|
|
LOCALES += uk_UA.ISO8859-5
|
|
LOCALESRC_uk_UA.ISO8859-5 = uk_UA.ISO8859-5
|
|
|
|
LOCALES += uk_UA.KOI8-U
|
|
LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
|
|
|
|
LOCALES += uk_UA.UTF-8
|
|
LOCALESRC_uk_UA.UTF-8 = uk_UA.UTF-8
|
|
|
|
LOCALES += zh_CN.GB18030
|
|
LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030
|
|
|
|
LOCALES += zh_CN.UTF-8
|
|
LOCALESRC_zh_CN.UTF-8 = zh_CN.UTF-8
|
|
|
|
LOCALES += zh_CN.eucCN
|
|
LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
|
|
|
|
LOCALES += zh_TW.Big5
|
|
LOCALESRC_zh_TW.Big5 = zh_TW.Big5
|
|
|
|
LOCALES += zh_TW.UTF-8
|
|
LOCALESRC_zh_TW.UTF-8 = zh_TW.UTF-8
|
|
|
|
all: ${LOCALES:S/$/.out/g}
|
|
realall: ${LOCALES:S/$/.out/g}
|
|
|
|
.for locale in ${LOCALES}
|
|
LOCALESRCS+= ${LOCALESRC_${locale}}
|
|
.endfor
|
|
CLEANFILES+= ${LOCALES:S/$/.out/g}
|
|
|
|
# TODO: more use of symlinks?
|
|
FILES= ${LOCALES:S/$/.out/g}
|
|
.for locale in ${LOCALES}
|
|
FILESDIR_${locale}.out= ${LOCALEDIR}/${locale}
|
|
FILESNAME_${locale}.out= LC_TIME
|
|
.endfor
|
|
|
|
# dependencies
|
|
.for locale in ${LOCALES}
|
|
${locale}.out: ${LOCALESRC_${locale}}.src
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_SED} -e '/^#/d' ${.CURDIR}/${LOCALESRC_${locale}}.src > ${.TARGET}
|
|
.endfor
|
|
|
|
.SUFFIXES: .src .out
|
|
.src.out:
|
|
${_MKTARGET_CREATE}
|
|
${TOOL_SED} -e '/^#/d' ${.IMPSRC} > ${.TARGET}
|
|
|
|
# does not work
|
|
#depend:
|
|
# ${MKDEP} -a ${MKDEPFLAGS} \
|
|
# ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
|
|
# ${LOCALESRC:S/$/.src/g:S/^/${.CURDIR}\//g}
|
|
|
|
.include <bsd.prog.mk>
|