]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - share/i18n/csmapper/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / share / i18n / csmapper / Makefile
1 # $FreeBSD$
2 # $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $
3
4 FILESDIR= ${CSMAPPERDIR}
5
6 SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
7         KAZAKH KOI KS MISC TCVN
8
9 mapper.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}
15 mapper.dir.db: mapper.dir
16         ${MKCSMAPPER} -m -o ${.TARGET} ${.ALLSRC}
17
18 FILES+= mapper.dir mapper.dir.db
19 CLEANFILES+= mapper.dir mapper.dir.db
20
21 charset.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}
27 charset.pivot.pvdb: charset.pivot
28         ${MKCSMAPPER} -p -o ${.TARGET} ${.ALLSRC}
29
30 FILES+= charset.pivot charset.pivot.pvdb
31 CLEANFILES+= charset.pivot charset.pivot.pvdb
32
33 all: ${FILES}
34 realall: ${FILES}
35
36 .include "./Makefile.inc"
37 .include <bsd.prog.mk>