1 # $NetBSD: Makefile.inc,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
5 SRCS_mapper.dir+= mapper.dir.KOI
6 SRCS_charset.pivot+= charset.pivot.KOI
7 CLEANFILES+= mapper.dir.KOI charset.pivot.KOI
8 MAPS_KOI= GOST19768-74%UCS.mps \
14 PART_KOI8!= ${TOOL_SED} '/^\#/d;/^$$/d;' ${.CURDIR}/KOI/KOI8.part
16 mapper.dir.KOI: ${.CURDIR}/KOI/KOI8.part mapper.dir.KOI.src
19 cat ${.CURDIR}/KOI/mapper.dir.KOI.src; \
20 for i in ${PART_KOI8}; do \
21 printf "%-31s %-31s %s\n" KOI$$i"EXT/UCS" \
22 mapper_std KOI/KOI$$i"%UCS.mps"; \
23 printf "%-31s %-31s %s\n" UCS/KOI$$i"EXT" \
24 mapper_std KOI/UCS%KOI$$i".mps"; \
26 for i in ${PART_KOI8}; do \
27 printf "%-31s %-31s %s\n" KOI$$i"/UCS" \
28 mapper_parallel GOST19768-74/UCS,KOI$$i"EXT/UCS"; \
29 printf "%-31s %-31s %s\n" UCS/KOI$$i \
30 mapper_parallel UCS/GOST19768-74,UCS/KOI$$i"EXT"; \
35 charset.pivot.KOI: ${.CURDIR}/KOI/KOI8.part charset.pivot.KOI.src
38 cat ${.CURDIR}/KOI/charset.pivot.KOI.src; \
39 for i in ${PART_KOI8}; do \
40 printf "%-31s %-31s%d\n" KOI$$i UCS 1; \
41 printf "%-31s %-31s%d\n" UCS KOI$$i 1; \
47 CLEANFILES+= ${MAPS_KOI}
49 FILESDIR_$i= ${BINDIR}/KOI
52 .for i in ${PART_KOI8}
53 FILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
54 CLEANFILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
55 FILESDIR_KOI${i:S/:/@/}%UCS.mps= ${BINDIR}/KOI
56 FILESDIR_UCS%KOI${i:S/:/@/}.mps= ${BINDIR}/KOI