xref: /freebsd/share/i18n/esdb/BIG5/Makefile (revision 2008043f386721d58158e37e0d7e50df8095942d)
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