1 # $NetBSD: Makefile.inc,v 1.3 2003/10/21 10:01:21 lukem Exp $
3 .PATH: ${.CURDIR}/ISO646
5 SRCS_mapper.dir+= mapper.dir.ISO646
6 SRCS_charset.pivot+= charset.pivot.ISO646
7 CLEANFILES+= mapper.dir.ISO646 charset.pivot.ISO646
8 PART_ISO646!= ${TOOL_SED} '/^\#/d;/^$$/d;' \
9 ${.CURDIR}/ISO646/ISO646.part
11 mapper.dir.ISO646: ${.CURDIR}/ISO646/ISO646.part
15 for i in ${PART_ISO646}; do \
16 j=`echo $$i | tr : @`;\
17 printf '%-32s%-16s%s\n' ISO646-$$i'/UCS' mapper_646 \
18 ISO646/ISO646-$$j'%UCS.646';\
19 printf '%-32s%-16s%s\n' UCS/ISO646-$$i mapper_646 \
20 '!ISO646/ISO646-'$$j'%UCS.646';\
25 charset.pivot.ISO646: ${.CURDIR}/ISO646/ISO646.part
29 for i in ${PART_ISO646}; do \
30 printf "%-32s%-32s%d\n" ISO646-$$i UCS 1;\
31 printf "%-32s%-32s%d\n" UCS ISO646-$$i 1;\
36 .for i in ${PART_ISO646}
37 FILES+= ISO646-${i:S/:/@/}%UCS.646
38 FILESDIR_ISO646-${i:S/:/@/}%UCS.646= ${BINDIR}/ISO646