summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-10-08 22:09:03 +0000
committerbde <bde@FreeBSD.org>1996-10-08 22:09:03 +0000
commitfa51fcfcddd49120686066ecfeffeceac59814d5 (patch)
treea5beab5e5ee150cad2a8bcf4b7fa90e70ee76c83 /share
parentf89fc380f7be70fcafd2061e642b9bf3987fde4f (diff)
downloadFreeBSD-src-fa51fcfcddd49120686066ecfeffeceac59814d5.zip
FreeBSD-src-fa51fcfcddd49120686066ecfeffeceac59814d5.tar.gz
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
Diffstat (limited to 'share')
-rw-r--r--share/mk/Makefile8
-rw-r--r--share/mk/bsd.kmod.mk7
2 files changed, 6 insertions, 9 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>
OpenPOWER on IntegriCloud