NetBSD/share/i18n/csmapper/Makefile
tnozaki a3b248100e add csmapper:CNS11643-1,2 and esdb:ISO-2022-CN,
integrate esdb:EUC-TW, locale:zh_TW.eucTW.
2005-03-27 22:30:05 +00:00

48 lines
1.0 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2005/03/27 22:30:06 tnozaki Exp $
NOMAN=
.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
SUBDIR= CNS CP EBCDIC GB ISO646 ISO-8859 JIS KS MISC
.for i in ${SUBDIR}
.if exists(${.CURDIR}/$i/Makefile.inc)
.include "${.CURDIR}/$i/Makefile.inc"
.endif
.endfor
# ----------------------------------------------------------------------
mapper.dir: ${SRCS_mapper.dir}
${_MKTARGET_CREATE}
cat $> > $@
mapper.dir.db: mapper.dir
${_MKTARGET_CREATE}
${TOOL_MKCSMAPPER} -m -o $@ $>
FILES+= mapper.dir mapper.dir.db
CLEANFILES+= mapper.dir mapper.dir.db
charset.pivot: ${SRCS_charset.pivot}
${_MKTARGET_CREATE}
cat $> > $@
charset.pivot.pvdb: charset.pivot
${_MKTARGET_CREATE}
${TOOL_MKCSMAPPER} -p -o $@ $>
FILES+= charset.pivot charset.pivot.pvdb
CLEANFILES+= charset.pivot charset.pivot.pvdb
.src.mps:
${_MKTARGET_CREATE}
${TOOL_MKCSMAPPER} -o $@ $>
all: ${FILES}
realall: ${FILES}
.include <bsd.prog.mk>