Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

The last big commit: let usr.sbin/ use WARNS=6 by default.

  • Loading branch information...
commit cd389d2784f413f9bd3e3698fc806a0727c5e903 1 parent 0388943
EdSchouten authored January 02, 2010

Showing 163 changed files with 157 additions and 137 deletions. Show diff stats Hide diff stats

  1. 2  usr.sbin/Makefile.inc
  2. 2  usr.sbin/ac/Makefile
  3. 2  usr.sbin/accton/Makefile
  4. 1  usr.sbin/acpi/acpiconf/Makefile
  5. 1  usr.sbin/acpi/acpidump/Makefile
  6. 2  usr.sbin/acpi/iasl/Makefile
  7. 2  usr.sbin/amd/Makefile.inc
  8. 1  usr.sbin/apm/Makefile
  9. 2  usr.sbin/apmd/Makefile
  10. 2  usr.sbin/asf/Makefile
  11. 2  usr.sbin/audit/Makefile
  12. 2  usr.sbin/auditd/Makefile
  13. 2  usr.sbin/auditreduce/Makefile
  14. 2  usr.sbin/authpf/Makefile
  15. 2  usr.sbin/boot0cfg/Makefile
  16. 2  usr.sbin/bootparamd/Makefile.inc
  17. 1  usr.sbin/bsnmpd/bsnmpd/Makefile
  18. 2  usr.sbin/bsnmpd/gensnmptree/Makefile
  19. 1  usr.sbin/bsnmpd/modules/snmp_pf/Makefile
  20. 2  usr.sbin/btxld/Makefile
  21. 2  usr.sbin/burncd/Makefile
  22. 2  usr.sbin/cdcontrol/Makefile
  23. 2  usr.sbin/chkgrp/Makefile
  24. 2  usr.sbin/chown/Makefile
  25. 2  usr.sbin/chroot/Makefile
  26. 1  usr.sbin/clear_locks/Makefile
  27. 1  usr.sbin/config/Makefile
  28. 2  usr.sbin/cpucontrol/Makefile
  29. 2  usr.sbin/cron/cron/Makefile
  30. 2  usr.sbin/crunch/Makefile.inc
  31. 2  usr.sbin/ctm/ctm/Makefile
  32. 2  usr.sbin/ctm/ctm_dequeue/Makefile
  33. 2  usr.sbin/ctm/ctm_rmail/Makefile
  34. 2  usr.sbin/ctm/ctm_smail/Makefile
  35. 2  usr.sbin/daemon/Makefile
  36. 2  usr.sbin/dconschat/Makefile
  37. 2  usr.sbin/devinfo/Makefile
  38. 2  usr.sbin/digictl/Makefile
  39. 2  usr.sbin/diskinfo/Makefile
  40. 2  usr.sbin/dnssec-dsfromkey/Makefile
  41. 2  usr.sbin/dnssec-keyfromlabel/Makefile
  42. 2  usr.sbin/dnssec-keygen/Makefile
  43. 2  usr.sbin/dnssec-signzone/Makefile
  44. 1  usr.sbin/dumpcis/Makefile
  45. 2  usr.sbin/editmap/Makefile
  46. 2  usr.sbin/edquota/Makefile
  47. 1  usr.sbin/eeprom/Makefile
  48. 2  usr.sbin/extattr/Makefile
  49. 2  usr.sbin/extattrctl/Makefile
  50. 2  usr.sbin/faithd/Makefile
  51. 1  usr.sbin/fdcontrol/Makefile
  52. 1  usr.sbin/fdformat/Makefile
  53. 2  usr.sbin/fdread/Makefile
  54. 1  usr.sbin/fdwrite/Makefile
  55. 2  usr.sbin/fifolog/Makefile.inc
  56. 2  usr.sbin/ftp-proxy/libevent/Makefile
  57. 2  usr.sbin/getfmac/Makefile
  58. 2  usr.sbin/getpmac/Makefile
  59. 1  usr.sbin/gstat/Makefile
  60. 2  usr.sbin/inetd/Makefile
  61. 2  usr.sbin/iostat/Makefile
  62. 2  usr.sbin/ip6addrctl/Makefile
  63. 2  usr.sbin/ipfwpcap/Makefile
  64. 2  usr.sbin/jail/Makefile
  65. 1  usr.sbin/jexec/Makefile
  66. 2  usr.sbin/jls/Makefile
  67. 1  usr.sbin/kernbb/Makefile
  68. 2  usr.sbin/lastlogin/Makefile
  69. 2  usr.sbin/lmcconfig/Makefile
  70. 2  usr.sbin/lpr/common_source/Makefile
  71. 2  usr.sbin/lpr/filters.ru/Makefile.inc
  72. 2  usr.sbin/lpr/lpc/Makefile
  73. 2  usr.sbin/lpr/lpd/Makefile
  74. 2  usr.sbin/lpr/lpr/Makefile
  75. 2  usr.sbin/lptcontrol/Makefile
  76. 2  usr.sbin/mailstats/Makefile
  77. 1  usr.sbin/mailwrapper/Makefile
  78. 2  usr.sbin/makemap/Makefile
  79. 1  usr.sbin/memcontrol/Makefile
  80. 2  usr.sbin/mixer/Makefile
  81. 2  usr.sbin/mld6query/Makefile
  82. 2  usr.sbin/mlxcontrol/Makefile
  83. 1  usr.sbin/mount_smbfs/Makefile
  84. 2  usr.sbin/moused/Makefile
  85. 1  usr.sbin/mptable/Makefile
  86. 2  usr.sbin/mtree/Makefile
  87. 2  usr.sbin/named-checkconf/Makefile
  88. 2  usr.sbin/named-checkzone/Makefile
  89. 2  usr.sbin/named/Makefile
  90. 2  usr.sbin/ndp/Makefile
  91. 2  usr.sbin/newsyslog/Makefile
  92. 2  usr.sbin/nfsd/Makefile
  93. 1  usr.sbin/nghook/Makefile
  94. 2  usr.sbin/ntp/Makefile.inc
  95. 2  usr.sbin/nvram/Makefile
  96. 2  usr.sbin/ofwdump/Makefile
  97. 2  usr.sbin/pciconf/Makefile
  98. 1  usr.sbin/pkg_install/delete/Makefile
  99. 1  usr.sbin/pkg_install/info/Makefile
  100. 1  usr.sbin/pkg_install/updating/Makefile
  101. 1  usr.sbin/pkg_install/version/Makefile
  102. 2  usr.sbin/pmcannotate/Makefile
  103. 2  usr.sbin/pmccontrol/Makefile
  104. 2  usr.sbin/pmcstat/Makefile
  105. 2  usr.sbin/pnpinfo/Makefile
  106. 1  usr.sbin/portsnap/make_index/Makefile
  107. 1  usr.sbin/portsnap/phttpget/Makefile
  108. 1  usr.sbin/powerd/Makefile
  109. 2  usr.sbin/pppctl/Makefile
  110. 2  usr.sbin/praliases/Makefile
  111. 2  usr.sbin/praudit/Makefile
  112. 2  usr.sbin/procctl/Makefile
  113. 2  usr.sbin/pstat/Makefile
  114. 2  usr.sbin/pw/Makefile
  115. 1  usr.sbin/pwd_mkdb/Makefile
  116. 2  usr.sbin/quotaon/Makefile
  117. 2  usr.sbin/repquota/Makefile
  118. 1  usr.sbin/rip6query/Makefile
  119. 2  usr.sbin/rmt/Makefile
  120. 2  usr.sbin/rndc-confgen/Makefile
  121. 2  usr.sbin/rndc/Makefile
  122. 2  usr.sbin/route6d/Makefile
  123. 2  usr.sbin/rpc.lockd/Makefile
  124. 2  usr.sbin/rpc.statd/Makefile
  125. 2  usr.sbin/rpc.umntall/Makefile
  126. 2  usr.sbin/rpc.yppasswdd/Makefile
  127. 2  usr.sbin/rpc.ypupdated/Makefile
  128. 2  usr.sbin/rpc.ypxfrd/Makefile
  129. 2  usr.sbin/rpcbind/Makefile
  130. 2  usr.sbin/rrenumd/Makefile
  131. 2  usr.sbin/rtadvd/Makefile
  132. 2  usr.sbin/rtprio/Makefile
  133. 2  usr.sbin/rtsold/Makefile
  134. 3  usr.sbin/rwhod/Makefile
  135. 2  usr.sbin/sa/Makefile
  136. 2  usr.sbin/sendmail/Makefile
  137. 2  usr.sbin/setfmac/Makefile
  138. 2  usr.sbin/setpmac/Makefile
  139. 1  usr.sbin/smbmsg/Makefile
  140. 2  usr.sbin/sysinstall/Makefile
  141. 2  usr.sbin/tcpdchk/Makefile
  142. 2  usr.sbin/tcpdmatch/Makefile
  143. 1  usr.sbin/tcpdrop/Makefile
  144. 2  usr.sbin/tcpdump/Makefile.inc
  145. 2  usr.sbin/traceroute/Makefile
  146. 2  usr.sbin/traceroute6/Makefile
  147. 2  usr.sbin/tzsetup/Makefile
  148. 2  usr.sbin/uathload/Makefile
  149. 2  usr.sbin/usbdevs/Makefile
  150. 2  usr.sbin/vidcontrol/Makefile
  151. 2  usr.sbin/vipw/Makefile
  152. 1  usr.sbin/wake/Makefile
  153. 1  usr.sbin/watchdogd/Makefile
  154. 2  usr.sbin/wlandebug/Makefile
  155. 2  usr.sbin/wlconfig/Makefile
  156. 2  usr.sbin/yp_mkdb/Makefile
  157. 2  usr.sbin/ypbind/Makefile
  158. 2  usr.sbin/yppoll/Makefile
  159. 2  usr.sbin/yppush/Makefile
  160. 2  usr.sbin/ypserv/Makefile
  161. 2  usr.sbin/ypset/Makefile
  162. 2  usr.sbin/zic/zdump/Makefile
  163. 2  usr.sbin/zic/zic/Makefile
2  usr.sbin/Makefile.inc
@@ -2,3 +2,5 @@
2 2
 # $FreeBSD$
3 3
 
4 4
 BINDIR?=	/usr/sbin
  5
+
  6
+WARNS?=		6
2  usr.sbin/ac/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	ac
4 4
 MAN=	ac.8
5 5
 
6  
-WARNS?=	4
7  
-
8 6
 # Temporary, while tracking down problem wrt 64-bit time_t's on sparc64
9 7
 .if ${MACHINE_ARCH} == "sparc64"
10 8
 CFLAGS+=-DDEBUG
2  usr.sbin/accton/Makefile
@@ -4,6 +4,4 @@
4 4
 PROG=	accton
5 5
 MAN=	accton.8
6 6
 
7  
-WARNS?=	4
8  
-
9 7
 .include <bsd.prog.mk>
1  usr.sbin/acpi/acpiconf/Makefile
@@ -3,6 +3,5 @@
3 3
 
4 4
 PROG=	acpiconf
5 5
 MAN=	acpiconf.8
6  
-WARNS?=	6
7 6
 
8 7
 .include <bsd.prog.mk>
1  usr.sbin/acpi/acpidump/Makefile
@@ -3,6 +3,5 @@
3 3
 PROG=	acpidump
4 4
 MAN=	acpidump.8
5 5
 SRCS=	acpi.c acpi_user.c acpidump.c
6  
-WARNS?=	6
7 6
 
8 7
 .include <bsd.prog.mk>
2  usr.sbin/acpi/iasl/Makefile
@@ -50,6 +50,8 @@ SRCS+=	utalloc.c utcache.c utcopy.c utdebug.c utdelete.c	\
50 50
 	utglobal.c utinit.c utlock.c utmath.c utmisc.c		\
51 51
 	utmutex.c utobject.c utresrc.c utstate.c utxface.c
52 52
 
  53
+WARNS?=	2
  54
+
53 55
 MAN=	iasl.8
54 56
 
55 57
 CFLAGS+= -DACPI_ASL_COMPILER -I.
2  usr.sbin/amd/Makefile.inc
@@ -40,6 +40,8 @@ RPCCOM=		rpcgen
40 40
 MOUNT_X=	${DESTDIR}/usr/include/rpcsvc/mount.x
