e03766c6a9
Sponsored by: EMC / Isilon Storage Division
36 lines
965 B
Makefile
36 lines
965 B
Makefile
# $FreeBSD$
|
|
# $NetBSD: Makefile,v 1.13 2007/03/13 16:34:37 tnozaki Exp $
|
|
|
|
FILESDIR= ${CSMAPPERDIR}
|
|
|
|
SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
|
|
KAZAKH KOI KS MISC TCVN
|
|
SUBDIR_PARALLEL=
|
|
|
|
mapper.dir: ${SUBDIR}
|
|
newfile=$$(for i in ${SUBDIR}; do \
|
|
cat $$i/mapper.dir.$$i; \
|
|
done); \
|
|
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
|
|
printf '%s\n' "$$newfile" >${.TARGET}
|
|
mapper.dir.db: mapper.dir
|
|
${MKCSMAPPER} -m -o ${.TARGET} ${.ALLSRC}
|
|
|
|
FILES+= mapper.dir mapper.dir.db
|
|
CLEANFILES+= mapper.dir mapper.dir.db
|
|
|
|
charset.pivot: ${SUBDIR}
|
|
newfile=$$(for i in ${SUBDIR}; do \
|
|
cat $$i/charset.pivot.$$i; \
|
|
done); \
|
|
[ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
|
|
printf '%s\n' "$$newfile" >${.TARGET}
|
|
charset.pivot.pvdb: charset.pivot
|
|
${MKCSMAPPER} -p -o ${.TARGET} ${.ALLSRC}
|
|
|
|
FILES+= charset.pivot charset.pivot.pvdb
|
|
CLEANFILES+= charset.pivot charset.pivot.pvdb
|
|
|
|
.include "./Makefile.inc"
|
|
.include <bsd.prog.mk>
|