define _KERNEL_OPT as well as _KERNEL. we will use this in the future to

get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
This commit is contained in:
mrg 2001-05-29 02:20:20 +00:00
parent ffcbc851a0
commit 3783ca5d30
32 changed files with 63 additions and 63 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.amiga,v 1.93 2001/05/08 06:09:29 is Exp $
# $NetBSD: Makefile.amiga,v 1.94 2001/05/29 02:20:20 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ AMIGA= $S/arch/amiga
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -40,7 +40,7 @@ AMIGA= $S/arch/amigappc
HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Damiga -DFPCOPROC
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Damiga -DFPCOPROC
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith
.if (${HAVE_GCC28} != "")
CWARNFLAGS+= -Wno-main

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm26,v 1.6 2001/02/17 19:38:36 bjh21 Exp $
# $NetBSD: Makefile.arm26,v 1.7 2001/05/29 02:20:21 mrg Exp $
# Makefile for NetBSD/arm26
#
@ -41,7 +41,7 @@ ARM26= $S/arch/arm26
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Darm26
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Darm26
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.arm32,v 1.55 2001/02/19 13:26:17 bjh21 Exp $
# $NetBSD: Makefile.arm32,v 1.56 2001/05/29 02:20:21 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ ARM32= $S/arch/arm32
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Darm32
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Darm32
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.atari,v 1.61 2000/12/17 15:52:40 jdolecek Exp $
# $NetBSD: Makefile.atari,v 1.62 2001/05/29 02:20:21 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ ATARI= $S/arch/atari
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Datari
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Datari
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bebox,v 1.20 2000/12/17 15:52:40 jdolecek Exp $
# $NetBSD: Makefile.bebox,v 1.21 2001/05/29 02:20:21 mrg Exp $
# Makefile for NetBSD
#
@ -41,7 +41,7 @@ POWERPC= $S/arch/powerpc
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dbebox
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dbebox
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.cats,v 1.1 2001/05/22 20:59:27 chris Exp $
# $NetBSD: Makefile.cats,v 1.2 2001/05/29 02:20:22 mrg Exp $
# Makefile for NetBSD
#
@ -39,7 +39,7 @@ THISARM= $S/arch/cats
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dcats
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dcats
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.cesfic,v 1.1 2001/05/14 18:23:06 drochner Exp $
# $NetBSD: Makefile.cesfic,v 1.2 2001/05/29 02:20:22 mrg Exp $
# Makefile for NetBSD
#
@ -34,7 +34,7 @@ CESFIC= $S/arch/cesfic
HAVE_GCC28!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format
.if (${HAVE_GCC28} != "")
CWARNFLAGS+= -Wno-main

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.dnard,v 1.2 2001/05/09 15:16:24 matt Exp $
# $NetBSD: Makefile.dnard,v 1.3 2001/05/29 02:20:22 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ ARM32= $S/arch/arm32
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Ddnard
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Ddnard
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hp300,v 1.77 2000/12/17 15:52:41 jdolecek Exp $
# $NetBSD: Makefile.hp300,v 1.78 2001/05/29 02:20:22 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ HP300= $S/arch/hp300
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dhp300
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dhp300
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.hpcarm,v 1.1 2001/02/23 03:48:08 ichiro Exp $
# $NetBSD: Makefile.hpcarm,v 1.2 2001/05/29 02:20:22 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ HPCARM= $S/arch/hpcarm
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dhpcarm -Darm32
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dhpcarm -Darm32
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.i386,v 1.114 2001/05/16 03:48:45 lukem Exp $
# $NetBSD: Makefile.i386,v 1.115 2001/05/29 02:20:23 mrg Exp $
# Makefile for NetBSD
#
@ -40,7 +40,7 @@ I386= $S/arch/i386
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Di386
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Di386
CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.luna68k,v 1.8 2000/12/17 15:52:41 jdolecek Exp $
# $NetBSD: Makefile.luna68k,v 1.9 2001/05/29 02:20:23 mrg Exp $
# Makefile for NetBSD
#
@ -41,7 +41,7 @@ LUNA68K=$S/arch/luna68k
# Keep -nostdinc before all -I flags, similar for -undef ...
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dluna68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dluna68k
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mac68k,v 1.77 2000/12/17 15:52:42 jdolecek Exp $
# $NetBSD: Makefile.mac68k,v 1.78 2001/05/29 02:20:23 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ MAC68K= $S/arch/mac68k
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmac68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmac68k
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.macppc,v 1.16 2001/05/17 23:48:31 matt Exp $
# $NetBSD: Makefile.macppc,v 1.17 2001/05/29 02:20:23 mrg Exp $
#
# Makefile for NetBSD
#
@ -41,7 +41,7 @@ PPC= $S/arch/macppc
TEXTADDR?= 100000
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmacppc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmacppc
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mips,v 1.13 2001/05/23 02:35:40 hubertf Exp $
# $NetBSD: Makefile.mips,v 1.14 2001/05/29 02:20:24 mrg Exp $
# Makefile for NetBSD
#
@ -46,7 +46,7 @@ MIPS= $S/arch/mips
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D${TARGET_MACHINE}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -D${TARGET_MACHINE}
CWARNFLAGS?= -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mvme68k,v 1.50 2000/12/17 15:52:42 jdolecek Exp $
# $NetBSD: Makefile.mvme68k,v 1.51 2001/05/29 02:20:24 mrg Exp $
# Makefile for NetBSD
#
@ -40,7 +40,7 @@ MVME68K=$S/arch/mvme68k
# Keep -nostdinc before all -I flags, similar for -undef ...
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dmvme68k
.if empty(IDENT:M-DMVME172) && empty(IDENT:M-DMVME177)
.if empty(IDENT:M-DMVME147)
CMACHFLAGS= -m68040

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.netwinder,v 1.1 2001/04/19 07:01:11 matt Exp $
# $NetBSD: Makefile.netwinder,v 1.2 2001/05/29 02:20:24 mrg Exp $
# Makefile for NetBSD
#
@ -39,7 +39,7 @@ THISARM= $S/arch/netwinder
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dnetwinder
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dnetwinder
CWARNFLAGS?= -Werror -Wall -Wcomment -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.news68k,v 1.8 2000/12/17 15:52:42 jdolecek Exp $
# $NetBSD: Makefile.news68k,v 1.9 2001/05/29 02:20:24 mrg Exp $
#
# Makefile for NetBSD
#
@ -39,7 +39,7 @@ NEWS68K=$S/arch/news68k
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dnews68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dnews68k
CWARNFLAGS?= -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wall -Werror
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.next68k,v 1.18 2001/05/13 16:55:37 chs Exp $
# $NetBSD: Makefile.next68k,v 1.19 2001/05/29 02:20:24 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ NEXT68K= $S/arch/next68k
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dnext68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dnext68k
CWARNFLAGS= -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ofppc,v 1.26 2000/12/17 15:52:43 jdolecek Exp $
# $NetBSD: Makefile.ofppc,v 1.27 2001/05/29 02:20:25 mrg Exp $
#
# Makefile for NetBSD
#
@ -41,7 +41,7 @@ POWERPC= $S/arch/powerpc
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dofppc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dofppc
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't
# XXX always get it right. --thorpej

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pc532,v 1.64 2000/12/17 15:52:43 jdolecek Exp $
# $NetBSD: Makefile.pc532,v 1.65 2001/05/29 02:20:25 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ PC532= $S/arch/pc532
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith -Wno-format
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.prep,v 1.4 2000/12/17 15:52:43 jdolecek Exp $
# $NetBSD: Makefile.prep,v 1.5 2001/05/29 02:20:25 mrg Exp $
#
# Makefile for NetBSD
#
@ -42,7 +42,7 @@ POWERPC= $S/arch/powerpc
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dprep
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dprep
CWARNFLAGS?= -Werror -Wreturn-type -Wpointer-arith
#CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
# -Wpointer-arith -Wuninitialized

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sandpoint,v 1.1 2001/02/04 18:32:11 briggs Exp $
# $NetBSD: Makefile.sandpoint,v 1.2 2001/05/29 02:20:25 mrg Exp $
# Makefile for NetBSD
#
@ -48,7 +48,7 @@ POWERPC= $S/arch/powerpc
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dsandpoint
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dsandpoint
CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wreturn-type -Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sh3,v 1.11 2001/03/24 18:26:11 matt Exp $
# $NetBSD: Makefile.sh3,v 1.12 2001/05/29 02:20:25 mrg Exp $
# Makefile for NetBSD
#
@ -44,7 +44,7 @@ SH3= $S/arch/sh3
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D${TARGET_MACHINE}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -D${TARGET_MACHINE}
CWARNFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
CWARNFLAGS+= -Wpointer-arith -Wno-parentheses
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sh3.be,v 1.6 2000/12/17 15:52:43 jdolecek Exp $
# $NetBSD: Makefile.sh3.be,v 1.7 2001/05/29 02:20:25 mrg Exp $
# Makefile for NetBSD
#
@ -37,7 +37,7 @@ S!= cd ../../../..; pwd
SH3= $S/arch/sh3
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT \
-Dsh3
CWARNFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc,v 1.72 2001/02/11 16:16:58 pk Exp $
# $NetBSD: Makefile.sparc,v 1.73 2001/05/29 02:20:26 mrg Exp $
# Makefile for NetBSD
#
@ -40,7 +40,7 @@ SPARC= $S/arch/sparc
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith
# XXX Delete -Wuninitialized for now, since the compiler doesn't

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc64,v 1.36 2001/04/19 07:35:14 mrg Exp $
# $NetBSD: Makefile.sparc64,v 1.37 2001/05/29 02:20:26 mrg Exp $
# Makefile for NetBSD
#
@ -57,7 +57,7 @@ S!= cd ../../../..; pwd
SPARC64= $S/arch/sparc64
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dsparc64 ${SVR4}
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dsparc64 ${SVR4}
#CWARNFLAGS= -Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main -Werror
#CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-main

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun2,v 1.2 2001/04/06 17:17:58 fredette Exp $
# $NetBSD: Makefile.sun2,v 1.3 2001/05/29 02:20:26 mrg Exp $
# Makefile for NetBSD
#
@ -53,7 +53,7 @@ TEXTADDR=0000C000
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -nostdinc -I. -I$S/arch -I$S
XDEFS= -undef -D__NetBSD__ -Dm68k -Dmc68000
DEFINES= -D_KERNEL -Dsun2
DEFINES= -D_KERNEL -D_KERNEL_OPT -Dsun2
CPPFLAGS= ${INCLUDES} ${XDEFS} ${DEFINES} ${IDENT} ${PARAM}
# Make it easy to override this on the command line...
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sun3,v 1.86 2001/02/22 07:11:08 chs Exp $
# $NetBSD: Makefile.sun3,v 1.87 2001/05/29 02:20:26 mrg Exp $
# Makefile for NetBSD
#
@ -51,7 +51,7 @@ TEXTADDR=0E004000
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -nostdinc -I. -I$S/arch -I$S
XDEFS= -undef -D__NetBSD__ -Dm68k -Dmc68000 -D__m68k__ -D__ELF__
DEFINES= -D_KERNEL -Dsun3
DEFINES= -D_KERNEL -D_KERNEL_OPT -Dsun3
CPPFLAGS= ${INCLUDES} ${XDEFS} ${DEFINES} ${IDENT} ${PARAM}
# Make it easy to override this on the command line...
CWARNFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.vax,v 1.57 2001/02/08 15:19:14 chs Exp $
# $NetBSD: Makefile.vax,v 1.58 2001/05/29 02:20:26 mrg Exp $
# Makefile for NetBSD
#
@ -38,7 +38,7 @@ VAX= $S/arch/vax
HAVE_EGCS!= ${CC} --version | egrep "^(2\.[89]|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT \
-D_VAX_INLINE_
CWARNFLAGS?= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
-Wpointer-arith

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.x68k,v 1.49 2000/12/29 15:18:37 minoura Exp $
# $NetBSD: Makefile.x68k,v 1.50 2001/05/29 02:20:27 mrg Exp $
# Makefile for NetBSD
#
@ -40,7 +40,7 @@ X68K= $S/arch/x68k
HAVE_EGCS!= ${CC} --version | egrep "^(2\.8|egcs)" ; echo
INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dx68k
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D_KERNEL_OPT -Dx68k
CMACHFLAGS?= -m68020-60 -Wa,-m68030 -Wa,-m68851
CWARNFLAGS?= -Werror -Wstrict-prototypes -Wmissing-prototypes \
-Wpointer-arith