From owner-freebsd-current Thu Mar 23 09:27:11 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15602 for current-outgoing; Thu, 23 Mar 1995 09:27:11 -0800 Received: from glueserv1.umd.edu (glueserv1.umd.edu [129.2.70.69]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA15595; Thu, 23 Mar 1995 09:27:07 -0800 Received: from cappuccino.eng.umd.edu (cappuccino.eng.umd.edu [129.2.98.14]) by glueserv1.umd.edu (8.6.10/8.6.4) with ESMTP id MAA08827; Thu, 23 Mar 1995 12:26:51 -0500 Received: (chuckr@localhost) by cappuccino.eng.umd.edu (8.6.10/8.6.4) id MAA12309; Thu, 23 Mar 1995 12:26:50 -0500 Date: Thu, 23 Mar 1995 12:26:50 -0500 (EST) From: Chuck Robey To: "Rodney W. Grimes" cc: jkh@freefall.cdrom.com, bde@zeta.org.au, me@tartufo.pcs.dec.com, nate@trout.sri.mt.net, current@FreeBSD.org Subject: Re: Make World Times and a question about shared libs / make all In-Reply-To: <199503231719.JAA01094@gndrsh.aac.dev.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: current-owner@FreeBSD.org Precedence: bulk On Thu, 23 Mar 1995, Rodney W. Grimes wrote: > > > > On Thu, 23 Mar 1995, Jordan K. Hubbard wrote: > > > > > > Would people think it gross if /usr/include was nothing but > > > > a directory tree full of symbolic links into /usr/src (or > > > > where ever you did the ``make INCLUDE_TYPES=symlink includes'' from). > > > > > > No, that would actually be more (he ducks) ORTHOGONAL! :-) > > > > > > Seriously. Then you at least have a tree of links or a tree of copies > > > but never a mix (you may recall me raving on this particular topic > > > awhile back) and it's at least a whole lot easier to _understand_. > > > > > > Yes! Please! > > > > > > Jordan > > > > > > > How would that work for folks who don't want to keep an entire source tree > > available? I have the room, myself, but lots of friends running FreeBSD > > are doing it in 200-300 meg partitions. Would this hurt them? > > Folks without the entire source tree on line should probably not be > attempting to run ``make includes''. It would fail now if any of > the directories need by this are missing. [I am working on > the later for the SHARED=copies case]. > > If they want to run with limit src tree they well need to be careful > about CLOBBER and /usr/include. With the new .mk and Makefile mods > in place the correct command for a partial src tree would become: > cd /usr/src; > make INCLUDE_TYPES=copies includes > > Note that INCLUDE_TYPES is my new name for ``SHARED'', since this is > become overloaded. The default INCLUDE_TYPES will be copies, so > in the above command you could leave this out. > > My new includes: target is a lot smarter than the current one, it > uses a list of places to cd into and run ``make install_includes''. > For each directory in this list we first check to see if that > place exists in the src tree, if it does not a little skip message > is printed and things continue on there way. I could add some > better error checking for the CLOBBER case and make this an error > condition instead of just a warning. > > Right now I use a compatibility hack in the .mk files that calls > beforeinstall: for install_includes: so that I don't have to > modify a pile of Makefiles at this time. > > If 2.1 is pushed out past the end of April I should have time to > finish this work off and intergrate a massive .mk overhall, if > not it can wait for 2.2. > -- > Rod Grimes rgrimes@gndrsh.aac.dev.com > Accurate Automation Company Custom computers for FreeBSD > I think you misunderstood (or I did you)... I'm speaking of folks who would never consider making any part of the tree themselves, but just would like to be able to do a little light level c hacking on their more limited machine budgets. Jordan spoke of making /usr/include completely links to parts of usr/src. I am wondering what effect that would have on folks who don't even have a /usr/src. Will this mean that such folks will have to carry around at least parts of the /usr/src tree, in order to have the /usr/include [reasonably] complete? I'm not talking about building the includes, just carrying them around, for folks with small budgets. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 7608 Topton St. | New Carrollton, MD 20784 | I run Journey2 (Freebsd 2.0) and n3lxx (301) 459-2316 | (FreeBSD 1.1.5.1) and am I happy! ----------------------------+-----------------------------------------------