Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Sep 2001 20:08:43 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: cvs commit: src/share/mk sys.mk 
Message-ID:  <200109030208.f8328hh22382@harmony.village.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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109030208.f8328hh22382>