Expand PMF_FN_* macros.
[netbsd-mini2440.git] / share / i18n / csmapper / Makefile
blob4942b1d76f72df3eb77eaa807bd2b23d2ded0739
1 # $NetBSD: Makefile,v 1.12 2006/11/13 15:16:30 tnozaki Exp $
3 NOMAN=
5 .include <bsd.own.mk>
7 .SUFFIXES: .src .646 .mps
9 BINDIR?= /usr/share/i18n/csmapper
10 SRCS_mapper.dir+= mapper.dir.src
11 SRCS_charset.pivot+= charset.pivot.src
13 SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 \
14 JIS KAZAKH KOI KS MISC TCVN
15 .for i in ${SUBDIR}
16 .if exists(${.CURDIR}/$i/Makefile.inc)
17 .include "${.CURDIR}/$i/Makefile.inc"
18 .endif
19 .endfor
21 # ----------------------------------------------------------------------
23 mapper.dir: ${SRCS_mapper.dir}
24 ${_MKTARGET_CREATE}
25 cat $> > $@
26 mapper.dir.db: mapper.dir
27 ${_MKTARGET_CREATE}
28 ${TOOL_MKCSMAPPER} -m -o $@ $>
29 FILES+= mapper.dir mapper.dir.db
30 CLEANFILES+= mapper.dir mapper.dir.db
32 charset.pivot: ${SRCS_charset.pivot}
33 ${_MKTARGET_CREATE}
34 cat $> > $@
35 charset.pivot.pvdb: charset.pivot
36 ${_MKTARGET_CREATE}
37 ${TOOL_MKCSMAPPER} -p -o $@ $>
38 FILES+= charset.pivot charset.pivot.pvdb
39 CLEANFILES+= charset.pivot charset.pivot.pvdb
41 .src.mps:
42 ${_MKTARGET_CREATE}
43 ${TOOL_MKCSMAPPER} -o $@ $>
45 all: ${FILES}
46 realall: ${FILES}
48 .include <bsd.prog.mk>