1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/share/i18n/csmapper/Makefile
Bryan Drewery e03766c6a9 DIRDEPS_BUILD: Fix mapper files building during dirdeps.
Sponsored by:	EMC / Isilon Storage Division
2016-03-01 22:25:49 +00:00

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>