set WARNS6 in /usr/bin Makefiles

Larry Lansing lansil at fuzzynerd.com
Sat Jan 15 22:34:38 PST 2005


This patch sets WARNS to 6 on targets that already compile cleanly, but
are currently set to lower levels.

--
Larry Lansing


Index: c99/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/c99/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- c99/Makefile	23 Jul 2004 16:32:58 -0000	1.1
+++ c99/Makefile	16 Jan 2005 06:14:52 -0000
@@ -1,5 +1,6 @@
 # $DragonFly: src/usr.bin/c99/Makefile,v 1.1 2004/07/23 16:32:58 hmp Exp $
 
 PROG=	c99
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: expand/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/expand/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- expand/Makefile	17 Jun 2003 04:29:26 -0000	1.2
+++ expand/Makefile	16 Jan 2005 06:15:23 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/expand/Makefile,v 1.2 2003/06/17 04:29:26 dillon Exp $
 
 PROG=	expand
+WARNS?=	6
 MLINKS=	expand.1 unexpand.1
 
 .include <bsd.prog.mk>
Index: file2c/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/file2c/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- file2c/Makefile	17 Jun 2003 04:29:26 -0000	1.2
+++ file2c/Makefile	16 Jan 2005 06:15:24 -0000
@@ -2,5 +2,6 @@
 # $DragonFly: src/usr.bin/file2c/Makefile,v 1.2 2003/06/17 04:29:26 dillon Exp $
 
 PROG=	file2c
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: fmt/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/fmt/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- fmt/Makefile	17 Jun 2003 04:29:26 -0000	1.2
+++ fmt/Makefile	16 Jan 2005 06:15:27 -0000
@@ -5,6 +5,6 @@
 PROG=	fmt
 SRCS=	fmt.c
 
-WARNS?=	2
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: fold/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/fold/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- fold/Makefile	17 Jun 2003 02:56:07 -0000	1.1
+++ fold/Makefile	16 Jan 2005 06:15:28 -0000
@@ -1,5 +1,6 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 PROG=	fold
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: from/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/from/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- from/Makefile	17 Jun 2003 02:56:07 -0000	1.1
+++ from/Makefile	16 Jan 2005 06:15:28 -0000
@@ -1,5 +1,6 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 PROG=	from
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: key/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/key/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- key/Makefile	17 Jun 2003 04:29:27 -0000	1.2
+++ key/Makefile	16 Jan 2005 06:15:52 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/key/Makefile,v 1.2 2003/06/17 04:29:27 dillon Exp $
 
 PROG=	key
+WARNS?=	6
 SRCS=	skey.c
 
 CFLAGS+= -D_SKEY_INTERNAL
Index: keyinfo/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/keyinfo/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- keyinfo/Makefile	17 Jun 2003 04:29:27 -0000	1.2
+++ keyinfo/Makefile	16 Jan 2005 06:15:53 -0000
@@ -6,6 +6,6 @@
 DPADD=	${LIBSKEY} ${LIBCRYPT} ${LIBMD}
 LDADD=	-lskey -lcrypt -lmd
 BINMODE=4555
-WARNS?=1
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: keyinit/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/keyinit/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- keyinit/Makefile	17 Jun 2003 04:29:27 -0000	1.2
+++ keyinit/Makefile	16 Jan 2005 06:15:53 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/keyinit/Makefile,v 1.2 2003/06/17 04:29:27 dillon Exp $
 
 PROG=	keyinit
+WARNS?=	6
 SRCS=	skeyinit.c
 
 CFLAGS+= -D_SKEY_INTERNAL
Index: lastcomm/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/lastcomm/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- lastcomm/Makefile	17 Jun 2003 04:29:27 -0000	1.2
+++ lastcomm/Makefile	16 Jan 2005 06:15:55 -0000
@@ -3,6 +3,6 @@
 # $DragonFly: src/usr.bin/lastcomm/Makefile,v 1.2 2003/06/17 04:29:27 dillon Exp $
 
 PROG=	lastcomm
-WARNS?=	2
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: leave/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/leave/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- leave/Makefile	17 Jun 2003 04:29:27 -0000	1.2
+++ leave/Makefile	16 Jan 2005 06:15:56 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/leave/Makefile,v 1.2 2003/06/17 04:29:27 dillon Exp $
 
 PROG=	leave
+WARNS?=	6
 CFLAGS+=-Wall
 
 .include <bsd.prog.mk>
Index: locate/bigram/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/locate/bigram/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- locate/bigram/Makefile	17 Jun 2003 04:29:28 -0000	1.2
+++ locate/bigram/Makefile	16 Jan 2005 06:16:10 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/locate/bigram/Makefile,v 1.2 2003/06/17 04:29:28 dillon Exp $
 
 PROG=	locate.bigram
