From owner-cvs-all Mon May 28 6:31: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 597F537B422; Mon, 28 May 2001 06:31:03 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id XAA29180; Mon, 28 May 2001 23:31:00 +1000 Date: Mon, 28 May 2001 23:29:26 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Ruslan Ermilov Cc: Peter Pentchev , Sheldon Hearn , netch@lucky.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: -DNOCLEAN - was: Re: cvs commit: src/contrib/amd/include am_defs.h src/usr.sbin/amd/includeconfig.h src/etc/mtree BSD.include.dist src/include Makefilesrc/sbin/mount_msdos mount_msdos.c src/sbin/mountd mountd.csrc/share/man/man7 hier.7 src/sys/boot/forth loader.conf ... In-Reply-To: <20010528161251.A98656@sunbay.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 28 May 2001, Ruslan Ermilov wrote: > On Mon, May 28, 2001 at 10:05:11PM +1000, Bruce Evans wrote: > > On Mon, 28 May 2001, Peter Pentchev wrote: > > > On second thoughts, make(1) appears to use a .depend file in the current > > > directory, even if MAKEOBJDIRPREFIX is set to /usr/obj. So it might indeed > > > be a good idea to do a 'find /usr/src -name .depend -delete', just in case. > > > > I think this only happens when ${.OBJDIR} doesn't contain .depend. > > make(1) has an undocumented search path for '.include "foo"'. > > > Unfortunately not. If both ${.OBJDIR}/.depend and ${.CURDIR}/.depend exist, > ${.CURDIR}/.depend is preffered over: I remember a little more about this. I think the directory of the file doing the including is preferred (like you might expect for `""' includes). Something like this is necessary for '.include "../Makefile.inc"' to work properly (it should always find ../Makefile.inc one level up from the file doing the including). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message