1# $NetBSD: Makefile.inc,v 1.3 2003/10/21 10:01:21 lukem 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