1 # $NetBSD: Makefile.inc,v 1.5 2008/10/25 22:27:35 apb Exp $
5 SRCS_mapper.dir+= mapper.dir.CP
6 SRCS_charset.pivot+= charset.pivot.CP
7 CLEANFILES+= mapper.dir.CP charset.pivot.CP
8 PART_CP!= ${TOOL_SED} '/^\#/d;/^$$/d;' ${.CURDIR}/CP/CP.part
10 mapper.dir.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/mapper.dir.CP.src
14 for i in ${PART_CP}; do \
15 f=`echo $$i | ${TOOL_SED} 's/:/@/'`; \
16 printf '%-32s%-16s%s\n' CP$$i'/UCS' \
17 mapper_std CP/CP$$f'%UCS.mps';\
18 printf '%-32s%-16s%s\n' UCS/CP$$i \
19 mapper_std CP/UCS%CP$$f'.mps';\
21 cat ${.CURDIR}/CP/mapper.dir.CP.src;\
25 charset.pivot.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/charset.pivot.CP.src
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;\
33 cat ${.CURDIR}/CP/charset.pivot.CP.src;\
38 FILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps
39 CLEANFILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps
40 FILESDIR_CP${i:S/:/@/}%UCS.mps= ${BINDIR}/CP
41 FILESDIR_UCS%CP${i:S/:/@/}.mps= ${BINDIR}/CP