summaryrefslogtreecommitdiffstats
path: root/share/mk/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-05-19 23:18:21 +0000
committerkris <kris@FreeBSD.org>2001-05-19 23:18:21 +0000
commit3252dc5107a4f4a57fac1274dac76f4212b58018 (patch)
treeddfd198217a004ce1ab17349fb5b0668c701324d /share/mk/Makefile
parenta8fdb15db6fec27e9ebc57586662b2c7de9f1406 (diff)
downloadFreeBSD-src-3252dc5107a4f4a57fac1274dac76f4212b58018.zip
FreeBSD-src-3252dc5107a4f4a57fac1274dac76f4212b58018.tar.gz
Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mk
to avoid polluting sys.mk. This directive controls the addition of compiler warning flags to CFLAGS in a relatively compiler-neutral manner. The idea is that WARNS can be set in Makefile.inc or in individual Makefiles as they become clean, to prevent the introduction of new warnings in the code. -Werror is added by default
Diffstat (limited to 'share/mk/Makefile')
-rw-r--r--share/mk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/Makefile b/share/mk/Makefile
index bfc3102..e63005c 100644
--- a/share/mk/Makefile
+++ b/share/mk/Makefile
@@ -5,7 +5,7 @@ FILES= bsd.README
FILES+= bsd.cpu.mk bsd.dep.mk bsd.doc.mk bsd.docb.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.post.mk bsd.port.pre.mk bsd.port.subdir.mk
-FILES+= bsd.prog.mk bsd.sgml.mk bsd.subdir.mk
+FILES+= bsd.prog.mk bsd.sgml.mk bsd.subdir.mk bsd.sys.mk
FILES+= sys.mk
NOOBJ= noobj
OpenPOWER on IntegriCloud