41 41
 NFS_PROT_X=	${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
42 42
 
  43
+WARNS?=	1
  44
+
43 45
 .if exists(${.CURDIR}/../../Makefile.inc)
44 46
 .include "${.CURDIR}/../../Makefile.inc"
45 47
 .endif
1  usr.sbin/apm/Makefile
@@ -4,6 +4,5 @@ PROG=	apm
4 4
 MAN=	apm.8
5 5
 MLINKS=	apm.8 apmconf.8
6 6
 MANSUBDIR= /${MACHINE_ARCH}
7  
-WARNS?=	6
8 7
 
9 8
 .include <bsd.prog.mk>
2  usr.sbin/apmd/Makefile
@@ -5,6 +5,8 @@ MAN=	apmd.8
5 5
 MANSUBDIR= /i386
6 6
 SRCS=	apmd.c apmdlex.l apmdparse.y y.tab.h
7 7
 
  8
+WARNS?=	0
  9
+
8 10
 DPADD=	${LIBL}
9 11
 LDADD=	-ll
10 12
 
2  usr.sbin/asf/Makefile
@@ -7,6 +7,4 @@ MAN=	asf.8
7 7
 DPADD=	${LIBKVM}
8 8
 LDADD=	-lkvm
9 9
 
10  
-WARNS?=	4
11  
-
12 10
 .include <bsd.prog.mk>
2  usr.sbin/audit/Makefile
@@ -13,4 +13,6 @@ MAN=	audit.8
13 13
 DPADD=	${LIBBSM}
14 14
 LDADD=	-lbsm
15 15
 
  16
+WARNS?=	5
  17
+
16 18
 .include <bsd.prog.mk>
2  usr.sbin/auditd/Makefile
@@ -14,4 +14,6 @@ MAN=	auditd.8
14 14
 DPADD=	${LIBBSM} ${LIBAUDITD}
15 15
 LDADD=	-lbsm -lauditd
16 16
 
  17
+WARNS?=	3
  18
+
17 19
 .include <bsd.prog.mk>
2  usr.sbin/auditreduce/Makefile
@@ -13,4 +13,6 @@ MAN=	auditreduce.1
13 13
 DPADD=	${LIBBSM}
14 14
 LDADD=	-lbsm
15 15
 
  16
+WARNS?=	3
  17
+
16 18
 .include <bsd.prog.mk>
2  usr.sbin/authpf/Makefile
@@ -19,4 +19,6 @@ CFLAGS+= -DENABLE_ALTQ
19 19
 LDADD+= -lm -lmd -lutil
20 20
 DPADD+= ${LIBM} ${LIBMD} ${LIBUTIL}
21 21
 
  22
+WARNS?=	3
  23
+
22 24
 .include <bsd.prog.mk>
2  usr.sbin/boot0cfg/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	boot0cfg
4 4
 MAN=	boot0cfg.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 DPADD=	${LIBGEOM}
9 7
 LDADD=	-lgeom
10 8
 
2  usr.sbin/bootparamd/Makefile.inc
@@ -2,3 +2,5 @@
2 2
 # $FreeBSD$
3 3
 
4 4
 BINDIR?=	/usr/sbin
  5
+
  6
+WARNS?=		2
1  usr.sbin/bsnmpd/bsnmpd/Makefile
@@ -14,7 +14,6 @@ XSYM=	snmpMIB begemotSnmpdModuleTable begemotSnmpd begemotTrapSinkTable \
14 14
 	freeBSDVersion
15 15
 CLEANFILES= oid.h tree.c tree.h
16 16
 MAN=	bsnmpd.1 snmpmod.3
17  
-WARNS?=	6
18 17
 NO_WERROR=
19 18
 
20 19
 FILESGROUPS= BMIBS DEFS
2  usr.sbin/bsnmpd/gensnmptree/Makefile
@@ -10,4 +10,6 @@ CFLAGS+= -I${CONTRIB}/lib
10 10
 CFLAGS+= -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H
11 11
 CFLAGS+= -DHAVE_INTTYPES_H
12 12
 
  13
+WARNS?=	5
  14
+
13 15
 .include <bsd.prog.mk>
1  usr.sbin/bsnmpd/modules/snmp_pf/Makefile
@@ -4,7 +4,6 @@
4 4
 
5 5
 MOD=	pf
6 6
 SRCS=	pf_snmp.c
7  
-WARNS?=	6
8 7
 
9 8
 XSYM=	begemotPf
10 9
 DEFS=	${MOD}_tree.def
2  usr.sbin/btxld/Makefile
@@ -4,6 +4,4 @@ PROG=	btxld
4 4
 MAN=	btxld.8
5 5
 SRCS=	btxld.c elfh.c
6 6
 
7  
-WARNS?=	6
8  
-
9 7
 .include <bsd.prog.mk>
2  usr.sbin/burncd/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	burncd
4 4
 MAN=	burncd.8
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/cdcontrol/Makefile
@@ -2,7 +2,7 @@
2 2
 
3 3
 PROG= cdcontrol
4 4
 
5  
-WARNS?= 2
  5
+WARNS?= 3
6 6
 
7 7
 DPADD=	${LIBEDIT} ${LIBTERMCAP}
8 8
 LDADD=	-ledit -ltermcap
2  usr.sbin/chkgrp/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	chkgrp
4 4
 MAN=	chkgrp.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/chown/Makefile
@@ -5,6 +5,4 @@ PROG=	chown
5 5
 LINKS=	${BINDIR}/chown /usr/bin/chgrp
6 6
 MAN=	chgrp.1 chown.8
7 7
 
8  
-WARNS?=	5
9  
-
10 8
 .include <bsd.prog.mk>
2  usr.sbin/chroot/Makefile
@@ -4,6 +4,4 @@
4 4
 PROG=	chroot
5 5
 MAN=	chroot.8
6 6
 
7  
-WARNS?=	2
8  
-
9 7
 .include <bsd.prog.mk>
1  usr.sbin/clear_locks/Makefile
@@ -4,6 +4,5 @@ PROG=	clear_locks
4 4
 MAN=	clear_locks.8
5 5
 DPADD=	${LIBRPCSVC}
6 6
 LDADD=	-lrpcsvc
7  
-WARNS=	6
8 7
 
9 8
 .include <bsd.prog.mk>
1  usr.sbin/config/Makefile
@@ -9,7 +9,6 @@ SRCS=	config.y main.c lang.l mkmakefile.c mkheaders.c \
9 9
 kernconf.c: kernconf.tmpl
10 10
 	file2c 'char kernconfstr[] = {' ',0};' < ${.CURDIR}/kernconf.tmpl > kernconf.c
11 11
 
12  
-WARNS?=	6
13 12
 CFLAGS+= -I. -I${.CURDIR}
14 13
 
15 14
 DPADD=	${LIBL} ${LIBSBUF}
2  usr.sbin/cpucontrol/Makefile
@@ -4,6 +4,4 @@ PROG=	cpucontrol
4 4
 MAN=	cpucontrol.8
5 5
 SRCS=	cpucontrol.c intel.c amd.c
6 6
 
7  
-WARNS?=	6
8  
-
9 7
 .include <bsd.prog.mk>
2  usr.sbin/cron/cron/Makefile
@@ -9,4 +9,6 @@ CFLAGS+= -DLOGIN_CAP -DPAM
9 9
 DPADD=	${LIBCRON} ${LIBPAM} ${LIBUTIL}
10 10
 LDADD=	${LIBCRON} ${MINUSLPAM} -lutil
11 11
 
  12
+WARNS?=	2
  13
+
12 14
 .include <bsd.prog.mk>
2  usr.sbin/crunch/Makefile.inc
@@ -2,3 +2,5 @@
2 2
 
3 3
 # modify to taste
4 4
 BINDIR?= /usr/bin
  5
+
  6
+WARNS?=	2
2  usr.sbin/ctm/ctm/Makefile
@@ -17,6 +17,8 @@ NOTYET=	ctm_ed.c
17 17
 LDADD=	-lmd
18 18
 DPADD=	${LIBMD}
19 19
 
  20
+WARNS?=	2
  21
+
20 22
 .if exists(${.CURDIR}/../../Makefile.inc)
21 23
 .include "${.CURDIR}/../../Makefile.inc"
22 24
 .endif
2  usr.sbin/ctm/ctm_dequeue/Makefile
@@ -8,4 +8,6 @@ SRCS=	ctm_dequeue.c error.c
8 8
 
9 9
 CFLAGS+= -I${.CURDIR}/../ctm_rmail
10 10
 
  11
+WARNS?=	1
  12
+
11 13
 .include <bsd.prog.mk>
2  usr.sbin/ctm/ctm_rmail/Makefile
@@ -5,4 +5,6 @@ MLINKS=	ctm_rmail.1 ctm_smail.1 \
5 5
 	ctm_rmail.1 ctm_dequeue.1
6 6
 SRCS=	ctm_rmail.c error.c
7 7
 
  8
+WARNS?=	2
  9
+
8 10
 .include <bsd.prog.mk>
2  usr.sbin/ctm/ctm_smail/Makefile
@@ -8,4 +8,6 @@ SRCS=	ctm_smail.c error.c
8 8
 
9 9
 CFLAGS+= -I${.CURDIR}/../ctm_rmail
10 10
 
  11
+WARNS?=	2
  12
+
11 13
 .include <bsd.prog.mk>
2  usr.sbin/daemon/Makefile
@@ -6,6 +6,4 @@ MAN=	daemon.8
6 6
 DPADD=	${LIBUTIL}
7 7
 LDADD=	-lutil
8 8
 
9  
-WARNS?=	2
10  
-
11 9
 .include <bsd.prog.mk>
2  usr.sbin/dconschat/Makefile
@@ -8,4 +8,6 @@ CFLAGS+= -I${.CURDIR}/../../sys
8 8
 DPADD=  ${LIBKVM}
9 9
 LDADD=  -lkvm
10 10
 
  11
+WARNS?=	1
  12
+
11 13
 .include <bsd.prog.mk>
2  usr.sbin/devinfo/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	devinfo
4 4
 MAN=	devinfo.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 DPADD=	${LIBDEVINFO}
9 7
 LDADD=	-ldevinfo
10 8
 
2  usr.sbin/digictl/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	digictl
4 4
 MAN=	digictl.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/diskinfo/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	diskinfo
4 4
 MAN=	diskinfo.8
5 5
 
6  
-WARNS?=	5
7  
-
8 6
 DPADD=	${LIBUTIL}
9 7
 LDADD=	-lutil
10 8
 
2  usr.sbin/dnssec-dsfromkey/Makefile
@@ -17,6 +17,8 @@ CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/include
17 17
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 18
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 19
 
  20
+WARNS?=		3
  21
+
20 22
 MAN=		dnssec-dsfromkey.8
21 23
 
22 24
 .include <bsd.prog.mk>
2  usr.sbin/dnssec-keyfromlabel/Makefile
@@ -17,6 +17,8 @@ CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/include
17 17
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 18
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 19
 
  20
+WARNS?=		3
  21
+
20 22
 MAN=		dnssec-keyfromlabel.8
21 23
 
22 24
 .include <bsd.prog.mk>
2  usr.sbin/dnssec-keygen/Makefile
@@ -17,6 +17,8 @@ CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/include
17 17
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 18
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 19
 
  20
+WARNS?=		3
  21
+
20 22
 MAN=		dnssec-keygen.8
21 23
 
22 24
 .include <bsd.prog.mk>
2  usr.sbin/dnssec-signzone/Makefile
@@ -17,6 +17,8 @@ CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/include
17 17
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 18
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 19
 
  20
+WARNS?=		3
  21
+
20 22
 MAN=		dnssec-signzone.8
21 23
 
22 24
 .include <bsd.prog.mk>
1  usr.sbin/dumpcis/Makefile
@@ -5,6 +5,5 @@
5 5
 PROG=	dumpcis
6 6
 MAN=	dumpcis.8
7 7
 SRCS=	main.c readcis.c printcis.c
8  
-WARNS?=	5
9 8
 
10 9
 .include <bsd.prog.mk>
2  usr.sbin/editmap/Makefile
@@ -10,6 +10,8 @@ MAN=	editmap.8
10 10
 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
11 11
 CFLAGS+= -DNEWDB -DNOT_SENDMAIL
12 12
 
  13
+WARNS?=	2
  14
+
13 15
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
14 16
 LIBSM=		${LIBSMDIR}/libsm.a
15 17
 
2  usr.sbin/edquota/Makefile
@@ -4,6 +4,4 @@
4 4
 PROG=	edquota
5 5
 MAN=	edquota.8
6 6
 
7  
-WARNS?=	4
8  
-
9 7
 .include <bsd.prog.mk>
1  usr.sbin/eeprom/Makefile
@@ -6,7 +6,6 @@ PROG=	eeprom
6 6
 MAN=	eeprom.8
7 7
 MANSUBDIR= /sparc64
8 8
 SRCS=	eeprom.c ofw_options.c ofw_util.c
9  
-WARNS?=	6
10 9
 CFLAGS+= -I${.CURDIR}/../ofwdump
11 10
 
12 11
 .include <bsd.prog.mk>
2  usr.sbin/extattr/Makefile
@@ -11,6 +11,4 @@ MLINKS+=	rmextattr.8 setextattr.8
11 11
 MLINKS+=	rmextattr.8 getextattr.8
12 12
 MLINKS+=	rmextattr.8 lsextattr.8
13 13
 
14  
-WARNS?=	5
15  
-
16 14
 .include <bsd.prog.mk>
2  usr.sbin/extattrctl/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	extattrctl
4 4
 MAN=	extattrctl.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/faithd/Makefile
@@ -20,4 +20,6 @@ SRCS=	faithd.c tcp.c ftp.c prefix.c
20 20
 
21 21
 CFLAGS+= -DHAVE_POLL_H
22 22
 
  23
+WARNS?=	2
  24
+
23 25
 .include <bsd.prog.mk>
1  usr.sbin/fdcontrol/Makefile
@@ -4,7 +4,6 @@
4 4
 
5 5
 PROG=	fdcontrol
6 6
 SRCS=	fdcontrol.c fdutil.c
7  
-WARNS?=	6
8 7
 CFLAGS+= -I${.CURDIR}/../fdread
9 8
 MAN=	fdcontrol.8
10 9
 
1  usr.sbin/fdformat/Makefile
@@ -5,7 +5,6 @@
5 5
 PROG=	fdformat
6 6
 SRCS=	fdformat.c fdutil.c
7 7
 
8  
-WARNS?=	6
9 8
 CFLAGS+= -I${.CURDIR}/../fdread
10 9
 
11 10
 .if ${MACHINE} == "pc98"
2  usr.sbin/fdread/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	fdread
4 4
 SRCS=	fdread.c fdutil.c
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .if ${MACHINE} == "pc98"
9 7
 CFLAGS+= -DPC98
10 8
 .endif
1  usr.sbin/fdwrite/Makefile
@@ -8,6 +8,5 @@
8 8
 # $FreeBSD$
9 9
 
10 10
 PROG=	fdwrite
11  
-WARNS?=	6
12 11
 
13 12
 .include <bsd.prog.mk>
2  usr.sbin/fifolog/Makefile.inc
@@ -2,8 +2,6 @@
2 2
 
3 3
 LIBFIFOLOG= ${.OBJDIR}/../lib/libfifolog.a
4 4
 
5  
-WARNS?=	6
6  
-
7 5
 #LINT=	flint
8 6
 #LINTFLAGS= ${.CURDIR}/../flint.lnt -I/usr/include
9 7
 
2  usr.sbin/ftp-proxy/libevent/Makefile
@@ -22,4 +22,6 @@ CFLAGS+= -I${.CURDIR} \
22 22
 	-DHAVE_WORKING_KQUEUE \
23 23
 	-DVERSION='"1.3b"'
24 24
 
  25
+WARNS?=	2
  26
+
25 27
 .include <bsd.lib.mk>
2  usr.sbin/getfmac/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=   getfmac
4 4
 MAN=	getfmac.8
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/getpmac/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=   getpmac
4 4
 MAN=	getpmac.8
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .include <bsd.prog.mk>
1  usr.sbin/gstat/Makefile
@@ -2,7 +2,6 @@
2 2
 
3 3
 PROG=	gstat
4 4
 MAN=	gstat.8
5  
-WARNS?=	5
6 5
 DPADD=	${LIBDEVSTAT} ${LIBKVM} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBEDIT} ${LIBCURSES}
