xref: /freebsd/share/i18n/esdb/BIG5/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1ad30f8e7SGabor Kovesdan# $NetBSD: Makefile.inc,v 1.3 2008/10/25 22:35:36 apb Exp $
2ad30f8e7SGabor Kovesdan
3ad30f8e7SGabor KovesdanCODE=	Big5
4ad30f8e7SGabor KovesdanESUBDIR= BIG5
5ad30f8e7SGabor KovesdanNO_PREPROC= yes
6ad30f8e7SGabor Kovesdan
7ad30f8e7SGabor Kovesdan.include "../Makefile.part"
8ad30f8e7SGabor Kovesdan
9ad30f8e7SGabor Kovesdan.for i in ${PART:S/:/@/}
10ad30f8e7SGabor KovesdanBig5_$i_variable!= sed \
11ad30f8e7SGabor Kovesdan	'/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ 	]/!d;s/^[^ 	]*[ 	]*//' \
12ad30f8e7SGabor Kovesdan	${.CURDIR}/Big5.variable
13ad30f8e7SGabor Kovesdan.endfor
14ad30f8e7SGabor Kovesdan.for i in ${PART}
15ad30f8e7SGabor Kovesdan# XXX: FIXME
16ad30f8e7SGabor KovesdanBig5-${i:S/:/@/}.src: Big5.src Big5.variable
17ad30f8e7SGabor Kovesdan	sed -e 's/encoding/Big5-$i/' \
18*fc8b021eSKyle Evans		-e 's/variable/${Big5_${i:S/@/:/}_variable}/' \
19ad30f8e7SGabor Kovesdan		${.CURDIR}/Big5.src > $@
20480364a4SBryan Drewery	@echo ${.TARGET} >>.tmpfiles
21ad30f8e7SGabor Kovesdan.endfor
22