From owner-freebsd-arch Tue Jan 23 9:32:21 2001 Delivered-To: freebsd-arch@freebsd.org Received: from aslan.scsiguy.com (aslan.scsiguy.com [63.229.232.106]) by hub.freebsd.org (Postfix) with ESMTP id 941A337B401; Tue, 23 Jan 2001 09:32:02 -0800 (PST) Received: from scsiguy.com (localhost [127.0.0.1]) by aslan.scsiguy.com (8.11.0/8.9.3) with ESMTP id f0NHVns82856; Tue, 23 Jan 2001 10:31:54 -0700 (MST) (envelope-from gibbs@scsiguy.com) Message-Id: <200101231731.f0NHVns82856@aslan.scsiguy.com> To: Bruce Evans Cc: arch@FreeBSD.org, bde@FreeBSD.org Subject: Re: Local driver include files. In-Reply-To: Your message of "Tue, 23 Jan 2001 18:47:28 +1100." Date: Tue, 23 Jan 2001 10:31:49 -0700 From: "Justin T. Gibbs" Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> This is a much more scalable approach. > >Except the size of the Makefile and most command lines generated by >it is O(number of path/to/file/being/compiled). Really? It seems that this does what I need: INCLUDES= -nostdinc -I- -I. -I$S -I${<:H} Perhaps that is too simplistic? >BTW, the -current kernel Makefiles have already been hacked to add >-I$S/dev (not to mention -I$S/contrib/dev/acpica/Subsystem/Include) >to CFLAGS, so you don't need the above ifdefs in -current. You still >need them in RELENG[3-4]. I would have to use "aic7xxx/filename.h" which still forces the aic7xxx driver to be in a particular location in the source tree on all supported platforms. I'm not positive I can get that. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message