Re: Very long SRCS list with unusually long src/ prefix

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Fri, 06 Feb 2004 09:25:34 -0700 (MST)
In message: <20040206162205.GC29305_at_FreeBSD.org.ua>
            Ruslan Ermilov <ru_at_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}
: +	_at_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
Received on Fri Feb 06 2004 - 07:25:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC