Enable WARNS=4 by default except for:

dump  dump_lfs  fsck_ffs  fsck_lfs  fsdb  mount_smbfs
	newfs_ext2fs  newfs_lfs  resize_lfs  setkey
This commit is contained in:
lukem 2009-04-11 07:58:11 +00:00
parent 6f957c8d46
commit ef685eeea9
20 changed files with 41 additions and 31 deletions

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.inc,v 1.20 2006/10/08 17:52:28 peter Exp $
# $NetBSD: Makefile.inc,v 1.21 2009/04/11 07:58:11 lukem Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/8/93
.include <bsd.own.mk> # for MKDYNAMICROOT definition
WARNS?= 3
WARNS?= 4
BINDIR?= /sbin
.if (${MKDYNAMICROOT} == "no")

View File

@ -1,9 +1,7 @@
# $OpenBSD: Makefile,v 1.8 2006/11/26 11:31:08 deraadt Exp $
# $NetBSD: Makefile,v 1.4 2009/04/11 07:58:11 lukem Exp $
PROG= bioctl
SRCS= bioctl.c strtonum.c
MAN= bioctl.8
WARNS= 4
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2008/08/29 00:02:23 gmcgarry Exp $
# $NetBSD: Makefile,v 1.36 2009/04/11 07:58:11 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# dump.h header file
@ -20,6 +20,8 @@
# STATS read cache statistics
# DIAGNOSTICS read cache diagnostic checks
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= dump

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2009/02/13 16:02:05 uebayasi Exp $
# $NetBSD: Makefile,v 1.11 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# lfs_inode.c LFS filestore-specific routines
@ -6,6 +6,8 @@
# DEBUG use local directory to find ddate and dumpdates
# TDEBUG trace out the process forking
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= dump_lfs

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.38 2008/08/30 10:46:16 bouyer Exp $
# $NetBSD: Makefile,v 1.39 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= fsck_ffs

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.15 2007/12/28 21:44:32 ad Exp $
# $NetBSD: Makefile,v 1.16 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= fsck_lfs

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.24 2008/08/29 00:02:23 gmcgarry Exp $
# $NetBSD: Makefile,v 1.25 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
WARNS?= 3 # XXX: sign-compare issues in ../fsck_ffs
.include <bsd.own.mk>
PROG= fsdb

View File

@ -1,10 +1,9 @@
# $NetBSD: Makefile,v 1.2 2006/10/15 22:36:29 christos Exp $
# $NetBSD: Makefile,v 1.3 2009/04/11 07:58:12 lukem Exp $
# $FreeBSD: src/sbin/gpt/Makefile,v 1.7 2005/09/01 02:49:20 marcel Exp $
PROG= gpt
SRCS= add.c create.c destroy.c gpt.c label.c map.c migrate.c recover.c \
remove.c show.c
WARNS?= 4
MAN= gpt.8
LDADD+= -lprop -lutil

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.40 2009/02/13 16:02:05 uebayasi Exp $
# $NetBSD: Makefile,v 1.41 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# when making a change to this file, please check if the change is
@ -8,7 +8,6 @@
MAN= ifconfig.8
WARNS=4
#CFLAGS+=-g
SRCS= af_atalk.c af_iso.c af_link.c carp.c
.if (${USE_INET6} != "no")

View File

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.37 2007/02/04 20:54:02 christos Exp $
# $NetBSD: Makefile,v 1.38 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
WARNS= 4
PROG= init
MAN= init.8
DPADD= ${LIBUTIL}

View File

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.12 2009/02/13 01:37:35 lukem Exp $
# $NetBSD: Makefile,v 1.13 2009/04/11 07:58:12 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= mknod
SRCS= mknod.c pack_dev.c
MAN= mknod.8
WARNS= 4
.include <bsd.prog.mk>

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.5 2008/08/29 00:02:23 gmcgarry Exp $
# $NetBSD: Makefile,v 1.6 2009/04/11 07:58:12 lukem Exp $
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2008/08/05 20:57:45 pooka Exp $
# $NetBSD: Makefile,v 1.5 2009/04/11 07:58:12 lukem Exp $
.include <bsd.own.mk>
@ -12,6 +12,5 @@ MOUNT= ${NETBSDSRCDIR}/sbin/mount
CPPFLAGS+= -I${MOUNT}
DPADD+= ${LIBUTIL}
LDADD+= -lutil
WARNS= 4
.include <bsd.prog.mk>

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2008/08/05 20:57:45 pooka Exp $
# $NetBSD: Makefile,v 1.3 2009/04/11 07:58:13 lukem Exp $
.include <bsd.own.mk>
WARNS= 4
PROG= mount_udf
SRCS= mount_udf.c fattr.c pathadj.c
MAN= mount_udf.8

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.1 2007/11/17 16:50:25 tsutsui Exp $
# $NetBSD: Makefile,v 1.2 2009/04/11 07:58:13 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= newfs_ext2fs

View File

@ -1,6 +1,8 @@
# $NetBSD: Makefile,v 1.6 2007/12/28 21:44:32 ad Exp $
# $NetBSD: Makefile,v 1.7 2009/04/11 07:58:13 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/18/93
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>
PROG= newfs_lfs

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2009/01/14 20:38:53 he Exp $
# $NetBSD: Makefile,v 1.3 2009/04/11 07:58:13 lukem Exp $
.include <bsd.own.mk>
WARNS= 4
PROG= newfs_udf
MAN= newfs_udf.8
SRCS= newfs_udf.c udf_create.c udf_osta.c fattr.c

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.3 2006/09/07 23:53:41 riz Exp $
# $NetBSD: Makefile,v 1.4 2009/04/11 07:58:13 lukem Exp $
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>

View File

@ -1,4 +1,6 @@
# $NetBSD: Makefile,v 1.9 2005/12/16 16:25:07 jmc Exp $
# $NetBSD: Makefile,v 1.10 2009/04/11 07:58:13 lukem Exp $
WARNS?= 3 # XXX: sign-compare issues
.include <bsd.own.mk>

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.10 2007/05/28 12:06:23 tls Exp $
# $NetBSD: Makefile,v 1.11 2009/04/11 07:58:13 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
USE_FORT?=yes # setuid
WARNS= 4
PROG= shutdown
MAN= shutdown.8
BINOWN= root