2005-03-28 02:30:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 2005/03/27 22:30:06 tnozaki Exp $
|
2003-07-10 15:27:45 +04:00
|
|
|
|
|
|
|
NOMAN=
|
2003-06-27 12:39:59 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.SUFFIXES: .src .646 .mps
|
|
|
|
|
|
|
|
BINDIR?= /usr/share/i18n/csmapper
|
|
|
|
SRCS_mapper.dir+= mapper.dir.src
|
|
|
|
SRCS_charset.pivot+= charset.pivot.src
|
|
|
|
|
2005-03-28 02:30:05 +04:00
|
|
|
SUBDIR= CNS CP EBCDIC GB ISO646 ISO-8859 JIS KS MISC
|
2003-06-27 12:39:59 +04:00
|
|
|
.for i in ${SUBDIR}
|
|
|
|
.if exists(${.CURDIR}/$i/Makefile.inc)
|
|
|
|
.include "${.CURDIR}/$i/Makefile.inc"
|
|
|
|
.endif
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
|
|
|
|
mapper.dir: ${SRCS_mapper.dir}
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-06-27 12:39:59 +04:00
|
|
|
cat $> > $@
|
|
|
|
mapper.dir.db: mapper.dir
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-07-10 14:33:58 +04:00
|
|
|
${TOOL_MKCSMAPPER} -m -o $@ $>
|
2003-06-27 12:39:59 +04:00
|
|
|
FILES+= mapper.dir mapper.dir.db
|
|
|
|
CLEANFILES+= mapper.dir mapper.dir.db
|
|
|
|
|
|
|
|
charset.pivot: ${SRCS_charset.pivot}
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-06-27 12:39:59 +04:00
|
|
|
cat $> > $@
|
|
|
|
charset.pivot.pvdb: charset.pivot
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-07-10 14:33:58 +04:00
|
|
|
${TOOL_MKCSMAPPER} -p -o $@ $>
|
2003-06-27 12:39:59 +04:00
|
|
|
FILES+= charset.pivot charset.pivot.pvdb
|
|
|
|
CLEANFILES+= charset.pivot charset.pivot.pvdb
|
|
|
|
|
|
|
|
.src.mps:
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2003-07-10 14:33:58 +04:00
|
|
|
${TOOL_MKCSMAPPER} -o $@ $>
|
2003-06-27 12:39:59 +04:00
|
|
|
|
|
|
|
all: ${FILES}
|
|
|
|
realall: ${FILES}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|