From owner-freebsd-arch Sun Sep 2 19: 8:48 2001 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 03EA537B407 for ; Sun, 2 Sep 2001 19:08:46 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f8328iX12979; Sun, 2 Sep 2001 20:08:44 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f8328hh22382; Sun, 2 Sep 2001 20:08:44 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200109030208.f8328hh22382@harmony.village.org> To: Kris Kennaway Subject: Re: cvs commit: src/share/mk sys.mk Cc: arch@FreeBSD.ORG In-reply-to: Your message of "Fri, 31 Aug 2001 13:16:27 PDT." <20010831131627.A86427@xor.obsecurity.org> 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> Date: Sun, 02 Sep 2001 20:08:43 -0600 From: Warner Losh 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 In message <20010831131627.A86427@xor.obsecurity.org> Kris Kennaway writes: : 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. I've invested about 50 hours at work trying to figure this out. I wound up using Makefile.up (in place of Makefile.inc) and that one could easily find the top of the tree. It works well in our small tree at work, but I don't think that it would work well in FreeBSD's tree. We also have a symbolic link for all the various copies of Makefile.up in the repo... If there's an easier way to deal, then I'd love to know :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message