Expand PMF_FN_* macros.
[netbsd-mini2440.git] / share / i18n / csmapper / APPLE / Makefile.inc
blobf2488d71f9f397eed0ac66f86e6722d25592d911
1 # $NetBSD: Makefile.inc,v 1.1 2006/03/13 19:45:36 tnozaki Exp $
3 .PATH: ${.CURDIR}/APPLE
5 SRCS_mapper.dir+=       mapper.dir.APPLE
6 SRCS_charset.pivot+=    charset.pivot.APPLE
7 CLEANFILES+=            mapper.dir.APPLE charset.pivot.APPLE
8 PART_MAC!=              ${TOOL_SED} '/^\#/d;/^$$/d;' ${.CURDIR}/APPLE/MAC.part
10 .for i in ${PART_MAC}
11 .if exists(${.CURDIR}/APPLE/$i%UCS.src)
12 FILES+=                 $i%UCS.mps
13 CLEANFILES+=            $i%UCS.mps
14 FILESDIR_$i%UCS.mps=    ${BINDIR}/APPLE
15 .endif
16 .if exists(${.CURDIR}/APPLE/UCS%$i.src)
17 FILES+=                 UCS%$i.mps
18 CLEANFILES+=            UCS%$i.mps
19 FILESDIR_UCS%$i.mps=    ${BINDIR}/APPLE
20 .endif
21 .endfor
23 mapper.dir.APPLE: ${.CURDIR}/APPLE/MAC.part
24         ${_MKTARGET_CREATE}
25         ( \
26             echo "# APPLE"; \
27             for i in ${PART_MAC}; do \
28                 printf "%-32s%-32s%s\n" $$i/UCS mapper_std \
29                     APPLE/$$i%UCS.mps; \
30                 printf "%-32s%-32s%s\n" UCS/$$i mapper_std \
31                     APPLE/UCS%$$i.mps; \
32             done; \
33             echo; \
34         ) > ${.TARGET}
36 charset.pivot.APPLE: ${.CURDIR}/APPLE/MAC.part
37         ${_MKTARGET_CREATE}
38         ( \
39             echo "# APPLE"; \
40             for i in ${PART_MAC}; do \
41                 printf "%-32s%-32s%d\n" $$i UCS 1; \
42                 printf "%-32s%-32s%d\n" UCS $$i 1; \
43             done; \
44             echo; \
45         ) > ${.TARGET}