summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-02-26 05:05:53 +0000
committerbde <bde@FreeBSD.org>1995-02-26 05:05:53 +0000
commita440c10bc1d680984d9a9a5f9a5780c13844da92 (patch)
tree6b6dad1e23c2c26cb1ac70430acd263b75729d40 /sys
parentc0657f0db190818cf8717ac118b29ee382f889a9 (diff)
downloadFreeBSD-src-a440c10bc1d680984d9a9a5f9a5780c13844da92.zip
FreeBSD-src-a440c10bc1d680984d9a9a5f9a5780c13844da92.tar.gz
Use relative include path and -nostdinc avoid getting anything from
/usr/include.
Diffstat (limited to 'sys')
-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, 9 insertions, 6 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index f379d19..663ebee 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.53 1995/01/25 21:40:00 bde Exp $
+# $Id: Makefile.i386,v 1.54 1995/01/29 23:42:11 phk Exp $
#
# Makefile for FreeBSD
#
@@ -41,7 +41,8 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls
# of material assistance.
#
COPTFLAGS?=-O
-INCLUDES= -I. -I$S -I$S/sys
+# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
+INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index f379d19..663ebee 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.53 1995/01/25 21:40:00 bde Exp $
+# $Id: Makefile.i386,v 1.54 1995/01/29 23:42:11 phk Exp $
#
# Makefile for FreeBSD
#
@@ -41,7 +41,8 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls
# of material assistance.
#
COPTFLAGS?=-O
-INCLUDES= -I. -I$S -I$S/sys
+# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
+INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386
index f379d19..663ebee 100644
--- a/sys/i386/conf/Makefile.i386
+++ b/sys/i386/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.53 1995/01/25 21:40:00 bde Exp $
+# $Id: Makefile.i386,v 1.54 1995/01/29 23:42:11 phk Exp $
#
# Makefile for FreeBSD
#
@@ -41,7 +41,8 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls
# of material assistance.
#
COPTFLAGS?=-O
-INCLUDES= -I. -I$S -I$S/sys
+# Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails.
+INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}
OpenPOWER on IntegriCloud