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