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