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