]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - share/i18n/csmapper/Makefile
MFC r289393:
[FreeBSD/stable/10.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 SUBDIR_PARALLEL=
9
10 mapper.dir: ${SUBDIR}
11         newfile=$$(for i in ${SUBDIR}; do \
12                 cat $$i/mapper.dir.$$i; \
13         done); \
14         [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
15                 printf '%s\n' "$$newfile" >${.TARGET}
16 mapper.dir.db: mapper.dir
17         ${MKCSMAPPER} -m -o ${.TARGET} ${.ALLSRC}
18
19 FILES+= mapper.dir mapper.dir.db
20 CLEANFILES+= mapper.dir mapper.dir.db
21
22 charset.pivot: ${SUBDIR}
23         newfile=$$(for i in ${SUBDIR}; do \
24                 cat $$i/charset.pivot.$$i; \
25         done); \
26         [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
27                 printf '%s\n' "$$newfile" >${.TARGET}
28 charset.pivot.pvdb: charset.pivot
29         ${MKCSMAPPER} -p -o ${.TARGET} ${.ALLSRC}
30
31 FILES+= charset.pivot charset.pivot.pvdb
32 CLEANFILES+= charset.pivot charset.pivot.pvdb
33
34 all: ${FILES}
35 realall: ${FILES}
36
37 .include "./Makefile.inc"
38 .include <bsd.prog.mk>