1# $FreeBSD$ 2# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $ 3 4CODE= KOI 5PARTFILE= ${.CURDIR}/KOI8.part 6 7MAPS= GOST19768-74%UCS.mps ISO-5427%UCS.mps KOI7%UCS.mps KOI8%UCS.mps \ 8 KOI8-C%UCS.mps KOI8-CyrillicOld%UCS.mps KOI8-E%UCS.mps KOI8-R%UCS.mps \ 9 KOI8-RU%UCS.mps KOI8-T%UCS.mps KOI8-U%UCS.mps UCS%GOST19768-74.mps \ 10 UCS%ISO-5427.mps UCS%KOI7.mps UCS%KOI8-C.mps UCS%KOI8-CyrillicOld.mps \ 11 UCS%KOI8-E.mps UCS%KOI8-R.mps UCS%KOI8-RU.mps UCS%KOI8-T.mps \ 12 UCS%KOI8-U.mps UCS%KOI8.mps 13 14mapper.dir.KOI: KOI8.part mapper.dir.KOI.src 15 ( \ 16 cat ${.CURDIR}/mapper.dir.KOI.src; \ 17 for i in ${PART}; do \ 18 printf "%-31s %-31s %s\n" KOI$$i"EXT/UCS" \ 19 mapper_std KOI/KOI$$i"%UCS.mps"; \ 20 printf "%-31s %-31s %s\n" UCS/KOI$$i"EXT" \ 21 mapper_std KOI/UCS%KOI$$i".mps"; \ 22 done; \ 23 for i in ${PART}; do \ 24 printf "%-31s %-31s %s\n" KOI$$i"/UCS" \ 25 mapper_parallel GOST19768-74/UCS,KOI$$i"EXT/UCS"; \ 26 printf "%-31s %-31s %s\n" UCS/KOI$$i \ 27 mapper_parallel UCS/GOST19768-74,UCS/KOI$$i"EXT"; \ 28 done; \ 29 echo; \ 30 ) > ${.TARGET} 31 32charset.pivot.KOI: KOI8.part charset.pivot.KOI.src 33 ( \ 34 cat ${.CURDIR}/charset.pivot.KOI.src; \ 35 for i in ${PART}; do \ 36 printf "%-31s %-31s%d\n" KOI$$i UCS 1; \ 37 printf "%-31s %-31s%d\n" UCS KOI$$i 1; \ 38 done; \ 39 echo; \ 40 ) > ${.TARGET} 41 42.include "../Makefile.part" 43