7 6
 LDADD=	-ldevstat -lkvm -lgeom -lbsdxml -lsbuf -ledit -lcurses
8 7
 
2  usr.sbin/inetd/Makefile
@@ -8,7 +8,7 @@ MAN=	inetd.8
8 8
 MLINKS=	inetd.8 inetd.conf.5
9 9
 SRCS=	inetd.c builtins.c
10 10
 
11  
-WARNS?=	2
  11
+WARNS?=	3
12 12
 CFLAGS+= -DLOGIN_CAP
13 13
 #CFLAGS+= -DSANITY_CHECK
14 14
 
2  usr.sbin/iostat/Makefile
@@ -7,4 +7,6 @@ MAN=	iostat.8
7 7
 DPADD=	${LIBDEVSTAT} ${LIBKVM} ${LIBM}
8 8
 LDADD=	-ldevstat -lkvm -lm
9 9
 
  10
+WARNS?=	1
  11
+
10 12
 .include <bsd.prog.mk>
2  usr.sbin/ip6addrctl/Makefile
@@ -3,4 +3,6 @@
3 3
 PROG=	ip6addrctl
4 4
 MAN=	ip6addrctl.8
5 5
 
  6
+WARNS?=	2
  7
+
6 8
 .include <bsd.prog.mk>
