1# $FreeBSD$ 2# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $ 3 4FILESDIR= ${CSMAPPERDIR} 5 6SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \ 7 KAZAKH KOI KS MISC TCVN 8 9mapper.dir: ${SUBDIR} 10 newfile=$$(for i in ${SUBDIR}; do \ 11 cat $$i/mapper.dir.$$i; \ 12 done); \ 13 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \ 14 printf '%s\n' "$$newfile" >${.TARGET} 15mapper.dir.db: mapper.dir 16 ${MKCSMAPPER} -m -o ${.TARGET} ${.ALLSRC} 17 18FILES+= mapper.dir mapper.dir.db 19CLEANFILES+= mapper.dir mapper.dir.db 20 21charset.pivot: ${SUBDIR} 22 newfile=$$(for i in ${SUBDIR}; do \ 23 cat $$i/charset.pivot.$$i; \ 24 done); \ 25 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \ 26 printf '%s\n' "$$newfile" >${.TARGET} 27charset.pivot.pvdb: charset.pivot 28 ${MKCSMAPPER} -p -o ${.TARGET} ${.ALLSRC} 29 30FILES+= charset.pivot charset.pivot.pvdb 31CLEANFILES+= charset.pivot charset.pivot.pvdb 32 33all: ${FILES} 34realall: ${FILES} 35 36.include "./Makefile.inc" 37.include <bsd.prog.mk> 38