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

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

Revision 1.26, Wed Mar 14 15:49:26 2007 UTC (13 years, 5 months ago) by tnozaki
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, mjf-devfs2-base, mjf-devfs2, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.25: +4 -1 lines

add tr_TR.ISO8859-9 locale.

# $NetBSD: Makefile,v 1.26 2007/03/14 15:49:26 tnozaki 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 = en_US.ISO_8859-1

LOCALES += af_ZA.ISO8859-15
 LOCALESRC_af_ZA.ISO8859-15 = en_US.DIS_8859-15

LOCALES += be_BY.CP1251
 LOCALESRC_be_BY.CP1251 = bg_BG.CP1251

LOCALES += be_BY.ISO8859-5
 LOCALESRC_be_BY.ISO8859-5 = ru_RU.ISO_8859-5

LOCALES += bg_BG.CP1251
 LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251

LOCALES += ca_ES.ISO8859-1
 LOCALESRC_ca_ES.ISO8859-1 = en_US.ISO_8859-1

LOCALES += ca_ES.ISO8859-15
 LOCALESRC_ca_ES.ISO8859-15 = en_US.DIS_8859-15

LOCALES += cs_CZ.ISO8859-2
 LOCALESRC_cs_CZ.ISO8859-2 = en_US.ISO_8859-2

LOCALES += da_DK.ISO8859-1
 LOCALESRC_da_DK.ISO8859-1 = en_US.ISO_8859-1

LOCALES += da_DK.ISO8859-15
 LOCALESRC_da_DK.ISO8859-15 = en_US.DIS_8859-15

LOCALES += de_AT.ISO8859-1
 LOCALESRC_de_AT.ISO8859-1 = en_US.ISO_8859-1

LOCALES += de_AT.ISO8859-15
 LOCALESRC_de_AT.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += de_CH.ISO8859-15
 LOCALESRC_de_CH.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += de_DE.ISO8859-15
 LOCALESRC_de_DE.ISO8859-15 = en_US.DIS_8859-15

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_US.ISO_8859-1

LOCALES += en_AU.ISO8859-15
 LOCALESRC_en_AU.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += en_CA.ISO8859-15
 LOCALESRC_en_CA.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += en_GB.ISO8859-15
 LOCALESRC_en_GB.ISO8859-15 = en_US.DIS_8859-15

LOCALES += en_NZ.ISO8859-1
 LOCALESRC_en_NZ.ISO8859-1 = en_US.ISO_8859-1

LOCALES += en_NZ.ISO8859-15
 LOCALESRC_en_NZ.ISO8859-15 = en_US.DIS_8859-15

LOCALES += en_US.ISO8859-1
 LOCALESRC_en_US.ISO8859-1 = en_US.ISO_8859-1

LOCALES += en_US.ISO8859-15
 LOCALESRC_en_US.ISO8859-15 = en_US.DIS_8859-15

LOCALES += en_US.UTF-8
 LOCALESRC_en_US.UTF-8 = en_US.UTF-8

LOCALES += es_ES.ISO8859-1
 LOCALESRC_es_ES.ISO8859-1 = en_US.ISO_8859-1

LOCALES += es_ES.ISO8859-15
 LOCALESRC_es_ES.ISO8859-15 = en_US.DIS_8859-15

LOCALES += et_EE.ISO8859-15
 LOCALESRC_et_EE.ISO8859-15 = en_US.DIS_8859-15

LOCALES += eu_ES.ISO8859-1
 LOCALESRC_eu_ES.ISO8859-1 = en_US.ISO_8859-1

LOCALES += eu_ES.ISO8859-15
 LOCALESRC_eu_ES.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += fi_FI.ISO8859-15
 LOCALESRC_fi_FI.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += fr_BE.ISO8859-15
 LOCALESRC_fr_BE.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += fr_CA.ISO8859-15
 LOCALESRC_fr_CA.ISO8859-15 = en_US.DIS_8859-15

LOCALES += fr_CH.ISO8859-1
 LOCALESRC_fr_CH.ISO8859-1 = en_US.ISO_8859-1

LOCALES += fr_CH.ISO8859-15
 LOCALESRC_fr_CH.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += fr_FR.ISO8859-15
 LOCALESRC_fr_FR.ISO8859-15 = en_US.DIS_8859-15

LOCALES += hr_HR.ISO8859-2
 LOCALESRC_hr_HR.ISO8859-2 = en_US.ISO_8859-2

LOCALES += hu_HU.ISO8859-2
 LOCALESRC_hu_HU.ISO8859-2 = en_US.ISO_8859-2

LOCALES += hy_AM.ARMSCII-8
 LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8

LOCALES += is_IS.ISO8859-1
 LOCALESRC_is_IS.ISO8859-1 = en_US.ISO_8859-1

LOCALES += is_IS.ISO8859-15
 LOCALESRC_is_IS.ISO8859-15 = en_US.DIS_8859-15

LOCALES += it_CH.ISO8859-1
 LOCALESRC_it_CH.ISO8859-1 = en_US.ISO_8859-1

LOCALES += it_CH.ISO8859-15
 LOCALESRC_it_CH.ISO8859-15 = en_US.DIS_8859-15

LOCALES += it_IT.ISO8859-1
 LOCALESRC_it_IT.ISO8859-1 = en_US.ISO_8859-1

LOCALES += it_IT.ISO8859-15
 LOCALESRC_it_IT.ISO8859-15 = en_US.DIS_8859-15

LOCALES += ja_JP.ct
 LOCALESRC_ja_JP.ct = ja_JP.CTEXT

LOCALES += ja_JP.eucJP
 LOCALESRC_ja_JP.eucJP = ja_JP.eucJP

