diff options
-rw-r--r-- | share/mk/Makefile | 8 | ||||
-rw-r--r-- | share/mk/bsd.kmod.mk | 7 | ||||
-rw-r--r-- | sys/conf/Makefile.i386 | 14 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 14 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 7 | ||||
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 14 |
6 files changed, 17 insertions, 47 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile index 9debbba..40219a2 100644 --- a/share/mk/Makefile +++ b/share/mk/Makefile @@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.11 1996/06/24 04:23:51 jkh Exp $ +# $Id: Makefile,v 1.12 1996/09/05 18:05:05 bde Exp $ # From: @(#)Makefile 8.1 (Berkeley) 6/8/93 FILES= bsd.README -FILES+= bsd.dep.mk bsd.doc.mk bsd.info.mk bsd.kmod.mk bsd.obj.mk -FILES+= bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.own.mk bsd.port.mk -FILES+= bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk +FILES+= bsd.dep.mk bsd.doc.mk bsd.info.mk bsd.kern.mk bsd.kmod.mk +FILES+= bsd.lib.mk bsd.libnames.mk bsd.man.mk bsd.obj.mk bsd.own.mk +FILES+= bsd.port.mk bsd.port.subdir.mk bsd.prog.mk bsd.sgml.mk bsd.subdir.mk FILES+= sys.mk NOOBJ= noobj diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk index 98ce1a1..f50f42c 100644 --- a/share/mk/bsd.kmod.mk +++ b/share/mk/bsd.kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.26 1996/09/18 06:09:13 swallace Exp $ +# $Id: bsd.kmod.mk,v 1.27 1996/10/06 22:10:35 wosch Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists, @@ -98,10 +98,6 @@ MODUNLOAD?= /sbin/modunload # ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing # actually lives in /sys directly. # -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused -Wpointer-arith - CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ ${CWARNFLAGS} @@ -217,3 +213,4 @@ vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src .include <bsd.obj.mk> .include <bsd.dep.mk> +.include <bsd.kern.mk> diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index f452c0b..801506c 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $ +# $Id: Makefile.i386,v 1.88 1996/09/27 16:34:16 bde Exp $ # # Makefile for FreeBSD # @@ -26,16 +26,6 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused -Wpointer-arith -# -# The following flags are next up for working on: -# -Wall -# -# When working on removing warnings from code, the `-Werror' flag should be -# of material assistance. -# COPTFLAGS?=-O INCLUDES= -nostdinc -I- -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist @@ -186,6 +176,8 @@ vnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src sh $S/kern/vnode_if.sh $S/kern/vnode_if.src +.include <bsd.kern.mk> + %RULES # DO NOT DELETE THIS LINE -- make depend uses it diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index f452c0b..801506c 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $ +# $Id: Makefile.i386,v 1.88 1996/09/27 16:34:16 bde Exp $ # # Makefile for FreeBSD # @@ -26,16 +26,6 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused -Wpointer-arith -# -# The following flags are next up for working on: -# -Wall -# -# When working on removing warnings from code, the `-Werror' flag should be -# of material assistance. -# COPTFLAGS?=-O INCLUDES= -nostdinc -I- -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist @@ -186,6 +176,8 @@ vnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src sh $S/kern/vnode_if.sh $S/kern/vnode_if.src +.include <bsd.kern.mk> + %RULES # DO NOT DELETE THIS LINE -- make depend uses it diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 98ce1a1..f50f42c 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -1,5 +1,5 @@ # From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.kmod.mk,v 1.26 1996/09/18 06:09:13 swallace Exp $ +# $Id: bsd.kmod.mk,v 1.27 1996/10/06 22:10:35 wosch Exp $ # # The include file <bsd.kmod.mk> handles installing Loadable Kernel Modules. # <bsd.kmod.mk> includes the file named "../Makefile.inc" if it exists, @@ -98,10 +98,6 @@ MODUNLOAD?= /sbin/modunload # ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing # actually lives in /sys directly. # -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused -Wpointer-arith - CFLAGS+=${COPTS} -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I${.CURDIR}/../../sys \ ${CWARNFLAGS} @@ -217,3 +213,4 @@ vnode_if.h: ${KERN}/vnode_if.sh ${KERN}/vnode_if.src .include <bsd.obj.mk> .include <bsd.dep.mk> +.include <bsd.kern.mk> diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index f452c0b..801506c 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,7 +1,7 @@ # Makefile.i386 -- with config changes. # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.87 1996/08/31 14:47:08 bde Exp $ +# $Id: Makefile.i386,v 1.88 1996/09/27 16:34:16 bde Exp $ # # Makefile for FreeBSD # @@ -26,16 +26,6 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ - -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ - -Winline -Wunused -Wpointer-arith -# -# The following flags are next up for working on: -# -Wall -# -# When working on removing warnings from code, the `-Werror' flag should be -# of material assistance. -# COPTFLAGS?=-O INCLUDES= -nostdinc -I- -I. -I$S # This hack is to allow kernel compiles to succeed on machines w/out srcdist @@ -186,6 +176,8 @@ vnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src sh $S/kern/vnode_if.sh $S/kern/vnode_if.src +.include <bsd.kern.mk> + %RULES # DO NOT DELETE THIS LINE -- make depend uses it |