Move WARNS?=6 into src/bin/Makefile.inc instead of having it set
authorMax Okumoto <okumoto@dragonflybsd.org>
Sun, 6 Feb 2005 06:12:32 +0000 (06:12 +0000)
committerMax Okumoto <okumoto@dragonflybsd.org>
Sun, 6 Feb 2005 06:12:32 +0000 (06:12 +0000)
in all the subdir Makefiles.  Subdirectories that fail WARNS=6
should have lower values to override.

bin/Makefile.inc
bin/sync/Makefile

index 58a1446..6492a9d 100644 (file)
@@ -1,7 +1,7 @@
 #      @(#)Makefile.inc        8.1 (Berkeley) 5/31/93
 # $FreeBSD: src/bin/Makefile.inc,v 1.11.2.1 2001/12/13 09:58:12 ru Exp $
-# $DragonFly: src/bin/Makefile.inc,v 1.2 2003/06/17 04:22:38 dillon Exp $
+# $DragonFly: src/bin/Makefile.inc,v 1.3 2005/02/06 06:12:32 okumoto Exp $
 
 BINDIR?=       /bin
-CFLAGS+=       -Wall -Wformat
 NOSHARED?=     YES
+WARNS?=                6
index 67def40..aa5305f 100644 (file)
@@ -1,10 +1,8 @@
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 # $FreeBSD: src/bin/sync/Makefile,v 1.6.2.2 2001/08/01 05:27:45 obrien Exp $
-# $DragonFly: src/bin/sync/Makefile,v 1.3 2004/09/26 16:09:13 asmodai Exp $
+# $DragonFly: src/bin/sync/Makefile,v 1.4 2005/02/06 06:12:32 okumoto Exp $
 
 PROG=  sync
 MAN=   sync.8
 
-WARNS?=        6
-
 .include <bsd.prog.mk>