diff options
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.alpha | 9 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 13 | ||||
-rw-r--r-- | sys/conf/Makefile.ia64 | 13 | ||||
-rw-r--r-- | sys/conf/Makefile.pc98 | 13 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 13 |
5 files changed, 33 insertions, 28 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha index 6fc5507..eb79ab7 100644 --- a/sys/conf/Makefile.alpha +++ b/sys/conf/Makefile.alpha @@ -42,6 +42,11 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev + +# This hack lets us use the ipfilter code without spamming a new +# include path into 100+ source files. +INCLUDES+= -I$S/contrib/ipfilter + # This hack is to allow kernel compiles to succeed on machines w/out srcdist .if exists($S/../include) INCLUDES+= -I$S/../include @@ -49,10 +54,6 @@ INCLUDES+= -I$S/../include INCLUDES+= -I/usr/include .endif -# This hack lets us use the ipfilter code without spamming a new -# include path into 100+ source files. -INCLUDES+= -I$S/contrib/ipfilter - COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 07e03cf..ec4b719 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -42,12 +42,6 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev -# This hack is to allow kernel compiles to succeed on machines w/out srcdist -.if exists($S/../include) -INCLUDES+= -I$S/../include -.else -INCLUDES+= -I/usr/include -.endif # This hack lets us use the Intel ACPICA code without spamming a new # include path into 100+ source files. @@ -56,6 +50,13 @@ INCLUDES+= -I$S/contrib/dev/acpica # ... and the same for ipfilter INCLUDES+= -I$S/contrib/ipfilter +# This hack is to allow kernel compiles to succeed on machines w/out srcdist +.if exists($S/../include) +INCLUDES+= -I$S/../include +.else +INCLUDES+= -I/usr/include +.endif + COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64 index 1942107..174c727 100644 --- a/sys/conf/Makefile.ia64 +++ b/sys/conf/Makefile.ia64 @@ -52,12 +52,6 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev -# This hack is to allow kernel compiles to succeed on machines w/out srcdist -.if exists($S/../include) -INCLUDES+= -I$S/../include -.else -INCLUDES+= -I/usr/include -.endif # This hack lets us use the Intel ACPICA code without spamming a new # include path into 100+ source files. @@ -66,6 +60,13 @@ INCLUDES+= -I$S/contrib/dev/acpica # ... and the same for ipfilter INCLUDES+= -I$S/contrib/ipfilter +# This hack is to allow kernel compiles to succeed on machines w/out srcdist +.if exists($S/../include) +INCLUDES+= -I$S/../include +.else +INCLUDES+= -I/usr/include +.endif + COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index 004e50f..f194f87 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -44,12 +44,6 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev -# This hack is to allow kernel compiles to succeed on machines w/out srcdist -.if exists($S/../include) -INCLUDES+= -I$S/../include -.else -INCLUDES+= -I/usr/include -.endif # This hack lets us use the Intel ACPICA code without spamming a new # include path into 100+ source files. @@ -58,6 +52,13 @@ INCLUDES+= -I$S/contrib/dev/acpica # ... and the same for ipfilter INCLUDES+= -I$S/contrib/ipfilter +# This hack is to allow kernel compiles to succeed on machines w/out srcdist +.if exists($S/../include) +INCLUDES+= -I$S/../include +.else +INCLUDES+= -I/usr/include +.endif + COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 07e03cf..ec4b719 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -42,12 +42,6 @@ COPTFLAGS?=-O -pipe COPTFLAGS+= ${_CPUCFLAGS} .endif INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev -# This hack is to allow kernel compiles to succeed on machines w/out srcdist -.if exists($S/../include) -INCLUDES+= -I$S/../include -.else -INCLUDES+= -I/usr/include -.endif # This hack lets us use the Intel ACPICA code without spamming a new # include path into 100+ source files. @@ -56,6 +50,13 @@ INCLUDES+= -I$S/contrib/dev/acpica # ... and the same for ipfilter INCLUDES+= -I$S/contrib/ipfilter +# This hack is to allow kernel compiles to succeed on machines w/out srcdist +.if exists($S/../include) +INCLUDES+= -I$S/../include +.else +INCLUDES+= -I/usr/include +.endif + COPTS= ${INCLUDES} ${IDENT} -D_KERNEL -include opt_global.h CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} |