1# $NetBSD: Makefile.inc,v 1.4 2006/10/18 17:54:55 tnozaki Exp $ 2 3.PATH: ${.CURDIR}/KS 4 5SRCS_mapper.dir+= mapper.dir.KS 6SRCS_charset.pivot+= charset.pivot.KS 7CLEANFILES+= mapper.dir.KS charset.pivot.KS 8MAPS_KS= JOHAB%UCS.mps \ 9 KSC5601HANGUL%UCS.mps \ 10 KSC5601HANJA%UCS.mps \ 11 UCS%JOHAB.mps \ 12 UCS%KSC5601HANGUL.mps \ 13 UCS%KSC5601HANJA.mps 14 15mapper.dir.KS: ${.CURDIR}/KS/mapper.dir.KS.src 16 ${_MKTARGET_CREATE} 17 (echo "# KS" ; cat ${.ALLSRC} ; echo ) > ${.TARGET} 18 19charset.pivot.KS: ${.CURDIR}/KS/charset.pivot.KS.src 20 ${_MKTARGET_CREATE} 21 (echo "# KS" ; cat ${.ALLSRC} ; echo ) > ${.TARGET} 22 23FILES+= ${MAPS_KS} 24CLEANFILES+= ${MAPS_KS} 25.for i in ${MAPS_KS} 26FILESDIR_$i= ${BINDIR}/KS 27.endfor 28