+WARNS?=	6
 NOMAN=	noman
 BINDIR=	${LIBEXECDIR}
 CFLAGS+= -I${.CURDIR}/../locate
Index: locate/code/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/locate/code/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- locate/code/Makefile	17 Jun 2003 04:29:28 -0000	1.2
+++ locate/code/Makefile	16 Jan 2005 06:16:10 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/locate/code/Makefile,v 1.2 2003/06/17 04:29:28 dillon Exp $
 
 PROG=	locate.code
+WARNS?=	6
 CFLAGS+=-I${.CURDIR}/../locate 
 NOMAN=	noman
 BINDIR=	${LIBEXECDIR}
Index: lsvfs/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/lsvfs/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- lsvfs/Makefile	17 Jun 2003 04:29:28 -0000	1.2
+++ lsvfs/Makefile	16 Jan 2005 06:16:13 -0000
@@ -1,6 +1,6 @@
 # $FreeBSD: src/usr.bin/lsvfs/Makefile,v 1.4.2.1 2001/07/30 09:59:16 dd Exp $
 # $DragonFly: src/usr.bin/lsvfs/Makefile,v 1.2 2003/06/17 04:29:28 dillon Exp $
 PROG=	lsvfs
-WARNS?=	2
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: minigzip/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/minigzip/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- minigzip/Makefile	23 Oct 2004 15:58:18 -0000	1.3
+++ minigzip/Makefile	16 Jan 2005 06:16:20 -0000
@@ -2,6 +2,7 @@
 # $DragonFly: src/usr.bin/minigzip/Makefile,v 1.3 2004/10/23 15:58:18 joerg Exp $
 
 PROG=	minigzip
+WARNS?=	6
 LDADD+=	-lz
 DPADD+=	${LIBZ}
 
Index: mkstr/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/mkstr/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- mkstr/Makefile	17 Jun 2003 02:56:21 -0000	1.1
+++ mkstr/Makefile	16 Jan 2005 06:16:22 -0000
@@ -1,5 +1,6 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 PROG=	mkstr
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: passwd/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/passwd/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- passwd/Makefile	17 Nov 2004 19:16:05 -0000	1.4
+++ passwd/Makefile	16 Jan 2005 06:16:32 -0000
@@ -7,6 +7,7 @@
 .if defined(NOPAM)
 
 PROG=	passwd
+WARNS?=	6
 SRCS=	local_passwd.c passwd.c pw_copy.c pw_scan.c pw_util.c 
 
 GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \
Index: renice/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/renice/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- renice/Makefile	17 Jun 2003 04:29:30 -0000	1.2
+++ renice/Makefile	16 Jan 2005 06:16:39 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/renice/Makefile,v 1.2 2003/06/17 04:29:30 dillon Exp $
 
 PROG=	renice
+WARNS?=	6
 MAN=	renice.8
 
 .include <bsd.prog.mk>
Index: tr/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/tr/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- tr/Makefile	17 Jun 2003 02:56:31 -0000	1.1
+++ tr/Makefile	16 Jan 2005 06:17:06 -0000
@@ -1,6 +1,7 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 PROG=	tr
+WARNS?=	6
 SRCS=	str.c tr.c
 
 .include <bsd.prog.mk>
Index: truncate/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/truncate/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- truncate/Makefile	17 Jun 2003 04:29:33 -0000	1.2
+++ truncate/Makefile	16 Jan 2005 06:17:07 -0000
@@ -2,5 +2,6 @@
 # $DragonFly: src/usr.bin/truncate/Makefile,v 1.2 2003/06/17 04:29:33 dillon Exp $
 
 PROG=		truncate
+WARNS?=	6
 
 .include <bsd.prog.mk>
Index: unexpand/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/unexpand/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- unexpand/Makefile	17 Jun 2003 04:29:33 -0000	1.2
+++ unexpand/Makefile	16 Jan 2005 06:17:13 -0000
@@ -3,6 +3,7 @@
 # $DragonFly: src/usr.bin/unexpand/Makefile,v 1.2 2003/06/17 04:29:33 dillon Exp $
 
 PROG=	unexpand
+WARNS?=	6
 NOMAN=	noman
 
 .include <bsd.prog.mk>
Index: unifdef/Makefile
===================================================================
RCS file: /home/dcvs/src/usr.bin/unifdef/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- unifdef/Makefile	31 Jan 2004 06:56:44 -0000	1.3
+++ unifdef/Makefile	16 Jan 2005 06:17:14 -0000
@@ -5,6 +5,6 @@
 PROG=	unifdef
 SCRIPTS=unifdefall.sh
 MLINKS=	unifdef.1 unifdefall.1
-WARNS?=	5
+WARNS?=	6
 
 .include <bsd.prog.mk>





More information about the Submit mailing list