Expand PMF_FN_* macros.
[netbsd-mini2440.git] / share / i18n / csmapper / CP / Makefile.inc
blobefe6cc88feb9f5ed14b74936437dfbb349673d8d
1 # $NetBSD: Makefile.inc,v 1.5 2008/10/25 22:27:35 apb Exp $
3 .PATH: ${.CURDIR}/CP
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
11         ${_MKTARGET_CREATE}
12         (\
13             echo "# CP";\
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';\
20             done;\
21             cat ${.CURDIR}/CP/mapper.dir.CP.src;\
22             echo;\
23         ) > ${.TARGET}
25 charset.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}
37 .for i in ${PART_CP}
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
42 .endfor