Permalink
Browse files

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

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