1# $NetBSD: src/share/i18n/csmapper/CP/Makefile.inc,v 1.3 2003/10/21 10:01:20 lukem Exp $ 2# $DragonFly: src/share/i18n/csmapper/CP/Makefile.inc,v 1.1 2005/03/10 16:19:18 joerg Exp $ 3 4.PATH: ${.CURDIR}/CP 5 6SRCS_mapper.dir+= mapper.dir.CP 7SRCS_charset.pivot+= charset.pivot.CP 8CLEANFILES+= mapper.dir.CP charset.pivot.CP 9PART_CP!= sed '/^\#/d;/^$$/d;' ${.CURDIR}/CP/CP.part 10 11mapper.dir.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/mapper.dir.CP.src 12 ${_MKTARGET_CREATE} 13 (\ 14 echo "# CP";\ 15 for i in ${PART_CP}; do \ 16 printf '%-32s%-16s%s\n' CP$$i'/UCS' \ 17 mapper_std CP/CP$$i'%UCS.mps';\ 18 printf '%-32s%-16s%s\n' UCS/CP$$i \ 19 mapper_std CP/UCS%CP$$i'.mps';\ 20 done;\ 21 cat ${.CURDIR}/CP/mapper.dir.CP.src;\ 22 echo;\ 23 ) > ${.TARGET} 24 25charset.pivot.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/charset.pivot.CP.src 26 ${_MKTARGET_CREATE} 27 (\ 28 echo "# CP";\ 29 for i in ${PART_CP}; do \ 30 printf "%-32s%-32s%d\n" CP$$i UCS 1;\ 31 printf "%-32s%-32s%d\n" UCS CP$$i 1;\ 32 done;\ 33 cat ${.CURDIR}/CP/charset.pivot.CP.src;\ 34 echo;\ 35 ) > ${.TARGET} 36 37.for i in ${PART_CP} 38FILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps 39CLEANFILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps 40FILESDIR_CP${i:S/:/@/}%UCS.mps= ${BINDIR}/CP 41FILESDIR_UCS%CP${i:S/:/@/}.mps= ${BINDIR}/CP 42.endfor 43