From owner-freebsd-current@FreeBSD.ORG Thu Feb 5 20:43:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F34616A4CE; Thu, 5 Feb 2004 20:43:50 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5ACE43D2F; Thu, 5 Feb 2004 20:43:48 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i164hgnJ035390; Thu, 5 Feb 2004 21:43:47 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 05 Feb 2004 21:43:41 -0700 (MST) Message-Id: <20040205.214341.11990356.imp@bsdimp.com> To: bde@zeta.org.au From: "M. Warner Losh" In-Reply-To: <20040206030956.F11456@gamplex.bde.org> References: <20040206012805.N8113@gamplex.bde.org> <20040205151425.GA18523@FreeBSD.org.ua> <20040206030956.F11456@gamplex.bde.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: Very long SRCS list with unusually long src/ prefix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 04:43:50 -0000 In message: <20040206030956.F11456@gamplex.bde.org> Bruce Evans 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