1 # $NetBSD: Makefile.inc,v 1.4 2006/11/04 03:46:19 tnozaki Exp $
2 # $DragonFly: src/share/i18n/csmapper/CP/Makefile.inc,v 1.2 2008/04/10 10:21:04 hasso Exp $
6 SRCS_mapper.dir+= mapper.dir.CP
7 SRCS_charset.pivot+= charset.pivot.CP
8 CLEANFILES+= mapper.dir.CP charset.pivot.CP
9 PART_CP!= sed '/^\#/d;/^$$/d;' ${.CURDIR}/CP/CP.part
11 mapper.dir.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/mapper.dir.CP.src
15 for i in ${PART_CP}; do \
16 f=`echo $$i | sed 's/:/@/'`; \
17 printf '%-32s%-16s%s\n' CP$$i'/UCS' \
18 mapper_std CP/CP$$f'%UCS.mps';\
19 printf '%-32s%-16s%s\n' UCS/CP$$i \
20 mapper_std CP/UCS%CP$$f'.mps';\
22 cat ${.CURDIR}/CP/mapper.dir.CP.src;\
26 charset.pivot.CP: ${.CURDIR}/CP/CP.part ${.CURDIR}/CP/charset.pivot.CP.src
30 for i in ${PART_CP}; do \
31 printf "%-32s%-32s%d\n" CP$$i UCS 1;\
32 printf "%-32s%-32s%d\n" UCS CP$$i 1;\
34 cat ${.CURDIR}/CP/charset.pivot.CP.src;\
39 FILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps
40 CLEANFILES+= CP${i:S/:/@/}%UCS.mps UCS%CP${i:S/:/@/}.mps
41 FILESDIR_CP${i:S/:/@/}%UCS.mps= ${BINDIR}/CP
42 FILESDIR_UCS%CP${i:S/:/@/}.mps= ${BINDIR}/CP