Allows compilation in /usr/obj/usr1/src/sys/compile/CONFIG rather than just /usr1/src/sys/compile/CONFIG *** old/src/sys/i386/conf/Makefile.i386 Mon Mar 13 14:16:31 1995 --- new/src/sys/i386/conf/Makefile.i386 Mon Mar 13 14:26:42 1995 *************** *** 36,42 **** # 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 # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include --- 36,43 ---- # COPTFLAGS?=-O # Not ready for -I- yet. #include "foo.h" where foo.h is in the srcdir fails. ! INCL_OLD= -nostdinc -I. -I$S -I$S/sys ! INCLUDES= -I. -I/usr/src/sys -I/usr/src/sys/sys -I/usr/src/include # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include