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