1219019Sgabor# $FreeBSD$ 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# XXX: FIXME 17219019SgaborBig5-${i:S/:/@/}.src: Big5.src Big5.variable 18219019Sgabor sed -e 's/encoding/Big5-$i/' \ 19219019Sgabor -e 's/variable/${Big5_$i_variable}/' \ 20219019Sgabor ${.CURDIR}/Big5.src > $@ 21296702Sbdrewery @echo ${.TARGET} >>.tmpfiles 22219019Sgabor.endfor 23