Date: Fri, 06 Feb 2004 09:25:34 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: ru@freebsd.org Cc: current@freebsd.org Subject: Re: Very long SRCS list with unusually long src/ prefix Message-ID: <20040206.092534.35045949.imp@bsdimp.com> In-Reply-To: <20040206162205.GC29305@FreeBSD.org.ua> References: <20040205.214341.11990356.imp@bsdimp.com> <20040207023229.L872@gamplex.bde.org> <20040206162205.GC29305@FreeBSD.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040206162205.GC29305@FreeBSD.org.ua> Ruslan Ermilov <ru@freebsd.org> writes: : + : +_mkdep_cS: ${DPSRCS:M*.[cS]:S/^/_mkdep_/} : +_mkdep_cc: ${DPSRCS:M*.cc:S/^/_mkdep_/} ${DPSRCS:M*.C:S/^/_mkdep_/} \ : + ${DPSRCS:M*.cpp:S/^/_mkdep_/} ${DPSRCS:M*.cxx:S/^/_mkdep_/} : +_mkdep_m: ${DPSRCS:M*.m:S/^/_mkdep_/} : +.for f in ${DPSRCS:M*.[cS]} ${DPSRCS:M*.cc} ${DPSRCS:M*.C} ${DPSRCS:M*.cpp} \ : + ${DPSRCS:M*.cxx} ${DPSRCS:M*.m} : +_mkdep_${f}: ${f} : + @echo ${.ALLSRC} : +.endfor : + I think this deserves a comment about why things are the way they are, possibly with a suggestion for doing some kind of built-in echo. Otherwise it looks good to me. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206.092534.35045949.imp>