From owner-freebsd-current Wed Feb 22 16:59:15 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id QAA12872 for current-outgoing; Wed, 22 Feb 1995 16:59:15 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id QAA12862; Wed, 22 Feb 1995 16:59:11 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id QAA06598; Wed, 22 Feb 1995 16:58:43 -0800 From: Poul-Henning Kamp Message-Id: <199502230058.QAA06598@ref.tfs.com> Subject: Re: TRUE and FALSE To: wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Date: Wed, 22 Feb 1995 16:58:42 -0800 (PST) Cc: wollman@halloran-eldar.lcs.mit.edu, jkh@freefall.cdrom.com, nate@trout.sri.mt.net, current@freefall.cdrom.com In-Reply-To: <9502230051.AA09330@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at Feb 22, 95 07:51:26 pm Content-Type: text Content-Length: 1737 Sender: current-owner@FreeBSD.org Precedence: bulk > > 2) Programs which are not part of FreeBSD can use just what they feel like, > > it's entirely their own problem. > > > Can anybody explain what the problem is with this ? > > There are four sets of interesting programs: > > 1) Programs which are not a part of FreeBSD and do not use bsd.*.mk. > When compiling, they should use the header files in /usr/include, and > /usr/include/{sys,netinet,net,nfs,netiso,netccitt,machine} should > point to the appropriate directories in the kernel source tree. Correction: which will be copies of the ... from the last time the kernel and utilities was installed. Otherwise use -I > 2) Programs which are not a part of FreeBSD and DO use bsd.*.mk. When > compiling, they should use exactly the same header files and libraries > as programs in set (1). yes. with the correction. > 3) Programs which are a part of FreeBSD, but are being compiled > outside of the source tree (perhaps the user doesn't have all the > sources). When compiling, they should use exactly the same header > files and libraries as programs in set (1). yes. With the correction. > 4) Programs which are a part of FreeBSD, and are being compiled as a > part of `make all' from the top level. When compiling, they should > use the previously-built header files and libraries. Note that this > means it is no longer acceptable to put SUBDIRs in alphabetical order; > instead, they must be topologically sorted. There are probably loops > which will need to be broken (that's what the `tools' target does). yes. So all it comes down to is that you have to use -I qed. -- Poul-Henning Kamp TRW Financial Systems, Inc. I am Pentium Of Borg. Division is Futile. You WILL be approximated.