From owner-freebsd-arch Mon Sep 3 3:14:45 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mailgate.Cadence.COM (mailgate.Cadence.COM [158.140.2.1]) by hub.freebsd.org (Postfix) with ESMTP id A90BC37B40E for ; Mon, 3 Sep 2001 03:14:42 -0700 (PDT) Received: from symnt3.Cadence.COM (symnt3.Cadence.COM [194.32.101.100]) by mailgate.Cadence.COM (8.9.3/8.9.3) with ESMTP id DAA00170; Mon, 3 Sep 2001 03:14:32 -0700 (PDT) Received: from pc598cam (pc598-cam.cadence.com [194.32.96.198]) by symnt3.Cadence.COM with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id SACH5MLK; Mon, 3 Sep 2001 11:13:29 +0100 Message-ID: <005401c13461$37b78290$c66020c2@pc598cam> From: "Duncan Barclay" To: "Warner Losh" Cc: References: <20010831131627.A86427@xor.obsecurity.org> <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> <200109030211.f832BCh22404@harmony.village.org> Subject: Re: cvs commit: src/share/mk sys.mk Date: Mon, 3 Sep 2001 11:13:55 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Received: By mailgate.Cadence.COM as DAA00170 at Mon Sep 3 03:14:32 2001 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 This can be done in make already but you do need code stuff in a Makefile.inc to support it: http://www.ragnet.demon.co.uk/RM/RM.makefile This walks up a tree until it finds a toplevel. ----- Original Message ----- From: "Warner Losh" To: "Kris Kennaway" Cc: Sent: Monday, September 03, 2001 3:11 AM Subject: Re: cvs commit: src/share/mk sys.mk > Actually, now that I think about this, I think that it would be *EASY* > to support in make. > > .include-up "conf/world.conf" > > and make would look in ., .., ../.., etc until it finds > conf/world.conf. It would then set some variable so conf/world.conf > would know where the top of the tree was (which would make things in > the tree a little easier). > > Of course, this also requires changing all Makefiles in the tree, but > that's easy to do. > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message