summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/conf/Makefile.alpha4
-rw-r--r--sys/arch/amiga/conf/Makefile.amiga4
-rw-r--r--sys/arch/arc/conf/Makefile.arc6
-rw-r--r--sys/arch/hp300/conf/Makefile.hp3004
-rw-r--r--sys/arch/i386/conf/Makefile.i3864
-rw-r--r--sys/arch/kbus/conf/Makefile.kbus4
-rw-r--r--sys/arch/pmax/conf/Makefile.pmax6
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc4
-rw-r--r--sys/arch/sun3/conf/Makefile.sun34
9 files changed, 21 insertions, 19 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha
index 2431ed9607a..3c3b69e00cc 100644
--- a/sys/arch/alpha/conf/Makefile.alpha
+++ b/sys/arch/alpha/conf/Makefile.alpha
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.alpha,v 1.15 1997/09/15 02:40:24 deraadt Exp $
+# $OpenBSD: Makefile.alpha,v 1.16 1998/03/03 22:34:40 niklas Exp $
# $NetBSD: Makefile.alpha,v 1.27 1996/12/01 06:12:25 jonathan Exp $
# Makefile for OpenBSD
@@ -38,7 +38,7 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dalpha
CDIAGFLAGS?= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format
+ -Wno-uninitialized -Wno-format -Wno-main
CMACHFLAGS= -mno-fp-regs
CFLAGS= ${DEBUG} -O2 ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS}
diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga
index 9a48571df12..25e1da45fa0 100644
--- a/sys/arch/amiga/conf/Makefile.amiga
+++ b/sys/arch/amiga/conf/Makefile.amiga
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amiga,v 1.22 1997/09/18 13:39:39 niklas Exp $
+# $OpenBSD: Makefile.amiga,v 1.23 1998/03/03 22:34:45 niklas Exp $
# $NetBSD: Makefile.amiga,v 1.60 1997/07/23 10:19:42 is Exp $
# Makefile for OpenBSD
@@ -39,7 +39,7 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmc68020 -Damiga
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format
+ -Wno-uninitialized -Wno-format -Wno-main
.if empty(IDENT:M-DM68060)
CMACHFLAGS= -m68020
diff --git a/sys/arch/arc/conf/Makefile.arc b/sys/arch/arc/conf/Makefile.arc
index 4f4ced253cc..235366126d8 100644
--- a/sys/arch/arc/conf/Makefile.arc
+++ b/sys/arch/arc/conf/Makefile.arc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arc,v 1.10 1998/01/28 13:46:02 pefo Exp $
+# $OpenBSD: Makefile.arc,v 1.11 1998/03/03 22:34:48 niklas Exp $
# @(#)Makefile.arc 8.2 (Berkeley) 2/16/94
#
@@ -38,8 +38,8 @@ MIPS= ../../../mips
INCLUDES= -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Darc
-CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
- -Wno-format
+CDIAGFLAGS= -Werror -Wall -Wmissing-protoypes -Wstrict-prototypes \
+ -Wno-uninitialized -Wno-format -Wno-main
CFLAGS= ${DEBUG} -O2 ${CDIAGFLAGS} -mno-abicalls -mips2 -mcpu=r4000
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index fd8cf4e8a85..f14c83b5890 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.18 1997/09/23 07:09:53 downsj Exp $
+# $OpenBSD: Makefile.hp300,v 1.19 1998/03/03 22:34:52 niklas Exp $
# $NetBSD: Makefile.hp300,v 1.54 1997/04/01 23:16:41 scottr Exp $
# Makefile for OpenBSD
@@ -36,7 +36,7 @@ INCLUDES= -I. -I$S/arch -I$S -nostdinc
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dhp300
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
- -Wno-format
+ -Wno-format -Wno-main
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -msoft-float
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index 885674ef2bf..e8e903b319b 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.21 1997/09/21 04:27:33 mickey Exp $
+# $OpenBSD: Makefile.i386,v 1.22 1998/03/03 22:34:56 niklas Exp $
# $NetBSD: Makefile.i386,v 1.67 1996/05/11 16:12:11 mycroft Exp $
# Makefile for OpenBSD
@@ -40,7 +40,7 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Di386
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format
+ -Wno-uninitialized -Wno-format -Wno-main
.if ${IDENT:M-D*_CPU} == ${IDENT:M-DI486_CPU}
CMACHFLAGS= -m486
diff --git a/sys/arch/kbus/conf/Makefile.kbus b/sys/arch/kbus/conf/Makefile.kbus
index 4366749e9e5..7bed780daaf 100644
--- a/sys/arch/kbus/conf/Makefile.kbus
+++ b/sys/arch/kbus/conf/Makefile.kbus
@@ -43,7 +43,9 @@ KBUS= ../..
CPPFLAGS= -I. -I$S -I$S/sys -I${KBUS}
INCLUDES=$(CPPFLAGS)
COPTS= ${INCLUDES} ${IDENT} -D_KERNEL
-CDIAGFLAGS= -Wall -Werror -Wno-format -Wstrict-prototypes -Wmissing-prototypes
+CDIAGFLAGS= -Wall -Werror -Wno-format -Wstrict-prototypes \
+ -Wmissing-prototypes -Wno-main -Wno-uninitialized
+
CFLAGS= -pipe -O ${COPTS} ${CDIAGFLAGS}
ASFLAGS=
diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax
index 05d69b7de57..775e813e965 100644
--- a/sys/arch/pmax/conf/Makefile.pmax
+++ b/sys/arch/pmax/conf/Makefile.pmax
@@ -39,10 +39,10 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax
# that is our goal to be up to date with i386 for instance ...
-#CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \
-# -Wno-format
+#CDIAGFLAGS= -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes \
+# -Wno-uninitialized -Wno-format -Wno-main
# ... and this we will use for now to get the kernel compiled
-CDIAGFLAGS= -Werror
+CDIAGFLAGS= -Werror -Wno-main
CMACHFLAGS= -mno-abicalls -mcpu=r3000
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index c503cc0d5ef..431aefe0260 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.14 1997/09/15 02:40:35 deraadt Exp $
+# $OpenBSD: Makefile.sparc,v 1.15 1998/03/03 22:35:07 niklas Exp $
# $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $
# Makefile for OpenBSD
@@ -40,7 +40,7 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
- -Wno-uninitialized -Wno-format
+ -Wno-uninitialized -Wno-format -Wno-main
.if ${IDENT:M-DSUN*} == ${IDENT:M-DSUN4M}
CMACHFLAGS= -mv8
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3
index 933ffc8272a..6e843225473 100644
--- a/sys/arch/sun3/conf/Makefile.sun3
+++ b/sys/arch/sun3/conf/Makefile.sun3
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sun3,v 1.21 1997/09/15 02:40:36 deraadt Exp $
+# $OpenBSD: Makefile.sun3,v 1.22 1998/03/03 22:35:11 niklas Exp $
# $NetBSD: Makefile.sun3,v 1.51 1996/09/09 21:07:08 mycroft Exp $
# Makefile for OpenBSD
@@ -39,7 +39,7 @@ XDEFS= -undef -D__OpenBSD__ -Dm68k -Dmc68000
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dmc68020 -Dsun3 ${XDEFS}
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes \
- -Wno-format -Wno-uninitialized \
+ -Wno-format -Wno-uninitialized -Wno-main \
# -Wmissing-prototypes
CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float -fno-defer-pop
AFLAGS= -m68020 -x assembler-with-cpp -traditional-cpp -D_LOCORE