Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2004 21:43:41 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        bde@zeta.org.au
Cc:        current@freebsd.org
Subject:   Re: Very long SRCS list with unusually long src/ prefix
Message-ID:  <20040205.214341.11990356.imp@bsdimp.com>
In-Reply-To: <20040206030956.F11456@gamplex.bde.org>
References:  <20040206012805.N8113@gamplex.bde.org> <20040205151425.GA18523@FreeBSD.org.ua> <20040206030956.F11456@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040206030956.F11456@gamplex.bde.org>
            Bruce Evans <bde@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205.214341.11990356.imp>