2  usr.sbin/ipfwpcap/Makefile
@@ -11,8 +11,6 @@ DPADD=	${LIBPCAP}
11 11
 
12 12
 MAN=	ipfwpcap.8
13 13
 
14  
-WARNS?=	6
15  
-
16 14
 .include <bsd.prog.mk>
17 15
 
18 16
 test:	$(CMD)
2  usr.sbin/jail/Makefile
@@ -7,8 +7,6 @@ MAN=	jail.8
7 7
 DPADD=	${LIBJAIL} ${LIBUTIL}
8 8
 LDADD=	-ljail -lutil
9 9
 
10  
-WARNS?=	6
11  
-
12 10
 .if ${MK_INET6_SUPPORT} != "no"
13 11
 CFLAGS+= -DINET6
14 12
 .endif
1  usr.sbin/jexec/Makefile
@@ -4,6 +4,5 @@ PROG=	jexec
4 4
 MAN=	jexec.8
5 5
 DPADD=	${LIBJAIL} ${LIBUTIL}
6 6
 LDADD=	-ljail -lutil
7  
-WARNS?=	6
8 7
 
9 8
 .include <bsd.prog.mk>
2  usr.sbin/jls/Makefile
@@ -5,6 +5,4 @@ MAN=	jls.8
5 5
 DPADD=	${LIBJAIL}
