xref: /freebsd/share/i18n/csmapper/CP/Makefile (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1# $FreeBSD$
2# $NetBSD: Makefile.inc,v 1.6 2008/10/25 22:35:36 apb Exp $
3
4CODE=	CP
5TABLENAME= ${CODE}%%PART%%%UCS
6RTABLENAME= UCS%${CODE}%%PART%%
7
8mapper.dir.CP: CP.part mapper.dir.CP.src
9	(\
10	    echo "# CP";\
11	    for i in ${PART}; do \
12	        f=`echo $$i | sed 's/:/@/'`; \
13		printf '%-32s%-16s%s\n' CP$$i'/UCS' \
14		    mapper_std CP/CP$$f'%UCS.mps';\
15		printf '%-32s%-16s%s\n' UCS/CP$$i \
16		    mapper_std CP/UCS%CP$$f'.mps';\
17	    done;\
18	    cat ${.CURDIR}/mapper.dir.CP.src;\
19	    echo;\
20	) > ${.TARGET}
21
22charset.pivot.CP: CP.part charset.pivot.CP.src
23	(\
24	    echo "# CP";\
25	    for i in ${PART}; do \
26		printf "%-32s%-32s%d\n" CP$$i UCS 1;\
27		printf "%-32s%-32s%d\n" UCS CP$$i 1;\
28	    done;\
29	    cat ${.CURDIR}/charset.pivot.CP.src;\
30	    echo;\
31	) > ${.TARGET}
32
33.include "../Makefile.part"
34