1# $NetBSD: Makefile.inc,v 1.2 2008/10/25 22:27:36 apb Exp $ 2 3.PATH: ${.CURDIR}/DEC 4 5CODE:= DEC 6SEP_DEC:= 7.include "${.CURDIR}/Makefile.part" 8 9.for i in ${DEC_PART} 10.if !exists(${.CURDIR}/DEC/DEC${i:S/:/@/}.src) 11DEC${i:S/:/@/}.src: DEC.src 12 sed 's/DECx/DEC$i/' $> > $@ 13CLEANFILES+= DEC${i:S/:/@/}.src 14.endif 15.endfor 16