Added -I/usrinclude to the tail end of the INCLUDES line. This hack

will cause kernel compiles to work even if the src/includes directory
doesn't exist but still do the 'Right Thing' and pull files from the
source tree if it does exist.

Reviewed by:	Bruce Evans
This commit is contained in:
Nate Williams 1995-04-03 01:13:50 +00:00
parent 9711ae2a9f
commit 146e71662f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7604
3 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.59 1995/03/25 23:21:36 bde Exp $
# $Id: Makefile.i386,v 1.60 1995/03/28 08:02:37 bde Exp $
#
# Makefile for FreeBSD
#
@ -36,7 +36,7 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
#
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 -I$S/../include
INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include -I/usr/include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.59 1995/03/25 23:21:36 bde Exp $
# $Id: Makefile.i386,v 1.60 1995/03/28 08:02:37 bde Exp $
#
# Makefile for FreeBSD
#
@ -36,7 +36,7 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
#
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 -I$S/../include
INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include -I/usr/include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.59 1995/03/25 23:21:36 bde Exp $
# $Id: Makefile.i386,v 1.60 1995/03/28 08:02:37 bde Exp $
#
# Makefile for FreeBSD
#
@ -36,7 +36,7 @@ CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
#
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 -I$S/../include
INCLUDES= -nostdinc -I. -I$S -I$S/sys -I$S/../include -I/usr/include
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386 -DLOAD_ADDRESS=0x${LOAD_ADDRESS}
ASFLAGS=
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS}