xref: /freebsd/share/i18n/csmapper/ISO-8859/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:35:36 apb Exp $
2
3CODE=	ISO-8859
4
5mapper.dir.ISO-8859: ISO-8859.part
6	(\
7	    echo "# ISO-8859";\
8	    printf '%-32s%-16s\n' ISO-8859-1/UCS mapper_none;\
9	    printf '%-32s%-16s%s\n' UCS/ISO-8859-1 mapper_zone 0x00-0xFF;\
10	    for i in ${PART}; do \
11		printf '%-32s%-16s%s\n' ISO-8859-$$i'/UCS' mapper_std \
12		    ISO-8859/ISO-8859-$$i'%UCS.mps';\
13		printf '%-32s%-16s%s\n' UCS/ISO-8859-$$i mapper_std \
14		    'ISO-8859/UCS%ISO-8859-'$$i'.mps';\
15		printf '%-32s%-16s%s\n' ISO-8859-$$i':GR/ISO-8859-'$$i \
16		    mapper_zone '0x00 - 0x7F : +0x80';\
17		printf '%-32s%-16s%s\n' ISO-8859-$$i'/ISO-8859-'$$i':GR' \
18		    mapper_zone '0x80 - 0xFF : -0x80';\
19		printf '%-32s%-16s%s\n' ISO-8859-$$i':GR/UCS' mapper_serial \
20		    ISO-8859-$$i':GR/ISO-8859-'$$i',ISO-8859-'$$i'/UCS';\
21		printf '%-32s%-16s%s\n' UCS/ISO-8859-$$i':GR' mapper_serial \
22		    UCS/ISO-8859-$$i',ISO-8859-'$$i'/ISO-8859-'$$i':GR';\
23	    done;\
24	    echo;\
25	) > ${.TARGET}
26
27charset.pivot.ISO-8859: ISO-8859.part
28	(\
29	    echo "# ISO-8859";\
30	    for i in ${PART}; do \
31		printf "%-32s%-32s%d\n" ISO-8859-$$i UCS 1;\
32		printf "%-32s%-32s%d\n" UCS ISO-8859-$$i 1;\
33		printf "%-32s%-32s%d\n" ISO-8859-$$i':GR' UCS 1;\
34		printf "%-32s%-32s%d\n" UCS ISO-8859-$$i':GR' 1;\
35	    done;\
36	    echo;\
37	) > ${.TARGET}
38
39.include "../Makefile.part"
40