# $NetBSD: Makefile.inc,v 1.1 2006/06/19 17:28:25 tnozaki Exp $ # $DragonFly: src/share/i18n/esdb/BIG5/Makefile.inc,v 1.1 2008/04/10 10:21:12 hasso Exp $ .PATH: ${.CURDIR}/BIG5 CODE:= Big5 PARTFILE_Big5:= ${.CURDIR}/BIG5/Big5.part ALIASFILE_Big5:= ${.CURDIR}/BIG5/Big5.alias SUBDIR_Big5:= BIG5 .include "${.CURDIR}/Makefile.part" .for i in ${Big5_PART:S/:/@/} Big5_$i_variable!= sed \ '/^\#/d;/^ *$$/d;/^${i:S/@/:/}[ ]/!d;s/^[^ ]*[ ]*//' \ ${.CURDIR}/BIG5/Big5.variable .endfor .for i in ${Big5_PART} .if !exists(${.CURDIR}/BIG5/Big5-${i:S/:/@/}.src) # XXX: FIXME Big5-${i:S/:/@/}.src: Big5.src Big5.variable ${_MKTARGET_CREATE} sed -e 's/encoding/Big5-$i/' -e 's/variable/${Big5_$i_variable}/' \ ${.CURDIR}/BIG5/Big5.src > $@ CLEANFILES+= Big5-${i:S/:/@/}.src .endif .endfor