1# $NetBSD: Makefile.inc,v 1.4 2008/10/25 22:27:35 apb Exp $ 2 3.PATH: ${.CURDIR}/CP 4 5CODE:= CP 6SEP_CP:= 7.include "${.CURDIR}/Makefile.part" 8 9.for i in ${CP_PART} 10.if !exists(${.CURDIR}/CP/CP${i:S/:/@/}.src) 11CP${i:S/:/@/}.src: CP.src 12 ${_MKTARGET_CREATE} 13 ${TOOL_SED} 's/CPx/CP$i/' $> > $@ 14CLEANFILES+= CP${i:S/:/@/}.src 15.endif 16.endfor 17