summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-27 16:34:16 +0000
committerbde <bde@FreeBSD.org>1996-09-27 16:34:16 +0000
commit091c6db8835773880820c3a7668dc3458639f164 (patch)
treebd4833684a03b315236c3c35f766f7b02351c708
parent0a7f8a57ed6dbb1ec5259e73c793c76a6f3f7ac5 (diff)
downloadFreeBSD-src-091c6db8835773880820c3a7668dc3458639f164.zip
FreeBSD-src-091c6db8835773880820c3a7668dc3458639f164.tar.gz
Added -I- to ${INCLUDES}. This makes 4.4Lite's (mis?)use of "foo.h"
for headers in the compile directory work unsurprisingly. Without -I-, the search for "foo.h" begins in the directory of the file that includes it, and the compile directory is only searched because `-I.' is in ${INCLUDES}. Removed -I$S/sys from ${INCLUDES}. It was once necessary to find things like "param.h" in $S/sys. Now <sys/param.h> is found in $S.
-rw-r--r--sys/conf/Makefile.i3865
-rw-r--r--sys/conf/Makefile.powerpc5
-rw-r--r--sys/i386/conf/Makefile.i3865
3 files changed, 6 insertions, 9 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index bf60da1..f452c0b 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.86 1996/08/21 16:31:34 ache Exp $
+# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $
#
# Makefile for FreeBSD
#
@@ -37,8 +37,7 @@ CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
# of material assistance.
#
COPTFLAGS?=-O
-# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
-INCLUDES= -nostdinc -I. -I$S -I$S/sys
+INCLUDES= -nostdinc -I- -I. -I$S
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index bf60da1..f452c0b 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.86 1996/08/21 16:31:34 ache Exp $
+# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $
#
# Makefile for FreeBSD
#
@@ -37,8 +37,7 @@ CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
# of material assistance.
#
COPTFLAGS?=-O
-# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
-INCLUDES= -nostdinc -I. -I$S -I$S/sys
+INCLUDES= -nostdinc -I- -I. -I$S
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386
index bf60da1..f452c0b 100644
--- a/sys/i386/conf/Makefile.i386
+++ b/sys/i386/conf/Makefile.i386
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.86 1996/08/21 16:31:34 ache Exp $
+# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $
#
# Makefile for FreeBSD
#
@@ -37,8 +37,7 @@ CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \
# of material assistance.
#
COPTFLAGS?=-O
-# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
-INCLUDES= -nostdinc -I. -I$S -I$S/sys
+INCLUDES= -nostdinc -I- -I. -I$S
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
OpenPOWER on IntegriCloud