Received: (from major@localhost)
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) id OAA20047
	for pups-liszt; Fri, 19 Feb 1999 14:07:20 +1100 (EST)
Received: from henry.cs.adfa.edu.au (henry.cs.adfa.edu.au [131.236.21.158])
	by minnie.cs.adfa.edu.au (8.9.1/8.9.1) with ESMTP id OAA20040
	for <pups@minnie.cs.adfa.oz.au>; Fri, 19 Feb 1999 14:07:11 +1100 (EST)
Received: (from wkt@localhost)
	by henry.cs.adfa.edu.au (8.9.1/8.9.1) id OAA02230;
	Fri, 19 Feb 1999 14:06:14 +1100 (EST)
	(envelope-from wkt)
From: Warren Toomey <wkt@henry.cs.adfa.edu.au>
Message-Id: <199902190306.OAA02230@henry.cs.adfa.edu.au>
Subject: Re: 2.9BSD:  mbuf.h
In-Reply-To: <006401be5baa$06ce3da0$33d1b7c7@eric-edwards> from Eric Edwards at "Feb 18, 1999  8:48:59 pm"
To: eekg@ix.netcom.com (Eric Edwards)
Date: Fri, 19 Feb 1999 14:06:14 +1100 (EST)
Cc: pups@minnie.cs.adfa.oz.au (Unix Heritage Society)
Reply-To: wkt@cs.adfa.edu.au
X-Mailer: ELM [version 2.4ME+ PL43 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups@minnie.cs.adfa.edu.au
Precedence: bulk

In article by Eric Edwards:
> I'm not sure if anyone mentioned this, but you can build a working 2.9
> kernel (sans network) from the sources by just commenting out the references
> to the networking include files.  I think there is an offending reference in
> syslocal.c also.
> 
> Eric Edwards
> eekg@ix.netcom.com
> mag@csh.rit.edu

What is happening is that `make depend' invokes a script which finds
#includes in the source code, and builds a make dependency. However,
it's not very intelligent, and doesn't ignore:

#ifdef INET
#include <stuff>

when INET isn't defined. :-) This bites on several C files.
You just have to hand-prune the Makefile after make depend :-)
This is 2.9BSD, BTW, ignore if you're not using it.

Ciao!
	Warren

