[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / i18n / csmapper / AST

File: [cvs.NetBSD.org] / src / share / i18n / csmapper / AST / Makefile.inc (download)

Revision 1.1, Sat Apr 1 04:13:21 2006 UTC (16 years, 1 month 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, 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, abandoned-netbsd-4-base, abandoned-netbsd-4

add iconv support for Armenian State Standard encoding:
	ARMSCII-7, ARMSCII-8, ARMSCII-8A

# $NetBSD: Makefile.inc,v 1.1 2006/04/01 04:13:21 tnozaki Exp $

.PATH: ${.CURDIR}/AST

SRCS_mapper.dir+=	mapper.dir.AST
SRCS_charset.pivot+=	charset.pivot.AST
CLEANFILES+=		mapper.dir.AST charset.pivot.AST
PART_ARMSCII!=		sed '/^\#/d;/^$$/d;' ${.CURDIR}/AST/ARMSCII.part

.for i in ${PART_ARMSCII}
.if exists(${.CURDIR}/AST/ARMSCII-$i%UCS.src)
FILES+=				ARMSCII-$i%UCS.mps
CLEANFILES+=			ARMSCII-$i%UCS.mps
FILESDIR_ARMSCII-$i%UCS.mps=	${BINDIR}/AST
.endif
.if exists(${.CURDIR}/AST/UCS%ARMSCII-$i.src)
FILES+=				UCS%ARMSCII-$i.mps
CLEANFILES+=			UCS%ARMSCII-$i.mps
FILESDIR_UCS%ARMSCII-$i.mps=	${BINDIR}/AST
.endif
.endfor

mapper.dir.AST: ${.CURDIR}/AST/ARMSCII.part
	${_MKTARGET_CREATE}
	( \
	    echo "# AST"; \
	    for i in ${PART_ARMSCII}; do \
		printf "%-32s%-32s%s\n" ARMSCII-$$i/UCS mapper_std \
		    AST/ARMSCII-$$i%UCS.mps; \
		printf "%-32s%-32s%s\n" UCS/ARMSCII-$$i mapper_std \
		    AST/UCS%ARMSCII-$$i.mps; \
	    done; \
	    echo; \
	) > ${.TARGET}

charset.pivot.AST: ${.CURDIR}/AST/ARMSCII.part
	${_MKTARGET_CREATE}
	( \
	    echo "# AST"; \
	    for i in ${PART_ARMSCII}; do \
		printf "%-32s%-32s%d\n" ARMSCII-$$i UCS 1; \
		printf "%-32s%-32s%d\n" UCS ARMSCII-$$i 1; \
	    done; \
	    echo; \
	) > ${.TARGET}