a3e63d71ca
* KOI-7(iso-ir-37, iso-5427) * KOI-8(old KOI8) * KOI7-switched(iso-2022 variant) * KOI8-C -- Pablo Saratxaga's X_LOCALE KOI8-C(Caucasus) * KOI8-CyrillicOld -- Serge Winitzki's KOI8-C(Cyrillic-Old) ** not exported yet ** * KOI8-E(iso-ir-111, ecma-cyrillic) * KOI8-RU * KOI8-T
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2006/04/08 14:15:48 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= APPLE AST CNS CP EBCDIC GB ISO646 ISO-8859 JIS KS KOI 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>
|