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

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 05 Feb 2004 21:43:41 -0700 (MST)
In message: <20040206030956.F11456_at_gamplex.bde.org>
            Bruce Evans <bde_at_zeta.org.au> writes:
: > > % +	(cd ${.CURDIR}; ${MAKE} _mkdep_cS) | xargs env \
: > > % +	    ${MKDEPCMD} -f ${DEPENDFILE} -a ${MKDEP} \
: > > % +	    ${CFLAGS:M-nostdinc*} ${CFLAGS:M-[BID]*}
: > >
: > > make uses a real shell, so the env shouldn't be needed.
: > >
: > $ echo foo.c | xargs CC=cc mkdep
: > xargs: CC=cc: No such file or directory
: 
: $ echo foo.c | CC=cc xargs mkdep

But MKDEPCMD is 'CC=cc mkdep', so the env is needed...  Unless there's
a MKDEPCMD_ENV variable...

Warner
Received on Thu Feb 05 2004 - 19:43:50 UTC

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