1# $NetBSD: Makefile.inc,v 1.6 2008/10/25 22:35:36 apb Exp $ 2 3CODE= CP 4TABLENAME= ${CODE}%%PART%%%UCS 5RTABLENAME= UCS%${CODE}%%PART%% 6 7mapper.dir.CP: CP.part mapper.dir.CP.src 8 (\ 9 echo "# CP";\ 10 for i in ${PART}; do \ 11 f=`echo $$i | sed 's/:/@/'`; \ 12 printf '%-32s%-16s%s\n' CP$$i'/UCS' \ 13 mapper_std CP/CP$$f'%UCS.mps';\ 14 printf '%-32s%-16s%s\n' UCS/CP$$i \ 15 mapper_std CP/UCS%CP$$f'.mps';\ 16 done;\ 17 cat ${.CURDIR}/mapper.dir.CP.src;\ 18 echo;\ 19 ) > ${.TARGET} 20 21charset.pivot.CP: CP.part charset.pivot.CP.src 22 (\ 23 echo "# CP";\ 24 for i in ${PART}; do \ 25 printf "%-32s%-32s%d\n" CP$$i UCS 1;\ 26 printf "%-32s%-32s%d\n" UCS CP$$i 1;\ 27 done;\ 28 cat ${.CURDIR}/charset.pivot.CP.src;\ 29 echo;\ 30 ) > ${.TARGET} 31 32.include "../Makefile.part" 33