Makefile revision 219019
1219019Sgabor# $FreeBSD: head/share/i18n/esdb/BIG5/Makefile 219019 2011-02-25 00:04:39Z gabor $
2219019Sgabor# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $
3219019Sgabor
4219019SgaborCODE=	Big5
5219019SgaborESUBDIR= BIG5
6219019SgaborNO_PREPROC= yes
7219019Sgabor
8219019Sgabor.include "../Makefile.part"
9219019Sgabor
10219019Sgabor.for i in ${PART:S/:/@/}
11219019SgaborBig5_$i_variable!= sed \
12219019Sgabor	'/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ 	]/!d;s/^[^ 	]*[ 	]*//' \
13219019Sgabor	${.CURDIR}/Big5.variable
14219019Sgabor.endfor
15219019Sgabor.for i in ${PART}
16219019Sgabor.if !exists(Big5-${i:S/:/@/}.src)
17219019Sgabor# XXX: FIXME
18219019SgaborBig5-${i:S/:/@/}.src: Big5.src Big5.variable
19219019Sgabor	sed -e 's/encoding/Big5-$i/' \
20219019Sgabor		-e 's/variable/${Big5_$i_variable}/' \
21219019Sgabor		${.CURDIR}/Big5.src > $@
22219019Sgabor	@echo Big5-${i:S/:/@/}.src >>.tmpfiles
23219019Sgabor.endif
24219019Sgabor.endfor
25