6 6
 LDADD=	-ljail
7 7
 
8  
-WARNS?=	6
9  
-
10 8
 .include <bsd.prog.mk>
1  usr.sbin/kernbb/Makefile
@@ -8,6 +8,5 @@ LDADD=	-lkvm
8 8
 
9 9
 CFLAGS+= -I${.CURDIR}/../../contrib/gcc
10 10
 
11  
-WARNS?=	3
12 11
 .include <bsd.prog.mk>
13 12
 
2  usr.sbin/lastlogin/Makefile
@@ -6,6 +6,4 @@ MAN=	lastlogin.8
6 6
 DPADD=	${LIBULOG}
7 7
 LDADD=	-lulog
8 8
 
9  
-WARNS?=	6
10  
-
11 9
 .include <bsd.prog.mk>
2  usr.sbin/lmcconfig/Makefile
@@ -6,4 +6,6 @@ MAN=	lmcconfig.8
6 6
 DPADD=	${LIBNETGRAPH}
7 7
 LDADD=	-lnetgraph
8 8
 
  9
+WARNS?=	0
  10
+
9 11
 .include <bsd.prog.mk>
2  usr.sbin/lpr/common_source/Makefile
@@ -10,4 +10,6 @@ INTERNALLIB=
10 10
 SRCS=		common.c ctlinfo.c displayq.c matchjobs.c net.c \
11 11
 		printcap.c request.c rmjob.c startdaemon.c
12 12
 
  13
+WARNS?=		1
  14
+
13 15
 .include <bsd.lib.mk>
2  usr.sbin/lpr/filters.ru/Makefile.inc
... ...
@@ -1,3 +1,5 @@
1 1
 # $FreeBSD$
2 2
 
3 3
 BINDIR=	/usr/libexec/lpr/ru
  4
+
  5
+WARNS?=	3
2  usr.sbin/lpr/lpc/Makefile
@@ -11,6 +11,8 @@ BINMODE= 2555
11 11
 
12 12
 CFLAGS+= -I${.CURDIR}/../common_source
13 13
 
  14
+WARNS?=	0
  15
+
14 16
 DPADD=	${LIBLPR} ${LIBEDIT} ${LIBTERMCAP}
15 17
 LDADD=	${LIBLPR} -ledit -ltermcap
16 18
 
2  usr.sbin/lpr/lpd/Makefile
@@ -7,6 +7,8 @@ SRCS=	lpd.c printjob.c recvjob.c lpdchar.c modes.c
7 7
 
8 8
 CFLAGS+= -I${.CURDIR}/../common_source
9 9
 
  10
+WARNS?=	1
  11
+
10 12
 DPADD=	${LIBLPR}
11 13
 LDADD=	${LIBLPR}
12 14
 
2  usr.sbin/lpr/lpr/Makefile
@@ -13,6 +13,8 @@ BINMODE= 6555
13 13
 
14 14
 CFLAGS+= -I${.CURDIR}/../common_source
15 15
 
  16
+WARNS?=	2
  17
+
16 18
 DPADD=	${LIBLPR}
17 19
 LDADD=	${LIBLPR}
18 20
 
2  usr.sbin/lptcontrol/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	lptcontrol
4 4
 MAN=	lptcontrol.8
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/mailstats/Makefile
@@ -11,6 +11,8 @@ MAN=	mailstats.8
11 11
 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
12 12
 CFLAGS+= -DNOT_SENDMAIL
13 13
 
  14
+WARNS?=	2
  15
+
14 16
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
15 17
 LIBSM=		${LIBSMDIR}/libsm.a
16 18
 
1  usr.sbin/mailwrapper/Makefile
@@ -8,7 +8,6 @@ MAN=	mailwrapper.8
8 8
 
9 9
 DPADD=	${LIBUTIL}
10 10
 LDADD=	-lutil
11  
-WARNS?=	6
12 11
 .endif
13 12
 
14 13
 .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
2  usr.sbin/makemap/Makefile
@@ -11,6 +11,8 @@ MAN=	makemap.8
11 11
 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
12 12
 CFLAGS+= -DNEWDB -DNOT_SENDMAIL
13 13
 
  14
+WARNS?=	2
  15
+
14 16
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
15 17
 LIBSM=		${LIBSMDIR}/libsm.a
16 18
 
1  usr.sbin/memcontrol/Makefile
@@ -2,6 +2,5 @@
2 2
 
3 3
 PROG=	memcontrol
4 4
 MAN=	memcontrol.8
5  
-WARNS?=	6
6 5
 
7 6
 .include <bsd.prog.mk>
2  usr.sbin/mixer/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	mixer
4 4
 MAN=	mixer.8
5 5
 
6  
-WARNS?=	6
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/mld6query/Makefile
@@ -20,4 +20,6 @@ SRCS=	mld6.c
20 20
 
21 21
 CFLAGS+= -DIPSEC -DUSE_RFC2292BIS
22 22
 
  23
+WARNS?=	2
  24
+
23 25
 .include <bsd.prog.mk>
2  usr.sbin/mlxcontrol/Makefile
@@ -6,4 +6,6 @@ SRCS=	command.c config.c interface.c util.c
6 6
 
7 7
 CFLAGS+= -I${.CURDIR}/../../sys
8 8
 
  9
+WARNS?=	2
  10
+
9 11
 .include <bsd.prog.mk>
