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

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

Revision 1.1, Thu Jun 15 15:34:20 2006 UTC (15 years, 11 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, 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

added iconv support for georgian-ps, georgian-academy.

# $NetBSD: Makefile.inc,v 1.1 2006/06/15 15:34:20 tnozaki Exp $

.PATH: ${.CURDIR}/GEORGIAN

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

mapper.dir.GEORGIAN: ${.CURDIR}/GEORGIAN/GEORGIAN.part
	${_MKTARGET_CREATE}
	(\
	    echo "# GEORGIAN";\
	    for i in ${PART_GEORGIAN}; do \
		f=`echo $$i | sed 's/:/@/'`; \
		printf '%-32s%-16s%s\n' GEORGIAN-$$i'/UCS' \
		    mapper_std GEORGIAN/GEORGIAN-$$f'%UCS.mps';\
		printf '%-32s%-16s%s\n' UCS/GEORGIAN-$$i \
		    mapper_std GEORGIAN/UCS%GEORGIAN-$$f'.mps';\
	    done;\
	    echo;\
	) > ${.TARGET}

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

.for i in ${PART_GEORGIAN}
FILES+=		GEORGIAN-${i:S/:/@/}%UCS.mps UCS%GEORGIAN-${i:S/:/@/}.mps
CLEANFILES+=	GEORGIAN-${i:S/:/@/}%UCS.mps UCS%GEORGIAN-${i:S/:/@/}.mps
FILESDIR_GEORGIAN-${i:S/:/@/}%UCS.mps=	${BINDIR}/GEORGIAN
FILESDIR_UCS%GEORGIAN-${i:S/:/@/}.mps=	${BINDIR}/GEORGIAN
.endfor