From owner-freebsd-arch Mon Sep 3 0:22:24 2001 Delivered-To: freebsd-arch@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id A3FCC37B401; Mon, 3 Sep 2001 00:22:14 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f837L2N52557; Mon, 3 Sep 2001 10:21:02 +0300 (EEST) (envelope-from ru) Date: Mon, 3 Sep 2001 10:21:02 +0300 From: Ruslan Ermilov To: Kris Kennaway Cc: Alexander Langer , "David O'Brien" , arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20010903102102.A49997@sunbay.com> References: <200108311118.f7VBIO124920@freefall.freebsd.org> <20010831142958.A60910@sunbay.com> <20010831141746.A1809@zerogravity.kawo2.rwth-aachen.d> <20010831084811.B95710@dragon.nuxi.com> <20010831184945.A16872@fump.kawo2.rwth-aachen.de> <20010831100216.A17397@dragon.nuxi.com> <20010831193947.A17086@fump.kawo2.rwth-aachen.de> <20010831131627.A86427@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010831131627.A86427@xor.obsecurity.org>; from kris@obsecurity.org on Fri, Aug 31, 2001 at 01:16:27PM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 31, 2001 at 01:16:27PM -0700, Kris Kennaway wrote: > On Fri, Aug 31, 2001 at 07:39:47PM +0200, Alexander Langer wrote: > > > - Teach /usr/src/Makefile's $(MAKE) variable about a world.conf file > > which is included for /usr/src builds. This needs extensive testing. > > I couldn't figure out how to do this without adding in .include > "../Makefile.inc" on a couple hundred directories to tie them into one > big tree so they all have an include path back to /usr/src/world.conf > or whatever you want to call it. Having the file only read by make > world isn't really acceptible because building parts of the source > tree is a common developer activity and needs to use the same file. > Include world.conf from sys.mk. That way, it will be read before make(1) even reads the ${.CURDIR}/Makefile. This is documented in the manpage. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message