1 # $NetBSD: Makefile.inc,v 1.3 2003/10/21 10:01:21 lukem Exp $
3 .PATH: ${.CURDIR}/EBCDIC
5 SRCS_mapper.dir+= mapper.dir.EBCDIC
6 SRCS_charset.pivot+= charset.pivot.EBCDIC
7 CLEANFILES+= mapper.dir.EBCDIC charset.pivot.EBCDIC
8 PART_EBCDIC!= ${TOOL_SED} '/^\#/d;/^$$/d;' \
9 ${.CURDIR}/EBCDIC/EBCDIC.part
11 mapper.dir.EBCDIC: ${.CURDIR}/EBCDIC/EBCDIC.part
15 for i in ${PART_EBCDIC}; do \
16 printf '%-32s%-16s%s\n' EBCDIC-$$i'/UCS' \
17 mapper_std EBCDIC/EBCDIC-$$i'%UCS.mps';\
18 printf '%-32s%-16s%s\n' UCS/EBCDIC-$$i \
19 mapper_std EBCDIC/EBCDIC-$$i'%UCS.mps';\
24 charset.pivot.EBCDIC: ${.CURDIR}/EBCDIC/EBCDIC.part
28 for i in ${PART_EBCDIC}; do \
29 printf "%-32s%-32s%d\n" EBCDIC-$$i UCS 1;\
30 printf "%-32s%-32s%d\n" UCS EBCDIC-$$i 1;\
35 .for i in ${PART_EBCDIC}
36 FILES+= EBCDIC-${i:S/:/@/}%UCS.mps
37 FILESDIR_EBCDIC-${i:S/:/@/}%UCS.mps= ${BINDIR}/EBCDIC
38 CLEANFILES+= EBCDIC-${i:S/:/@/}%UCS.mps
39 FILES+= UCS%EBCDIC-${i:S/:/@/}.mps
40 FILESDIR_UCS%EBCDIC-${i:S/:/@/}.mps= ${BINDIR}/EBCDIC
41 CLEANFILES+= UCS%EBCDIC-${i:S/:/@/}.mps