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	touch ${.TARGET}
11.for i in ${SUBDIR}
12	cat ${i}/mapper.dir.${i} >> ${.TARGET}
13.endfor
14mapper.dir.db: mapper.dir
15	${MKCSMAPPER} -m -o ${.TARGET} ${.ALLSRC}
16
17FILES+=	mapper.dir mapper.dir.db
18CLEANFILES+= mapper.dir mapper.dir.db
19
20charset.pivot: ${SUBDIR}
21	touch ${.TARGET}
22.for i in ${SUBDIR}
23	cat ${i}/charset.pivot.${i} >> ${.TARGET}
24.endfor
25charset.pivot.pvdb: charset.pivot
26	${MKCSMAPPER} -p -o ${.TARGET} ${.ALLSRC}
27
28FILES+=	charset.pivot charset.pivot.pvdb
29CLEANFILES+= charset.pivot charset.pivot.pvdb
30
31all: ${FILES}
32realall: ${FILES}
33
34.include "./Makefile.inc"
35.include <bsd.prog.mk>
36