1  usr.sbin/mount_smbfs/Makefile
@@ -2,7 +2,6 @@
2 2
 
3 3
 PROG=	mount_smbfs
4 4
 SRCS=	mount_smbfs.c getmntopts.c
5  
-WARNS?=	6
6 5
 MAN=	mount_smbfs.8
7 6
 
8 7
 MOUNTDIR=	${.CURDIR}/../../sbin/mount
2  usr.sbin/moused/Makefile
@@ -3,8 +3,6 @@
3 3
 PROG=	moused
4 4
 MAN=	moused.8
5 5
 
6  
-WARNS?=6
7  
-
8 6
 DPADD=	${LIBUTIL}  ${LIBM}
9 7
 LDADD=	-lutil -lm
10 8
 
1  usr.sbin/mptable/Makefile
... ...
@@ -1,6 +1,5 @@
1 1
 # $FreeBSD$
2 2
 
3 3
 PROG=	mptable
4  
-WARNS?=	6
5 4
 
6 5
 .include <bsd.prog.mk>
2  usr.sbin/mtree/Makefile
@@ -8,8 +8,6 @@ MAN=	mtree.8 mtree.5
8 8
 SRCS=	compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c
9 9
 SRCS+=	specspec.c
10 10
 
11  
-WARNS?=	4
12  
-
13 11
 CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256
14 12
 DPADD=	${LIBMD}
15 13
 LDADD=	-lmd
2  usr.sbin/named-checkconf/Makefile
@@ -14,6 +14,8 @@ SRCS+=		named-checkconf.c check-tool.c
14 14
 
15 15
 CFLAGS+=	-I${LIB_BIND_DIR}
16 16
 
  17
+WARNS?=		3
  18
+
17 19
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 20
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 21
 
2  usr.sbin/named-checkzone/Makefile
@@ -14,6 +14,8 @@ SRCS+=		named-checkzone.c check-tool.c
14 14
 
15 15
 CFLAGS+=	-I${LIB_BIND_DIR}
16 16
 
  17
+WARNS?=		3
  18
+
17 19
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
18 20
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
19 21
 
2  usr.sbin/named/Makefile
@@ -51,6 +51,8 @@ CFLAGS+=	-I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
51 51
 # Remove the date stamp to make it more obvious when real changes happen
52 52
 CFLAGS+=	-U__DATE__
53 53
 
  54
+WARNS?=		0
  55
+
54 56
 DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
55 57
 LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
56 58
 
2  usr.sbin/ndp/Makefile
@@ -22,4 +22,6 @@ SRCS=	ndp.c gmt2local.c
22 22
 CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../contrib/tcpdump
23 23
 CFLAGS+= -D_U_=""
24 24
 
  25
+WARNS?=	1
  26
+
25 27
 .include <bsd.prog.mk>
2  usr.sbin/newsyslog/Makefile
@@ -4,6 +4,4 @@ PROG=	newsyslog
4 4
 MAN=	newsyslog.8 newsyslog.conf.5
5 5
 SRCS=	newsyslog.c ptimes.c
6 6
 
7  
-WARNS?=	2
8  
-
9 7
 .include <bsd.prog.mk>
2  usr.sbin/nfsd/Makefile
@@ -4,6 +4,4 @@
4 4
 PROG=	nfsd
5 5
 MAN=	nfsd.8 nfsv4.4 stablerestart.5
6 6
 
7  
-WARNS?=	6
8  
-
9 7
 .include <bsd.prog.mk>
1  usr.sbin/nghook/Makefile
@@ -4,7 +4,6 @@
4 4
 PROG=	nghook
5 5
 MAN=	nghook.8
6 6
 SRCS=	main.c
7  
-WARNS?=	6
8 7
 
9 8
 DPADD=	${LIBNETGRAPH}
10 9
 LDADD=	-lnetgraph
2  usr.sbin/ntp/Makefile.inc
@@ -18,4 +18,6 @@ LIBOPTS=	${.OBJDIR}/../libopts/libopts.a
18 18
 LIBPARSE=	${.OBJDIR}/../libparse/libparse.a
19 19
 LIBNTP=	${.OBJDIR}/../libntp/libntp.a
20 20
 
  21
+WARNS?=	0
  22
+
21 23
 .include "../Makefile.inc"
2  usr.sbin/nvram/Makefile
@@ -4,6 +4,4 @@ PROG=	nvram
4 4
 MAN=	nvram.8
5 5
 MANSUBDIR= /powerpc
6 6
 
7  
-WARNS?=	6
8  
-
9 7
 .include <bsd.prog.mk>
2  usr.sbin/ofwdump/Makefile
@@ -4,6 +4,4 @@ PROG=	ofwdump
4 4
 MAN=	ofwdump.8
5 5
 SRCS=	ofwdump.c ofw_util.c
6 6
 
7  
-WARNS?=	6
8  
-
9 7
 .include <bsd.prog.mk>
2  usr.sbin/pciconf/Makefile
@@ -7,4 +7,6 @@ MAN=	pciconf.8
7 7
 
8 8
 CFLAGS+= -I${.CURDIR}/../../sys
9 9
 
  10
+WARNS?=	3
  11
+
10 12
 .include <bsd.prog.mk>
1  usr.sbin/pkg_install/delete/Makefile
@@ -5,7 +5,6 @@ SRCS=	main.c perform.c
5 5
 
6 6
 CFLAGS+= -I${.CURDIR}/../lib
7 7
 
8  
-WARNS?=	6
9 8
 WFORMAT?=	1
10 9
 
11 10
 DPADD=	${LIBINSTALL} ${LIBMD}
1  usr.sbin/pkg_install/info/Makefile
@@ -5,7 +5,6 @@ SRCS=	main.c perform.c show.c
5 5
 
6 6
 CFLAGS+= -I${.CURDIR}/../lib
7 7
 
8  
-WARNS?=	6
9 8
 WFORMAT?=	1
10 9
 
11 10
 DPADD=	${LIBINSTALL} ${LIBFETCH} ${LIBMD}
1  usr.sbin/pkg_install/updating/Makefile
@@ -5,7 +5,6 @@ SRCS=	main.c
5 5
 