LOCALES += ja_JP.ISO2022-JP
 LOCALESRC_ja_JP.ISO2022-JP = ja_JP.ISO-2022-JP

LOCALES += ja_JP.ISO2022-JP2
 LOCALESRC_ja_JP.ISO2022-JP2 = ja_JP.ISO-2022-JP-2

LOCALES += ja_JP.SJIS
 LOCALESRC_ja_JP.SJIS = ja_JP.SJIS

LOCALES += kk_KZ.PT154
 LOCALESRC_kk_KZ.PT154 = kk_KZ.PT154

LOCALES += ko_KR.eucKR
 LOCALESRC_ko_KR.eucKR = ko_KR.eucKR

LOCALES += lt_LT.ISO8859-4
 LOCALESRC_lt_LT.ISO8859-4 = en_US.ISO_8859-4

LOCALES += lt_LT.ISO8859-13
 LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13

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

LOCALES += nl_BE.ISO8859-15
 LOCALESRC_nl_BE.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += nl_NL.ISO8859-15
 LOCALESRC_nl_NL.ISO8859-15 = en_US.DIS_8859-15

LOCALES += nn_NO.ISO8859-1
 LOCALESRC_nn_NO.ISO8859-1 = en_US.ISO_8859-1

LOCALES += nn_NO.ISO8859-15
 LOCALESRC_nn_NO.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += no_NO.ISO8859-15
 LOCALESRC_no_NO.ISO8859-15 = en_US.DIS_8859-15

LOCALES += pt_BR.ISO8859-1
 LOCALESRC_pt_BR.ISO8859-1 = en_US.ISO_8859-1

LOCALES += pl_PL.ISO8859-2
 LOCALESRC_pl_PL.ISO8859-2 = en_US.ISO_8859-2

LOCALES += pt_PT.ISO8859-1
 LOCALESRC_pt_PT.ISO8859-1 = en_US.ISO_8859-1

LOCALES += pt_PT.ISO8859-15
 LOCALESRC_pt_PT.ISO8859-15 = en_US.DIS_8859-15

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

LOCALES += ru_BY.CP1251
 LOCALESRC_ru_BY.CP1251 = bg_BG.CP1251

LOCALES += ru_RU.CP1251
 LOCALESRC_ru_RU.CP1251 = bg_BG.CP1251

LOCALES += ru_RU.CP866
 LOCALESRC_ru_RU.CP866 = ru_RU.CP866

LOCALES += ru_RU.KOI8-R
 LOCALESRC_ru_RU.KOI8-R = ru_RU.KOI8-R

LOCALES += ru_RU.ISO8859-5
 LOCALESRC_ru_RU.ISO8859-5 = ru_RU.ISO_8859-5

LOCALES += sk_SK.ISO8859-2
 LOCALESRC_sk_SK.ISO8859-2 = en_US.ISO_8859-2

LOCALES += sl_SI.ISO8859-2
 LOCALESRC_sl_SI.ISO8859-2 = en_US.ISO_8859-2

LOCALES += sr_YU.ISO8859-2
 LOCALESRC_sr_YU.ISO8859-2 = en_US.ISO_8859-2

LOCALES += sr_YU.ISO8859-5
 LOCALESRC_sr_YU.ISO8859-5 = ru_RU.ISO_8859-5

LOCALES += sv_SE.ISO8859-1
 LOCALESRC_sv_SE.ISO8859-1 = en_US.ISO_8859-1

LOCALES += sv_SE.ISO8859-15
 LOCALESRC_sv_SE.ISO8859-15 = en_US.DIS_8859-15

LOCALES += tr_TR.ISO8859-9
 LOCALESRC_tr_TR.ISO8859-9 = tr_TR.ISO8859-9

LOCALES += uk_UA.ISO8859-5
 LOCALESRC_uk_UA.ISO8859-5 = ru_RU.ISO_8859-5

LOCALES += uk_UA.CP1251
 LOCALESRC_uk_UA.CP1251 = bg_BG.CP1251

LOCALES += uk_UA.KOI8-U
 LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U

LOCALES += zh_CN.eucCN
 LOCALESRC_zh_CN.eucCN = zh_CN.eucCN

LOCALES += zh_CN.GB18030
 LOCALESRC_zh_CN.GB18030 = zh_CN.GB18030

LOCALES += zh_HK.Big5-HKSCS
 LOCALESRC_zh_HK.Big5-HKSCS = zh_HK.Big5-HKSCS

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

# XXX: EUC-TW is not EUC!
LOCALES += zh_TW.eucTW
 LOCALESRC_zh_TW.eucTW = zh_TW.eucTW

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_CTYPE
.endfor

# dependencies
.for locale in ${LOCALES}
${locale}.out: ${LOCALESRC_${locale}}.src \
		${NETBSDSRCDIR}/lib/libc/locale/runetable.c
	${_MKTARGET_CREATE}
	${CPP} -I${.CURDIR} < ${.CURDIR}/${LOCALESRC_${locale}}.src | \
	    sed -e '/^#/d' | ${TOOL_MKLOCALE} -o ${.TARGET}
.endfor

.SUFFIXES: .src .out
.src.out:
	${_MKTARGET_CREATE}
	${CPP} -I${.CURDIR} < ${.IMPSRC} | sed -e '/^#/d' | \
            ${TOOL_MKLOCALE} -o ${.TARGET}

# does not work
#depend:
#	${MKDEP} -a ${MKDEPFLAGS} \
#	    ${CPPFLAGS:M-[ID]*} ${CPPFLAGS} \
#	    ${LOCALESRCS:S/$/.src/g:S/^/${.CURDIR}\//g}

.include <bsd.prog.mk>