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