6 6
 CFLAGS+= -I${.CURDIR}/../lib
7 7
 
8  
-WARNS?=	6
9 8
 WFORMAT?= 1
10 9
 
11 10
 DPADD=	${LIBINSTALL} ${LIBFETCH} ${LIBMD}
1  usr.sbin/pkg_install/version/Makefile
@@ -5,7 +5,6 @@ SRCS=	main.c perform.c
5 5
 
6 6
 CFLAGS+= -I${.CURDIR}/../lib
7 7
 
8  
-WARNS?=	6
9 8
 WFORMAT?=	1
10 9
 
11 10
 DPADD=	${LIBINSTALL} ${LIBFETCH} ${LIBMD}
2  usr.sbin/pmcannotate/Makefile
@@ -5,8 +5,6 @@
5 5
 PROG=	pmcannotate
6 6
 MAN=	pmcannotate.8
7 7
 
8  
-WARNS?=	6
9  
-
10 8
 SRCS=	pmcannotate.c
11 9
 
12 10
 .include <bsd.prog.mk>
2  usr.sbin/pmccontrol/Makefile
@@ -8,8 +8,6 @@ MAN=	pmccontrol.8
8 8
 DPADD=	${LIBPMC}
9 9
 LDADD=	-lpmc
10 10
 
11  
-WARNS?=	6
12  
-
13 11
 SRCS=	pmccontrol.c
14 12
 
15 13
 .include <bsd.prog.mk>
2  usr.sbin/pmcstat/Makefile
@@ -8,8 +8,6 @@ MAN=	pmcstat.8
8 8
 DPADD=	${LIBELF} ${LIBKVM} ${LIBPMC} ${LIBM}
9 9
 LDADD=	-lelf -lkvm -lpmc -lm
10 10
 
11  
-WARNS?=	6
12  
-
13 11
 SRCS=	pmcstat.c pmcstat.h pmcstat_log.c
14 12
 
15 13
 .include <bsd.prog.mk>
2  usr.sbin/pnpinfo/Makefile
@@ -11,4 +11,6 @@ CFLAGS+= -I${.CURDIR}/../../sys
11 11
 CFLAGS+= -DPC98
12 12
 .endif
13 13
 
  14
+WARNS?=	2
  15
+
14 16
 .include <bsd.prog.mk>
1  usr.sbin/portsnap/make_index/Makefile
@@ -2,7 +2,6 @@
2 2
 
3 3
 PROG=	make_index
4 4
 NO_MAN=
5  
-WARNS?=	6
6 5
 
7 6
 BINDIR=	${LIBEXECDIR}
8 7
 
1  usr.sbin/portsnap/phttpget/Makefile
@@ -2,7 +2,6 @@
2 2
 
3 3
 PROG=	phttpget
4 4
 NO_MAN=
5  
-WARNS?=	6
6 5
 
7 6
 BINDIR=	${LIBEXECDIR}
8 7
 
1  usr.sbin/powerd/Makefile
@@ -2,7 +2,6 @@
2 2
 
3 3
 PROG=	powerd
4 4
 MAN=	powerd.8
5  
-WARNS?=	6
6 5
 
7 6
 DPADD=	${LIBUTIL}
8 7
 LDADD=	-lutil
2  usr.sbin/pppctl/Makefile
@@ -3,6 +3,8 @@
3 3
 PROG=	pppctl
4 4
 MAN=	pppctl.8
5 5
 
  6
+WARNS?=	2
  7
+
6 8
 DPADD=	${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP}
7 9
 LDADD=	-lpthread -ledit -ltermcap
8 10
 
2  usr.sbin/praliases/Makefile
@@ -11,6 +11,8 @@ MAN=	praliases.8
11 11
 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
12 12
 CFLAGS+= -DNEWDB -DNOT_SENDMAIL
13 13
 
  14
+WARNS?=	2
  15
+
14 16
 LIBSMDIR=	${.OBJDIR}/../../lib/libsm
15 17
 LIBSM=		${LIBSMDIR}/libsm.a
16 18
 
2  usr.sbin/praudit/Makefile
@@ -8,6 +8,8 @@ OPENBSMDIR=${.CURDIR}/../../contrib/openbsm
8 8
 PROG=	praudit
9 9
 MAN=	praudit.1
10 10
 
  11
+WARNS?=	3
  12
+
11 13
 DPADD=	${LIBBSM}
12 14
 LDADD=	-lbsm
13 15
 
2  usr.sbin/procctl/Makefile
@@ -3,6 +3,4 @@
3 3
 PROG=	procctl
4 4
 MAN=	procctl.8
5 5
 
6  
-WARNS?=	2
7  
-
8 6
 .include <bsd.prog.mk>
2  usr.sbin/pstat/Makefile
@@ -6,8 +6,6 @@ LINKS=	${BINDIR}/pstat ${BINDIR}/swapinfo
6 6
 MAN=	pstat.8
7 7
 MLINKS=	pstat.8 swapinfo.8
8 8
 
9  
-WARNS?=	6
10  
-
11 9
 DPADD=	${LIBKVM} ${LIBUTIL}
12 10
 LDADD=	-lkvm -lutil
13 11
 
2  usr.sbin/pw/Makefile
@@ -6,6 +6,8 @@ SRCS=	pw.c pw_conf.c pw_user.c pw_group.c pw_log.c pw_nis.c pw_vpw.c \
6 6
 	grupd.c pwupd.c fileupd.c edgroup.c psdate.c \
7 7
 	bitmap.c cpdir.c rm_r.c
8 8
 
  9
+WARNS?=	1
  10
+
9 11
 DPADD=	${LIBCRYPT} ${LIBUTIL}
10 12
 LDADD=	-lcrypt -lutil
11 13
 
1  usr.sbin/pwd_mkdb/Makefile
@@ -7,7 +7,6 @@ PROG=	pwd_mkdb
7 7
 MAN=	pwd_mkdb.8
8 8
 SRCS=	pw_scan.c pwd_mkdb.c
9 9
 
10  
-WARNS?=	4
11 10
 CFLAGS+= -I${.CURDIR}/../../lib/libc/gen		# for pw_scan.h
12 11
 
13 12
 .include <bsd.prog.mk>