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

File: [cvs.NetBSD.org] / src / share / locale / monetary / Makefile (download)

Revision 1.4.2.2, Wed Sep 24 04:45:51 2008 UTC (12 years, 2 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.4.2.1: +268 -0 lines

Add files missed in sync with head

# $NetBSD: Makefile,v 1.4.2.2 2008/09/24 04:45:51 wrstuden Exp $

NOMAN=		# defined

# pull LOCALEDIR and other declarations
.include <bsd.own.mk>

FILESOWN=	${LOCALEOWN}
FILESGRP=	${LOCALEGRP}
FILESMODE=	${LOCALEMODE}

LOCALES += af_ZA.ISO8859-1
 LOCALESRC_af_ZA.ISO8859-1 = af_ZA.ISO8859-1

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 += 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 += de_AT.ISO8859-1
 LOCALESRC_de_AT.ISO8859-1 = de_AT.ISO8859-1

LOCALES += de_CH.ISO8859-1
 LOCALESRC_de_CH.ISO8859-1 = de_CH.ISO8859-1

LOCALES += de_DE.ISO8859-1
 LOCALESRC_de_DE.ISO8859-1 = de_DE.ISO8859-1

LOCALES += el_GR.ISO8859-7
 LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7

LOCALES += en_AU.ISO8859-1
 LOCALESRC_en_AU.ISO8859-1 = en_AU.ISO8859-1

LOCALES += en_CA.ISO8859-1
 LOCALESRC_en_CA.ISO8859-1 = en_CA.ISO8859-1

LOCALES += en_GB.ISO8859-1
 LOCALESRC_en_GB.ISO8859-1 = en_GB.ISO8859-1

LOCALES += en_GB.UTF-8
 LOCALESRC_en_GB.UTF-8 = en_GB.UTF-8

LOCALES += en_IE.UTF-8
 LOCALESRC_en_IE.UTF-8 = en_IE.UTF-8

LOCALES += en_NZ.ISO8859-1
 LOCALESRC_en_NZ.ISO8859-1 = en_NZ.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 += et_EE.ISO8859-15
 LOCALESRC_et_EE.ISO8859-15 = et_EE.ISO8859-15

LOCALES += fi_FI.ISO8859-1
 LOCALESRC_fi_FI.ISO8859-1 = fi_FI.ISO8859-1

LOCALES += fr_BE.ISO8859-1
 LOCALESRC_fr_BE.ISO8859-1 = fr_BE.ISO8859-1

LOCALES += fr_CA.ISO8859-1
 LOCALESRC_fr_CA.ISO8859-1 = fr_CA.ISO8859-1

LOCALES += fr_FR.ISO8859-1
 LOCALESRC_fr_FR.ISO8859-1 = fr_FR.ISO8859-1

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 += hu_HU.ISO8859-2
 LOCALESRC_hu_HU.ISO8859-2 = hu_HU.ISO8859-2

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 += it_IT.ISO8859-1
 LOCALESRC_it_IT.ISO8859-1 = it_IT.ISO8859-1

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 += lt_LT.ISO8859-13
 LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13

LOCALES += mn_MN.UTF-8
 LOCALESRC_mn_MN.UTF-8 = mn_MN.UTF-8

LOCALES += nl_BE.ISO8859-1
 LOCALESRC_nl_BE.ISO8859-1 = nl_BE.ISO8859-1

LOCALES += nl_NL.ISO8859-1
 LOCALESRC_nl_NL.ISO8859-1 = nl_NL.ISO8859-1

LOCALES += no_NO.ISO8859-1
 LOCALESRC_no_NO.ISO8859-1 = no_NO.ISO8859-1

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_PT.ISO8859-1
 LOCALESRC_pt_PT.ISO8859-1 = pt_PT.ISO8859-1

LOCALES += ro_RO.ISO8859-2
 LOCALESRC_ro_RO.ISO8859-2 = ro_RO.ISO8859-2

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 += sl_SI.ISO8859-2
 LOCALESRC_sl_SI.ISO8859-2 = sl_SI.ISO8859-2

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 += tr_TR.ISO8859-9
 LOCALESRC_tr_TR.ISO8859-9 = tr_TR.ISO8859-9

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_HK.UTF-8
 LOCALESRC_zh_HK.UTF-8 = zh_HK.UTF-8

LOCALES += zh_TW.Big5
 LOCALESRC_zh_TW.Big5 = zh_TW.Big5

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_MONETARY
.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>