Do a sweep and remove most WARNS=6 settings

Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.
This commit is contained in:
kevans 2020-10-01 01:10:51 +00:00
parent 9afcc76eae
commit 7ee7f8a82a
99 changed files with 2 additions and 137 deletions

View File

@ -7,8 +7,6 @@ IGNORE_PRAGMA= YES
CFLAGS+= -DNEED_SOLARIS_BOOLEAN CFLAGS+= -DNEED_SOLARIS_BOOLEAN
WARNS?= 6
# Do not lint the CDDL stuff. It is all externally maintained and # Do not lint the CDDL stuff. It is all externally maintained and
# lint output is wasteful noise here. # lint output is wasteful noise here.

View File

@ -7,6 +7,4 @@ LIBADD= dialog ncursesw m
CFLAGS+= -I${.CURDIR} -I${DIALOG} CFLAGS+= -I${.CURDIR} -I${DIALOG}
.PATH: ${DIALOG} .PATH: ${DIALOG}
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -10,5 +10,3 @@ CXXFLAGS+= ${GTESTS_FLAGS}
# Silence warnings about usage of deprecated std::auto_ptr # Silence warnings about usage of deprecated std::auto_ptr
CXXWARNFLAGS+= -Wno-deprecated-declarations CXXWARNFLAGS+= -Wno-deprecated-declarations
WARNS?= 6

View File

@ -5,6 +5,4 @@ ATF_TESTS_C+= cam_test
LIBADD+= cam LIBADD+= cam
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -4,7 +4,6 @@ ATF_TESTS_C+= crypt_tests
NETBSD_ATF_TESTS_C+= crypt_test NETBSD_ATF_TESTS_C+= crypt_test
WARNS?= 6
CFLAGS+= -I${.CURDIR:H} CFLAGS+= -I${.CURDIR:H}
LIBADD= crypt LIBADD= crypt

View File

@ -3,7 +3,6 @@
.PATH: ${SRCTOP}/lib/libc/iconv .PATH: ${SRCTOP}/lib/libc/iconv
SHLIB_MAJOR= 4 SHLIB_MAJOR= 4
WARNS?= 6
CFLAGS+= -I${SRCTOP}/lib/libc/iconv CFLAGS+= -I${SRCTOP}/lib/libc/iconv
CFLAGS+= -Dbool=_Bool CFLAGS+= -Dbool=_Bool

View File

@ -8,8 +8,6 @@ SHLIBDIR?= /lib
SHLIB_MAJOR= 7 SHLIB_MAJOR= 7
CFLAGS+=-DNO__SCCSID -I${.CURDIR} CFLAGS+=-DNO__SCCSID -I${.CURDIR}
WARNS?= 6
SRCS= kvm.c kvm_cptime.c kvm_getloadavg.c \ SRCS= kvm.c kvm_cptime.c kvm_getloadavg.c \
kvm_getswapinfo.c kvm_pcpu.c kvm_private.c kvm_proc.c kvm_vnet.c \ kvm_getswapinfo.c kvm_pcpu.c kvm_private.c kvm_proc.c kvm_vnet.c \
kvm_minidump_aarch64.c \ kvm_minidump_aarch64.c \

View File

@ -13,8 +13,6 @@ CFLAGS.kvm_read_test+= -I${.CURDIR:H}
LIBADD+= kvm LIBADD+= kvm
WARNS?= 6
BINDIR= ${TESTSDIR} BINDIR= ${TESTSDIR}
.for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test .for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test

View File

@ -3,7 +3,6 @@
TAP_TESTS_C+= abs2rel TAP_TESTS_C+= abs2rel
TAP_TESTS_C+= rel2abs TAP_TESTS_C+= rel2abs
WARNS?= 6
#LIBADD+= pathconv #LIBADD+= pathconv
#LDADD+= -L .. -lpathconv #LDADD+= -L .. -lpathconv
LDADD+= ../libpathconv.a LDADD+= ../libpathconv.a

View File

@ -6,7 +6,6 @@ PROGS= target_prog
SRCS_target_prog= target_prog.c SRCS_target_prog= target_prog.c
BINDIR_target_prog= ${TESTSDIR} BINDIR_target_prog= ${TESTSDIR}
WARNS?= 6
LIBADD= elf proc rtld_db util LIBADD= elf proc rtld_db util
# Ensure that symbols aren't stripped from the test program, as they're needed # Ensure that symbols aren't stripped from the test program, as they're needed

View File

@ -6,6 +6,4 @@ ATF_TESTS_C+= sbuf_string_test
LIBADD+= sbuf util LIBADD+= sbuf util
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -3,5 +3,4 @@
BINDIR?= /usr/libexec BINDIR?= /usr/libexec
WARNS?= 6
WFORMAT?= 1 WFORMAT?= 1

View File

@ -7,7 +7,6 @@ SRCS= main.c init.c subr.c chat.c
LIBADD= util LIBADD= util
MAN= gettytab.5 ttys.5 getty.8 MAN= gettytab.5 ttys.5 getty.8
WARNS?= 6
WFORMAT=0 WFORMAT=0
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -40,7 +40,6 @@ RTLD_ARCH= ${MACHINE_CPUARCH}
CFLAGS+= -I${RTLD_ELF_DIR}/${RTLD_ARCH} -I${RTLD_ELF_DIR} CFLAGS+= -I${RTLD_ELF_DIR}/${RTLD_ARCH} -I${RTLD_ELF_DIR}
NO_WCAST_ALIGN= yes NO_WCAST_ALIGN= yes
WARNS?= 6
INSTALLFLAGS= -C -b INSTALLFLAGS= -C -b
PRECIOUSPROG= PRECIOUSPROG=
BINDIR= /libexec BINDIR= /libexec

View File

@ -10,7 +10,6 @@ SHLIBDIR= ${TESTSBASE}/libexec/rtld-elf
SRCS= pythagoras.c SRCS= pythagoras.c
WARNS?= 6
LIBADD= m LIBADD= m
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -6,7 +6,6 @@ ATF_TESTS_C= functional
TEST_METADATA.functional+= timeout=15 TEST_METADATA.functional+= timeout=15
LIBADD= util LIBADD= util
WARNS?= 6
CSTD= c11 CSTD= c11
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -8,6 +8,4 @@ MAN= decryptcore.8
CFLAGS+=-I${SRCTOP}/lib/libpjdlog CFLAGS+=-I${SRCTOP}/lib/libpjdlog
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= pfilctl PROG= pfilctl
SRCS= pfilctl.c SRCS= pfilctl.c
WARNS?= 6
MAN= pfilctl.8 MAN= pfilctl.8

View File

@ -1,7 +1,5 @@
# $FreeBSD$ # $FreeBSD$
WARNS?= 6
ATF_TESTS_C+= in_cksum_test ATF_TESTS_C+= in_cksum_test
SRCS.in_cksum_test= in_cksum_test.c ../utils.c SRCS.in_cksum_test= in_cksum_test.c ../utils.c

View File

@ -5,8 +5,6 @@ PROG= recoverdisk
LDFLAGS += -lm LDFLAGS += -lm
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>
test: ${PROG} test: ${PROG}

View File

@ -4,6 +4,4 @@ PROG= teken_demo
LDADD= -lncursesw -lteken -lutil LDADD= -lncursesw -lteken -lutil
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@ LIB= teken
SHLIB_MAJOR= 0 SHLIB_MAJOR= 0
CFLAGS+=-I. CFLAGS+=-I.
WARNS?= 6
SRCDIR= ${.CURDIR}/.. SRCDIR= ${.CURDIR}/..
.PATH: ${SRCDIR} .PATH: ${SRCDIR}

View File

@ -4,6 +4,4 @@ PROG= teken_stress
LDADD= -lteken LDADD= -lteken
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,5 +1,3 @@
# $FreeBSD$ # $FreeBSD$
WARNS?= 6
.include "${SRCTOP}/tests/Makefile.inc0" .include "${SRCTOP}/tests/Makefile.inc0"

View File

@ -17,6 +17,4 @@ LIBADD.lio_test+= rt
CFLAGS+= -I${.CURDIR:H:H} CFLAGS+= -I${.CURDIR:H:H}
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -51,8 +51,6 @@ TEST_METADATA+= required_user="root"
TEST_METADATA+= is_exclusive="true" TEST_METADATA+= is_exclusive="true"
TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe" TEST_METADATA+= required_files="/etc/rc.d/auditd /dev/auditpipe"
WARNS?= 6
LDFLAGS+= -lbsm -lutil LDFLAGS+= -lbsm -lutil
CFLAGS.process-control.c+= -I${SRCTOP}/tests CFLAGS.process-control.c+= -I${SRCTOP}/tests

View File

@ -6,6 +6,5 @@ ATF_TESTS_C= auditpipe_test
TEST_METADATA+= required_user="root" TEST_METADATA+= required_user="root"
TEST_METADATA+= required_files="/dev/auditpipe" TEST_METADATA+= required_files="/dev/auditpipe"
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -52,6 +52,4 @@ WARNS.capsicum-test= 3
.endif .endif
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -6,7 +6,6 @@ SDEVRANDOM= ${SRCTOP}/sys/dev/random
.PATH: ${SDEVRANDOM} .PATH: ${SDEVRANDOM}
TESTSDIR= ${TESTSBASE}/sys/devrandom TESTSDIR= ${TESTSBASE}/sys/devrandom
WARNS?= 6
CFLAGS+= -I${SRCTOP}/sys CFLAGS+= -I${SRCTOP}/sys

View File

@ -82,6 +82,4 @@ LIBADD+= pthread
LIBADD+= gmock gtest LIBADD+= gmock gtest
LIBADD+= util LIBADD+= util
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -12,6 +12,4 @@ PLAIN_TESTS_C+= pipe_reverse2_test
PLAIN_TESTS_C+= pipe_reverse_test PLAIN_TESTS_C+= pipe_reverse_test
PLAIN_TESTS_C+= pipe_wraparound_test PLAIN_TESTS_C+= pipe_wraparound_test
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -16,6 +16,4 @@ PROGS+= mqtest5
LIBADD+= rt LIBADD+= rt
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -25,6 +25,4 @@ PROGS+= randsleep
CFLAGS+= -I${.CURDIR:H:H} CFLAGS+= -I${.CURDIR:H:H}
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -20,6 +20,4 @@ ${PACKAGE}FILESMODE_redirect.py=0555
MAN= MAN=
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -11,6 +11,4 @@ PLAIN_TESTS_C+= ctrl-api-test
CFLAGS+= -I${SRCTOP}/tests CFLAGS+= -I${SRCTOP}/tests
LIBADD+= pthread LIBADD+= pthread
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -21,6 +21,4 @@ PYMODULES= cryptodev.py cryptodevh.py cryptotest.py
${PACKAGE}FILES+= ${PYMODULES} ${PACKAGE}FILES+= ${PYMODULES}
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -10,6 +10,4 @@ MAN=
CFLAGS+= -I${.CURDIR:H} CFLAGS+= -I${.CURDIR:H}
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -3,6 +3,4 @@
PROG= aiop PROG= aiop
MAN= MAN=
WARNS= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -46,7 +46,6 @@ SRCS+= ${SYSDIR}/net/bpf_jitter.c \
${SYSDIR}/${MACHINE_ARCH}/${MACHINE_ARCH}/bpf_jit_machdep.c ${SYSDIR}/${MACHINE_ARCH}/${MACHINE_ARCH}/bpf_jit_machdep.c
CFLAGS+= -DBPF_JIT_COMPILER CFLAGS+= -DBPF_JIT_COMPILER
LIBS+= -lutil LIBS+= -lutil
WARNS?= 6
.else .else
SRCS+= ${SYSDIR}/net/bpf_filter.c SRCS+= ${SYSDIR}/net/bpf_filter.c
WARNS?= 2 WARNS?= 2

View File

@ -3,6 +3,5 @@
PROG= doat PROG= doat
MAN= MAN=
WARNS?=6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -5,6 +5,4 @@ MAN=
LIBADD+= geom LIBADD+= geom
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,7 +1,6 @@
# $FreeBSD$ # $FreeBSD$
PROG= logic PROG= logic
WARNS=6
MAN= MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -5,6 +5,4 @@
PROG= ipbroadcast PROG= ipbroadcast
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= rpctest PROG= rpctest
MAN= MAN=
WARNS?= 6
LIBADD= rpcsec_gss LIBADD= rpcsec_gss
DEBUG_FLAGS= -g -O0 DEBUG_FLAGS= -g -O0

View File

@ -4,6 +4,5 @@
PROG= accept_fd_leak PROG= accept_fd_leak
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= accf_data_attach PROG= accf_data_attach
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= fstat PROG= fstat
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= kqueue PROG= kqueue
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= listen_backlog PROG= listen_backlog
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= listen_kqueue PROG= listen_kqueue
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= listenclose PROG= listenclose
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= pr_atomic PROG= pr_atomic
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= reconnect PROG= reconnect
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= rtsocket PROG= rtsocket
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= sblock PROG= sblock
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@
PROG= sendfile PROG= sendfile
MAN= MAN=
WARNS?= 6
LIBADD= md LIBADD= md
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= shutdown PROG= shutdown
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,6 +4,5 @@
PROG= sigpipe PROG= sigpipe
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@
PROG= so_setfib PROG= so_setfib
MAN= MAN=
WARNS?= 6
.if ${MK_INET} != "no" .if ${MK_INET} != "no"
CFLAGS+= -DINET CFLAGS+= -DINET

View File

@ -2,6 +2,5 @@
PROG= udp_pingpong PROG= udp_pingpong
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_bindconnect PROG= unix_bindconnect
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_close_race PROG= unix_close_race
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_gc PROG= unix_gc
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_sendtorace PROG= unix_sendtorace
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_socket PROG= unix_socket
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= unix_sorflush PROG= unix_sorflush
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= zerosend PROG= zerosend
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= auxinfo PROG= auxinfo
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -3,6 +3,4 @@
PROG= posix PROG= posix
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@ SRCS= main.c
.PATH: ${.CURDIR}/../../../lib/libc/stdlib .PATH: ${.CURDIR}/../../../lib/libc/stdlib
MAN= MAN=
WARNS?=6
test: malloc test: malloc
@echo @echo

View File

@ -2,7 +2,6 @@
PROGS= listen connect PROGS= listen connect
MAN= MAN=
WARNS?= 6
test: ${PROGS} test: ${PROGS}

View File

@ -2,6 +2,5 @@
PROG= reflect PROG= reflect
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= scescx PROG= scescx
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= aac_checkq PROG= aac_checkq
MAN= MAN=
WARNS?=6
BINDIR?=/usr/local/bin BINDIR?=/usr/local/bin
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -3,6 +3,5 @@
PROG= cfi PROG= cfi
BINDIR= /usr/local/bin BINDIR= /usr/local/bin
MAN= MAN=
WARNS?=6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= find-sb PROG= find-sb
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= fixwhite PROG= fixwhite
BINDIR= /usr/bin BINDIR= /usr/bin
WARNS= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -21,6 +21,4 @@ LDFLAGS+= -L${LOCALBASE}/lib
LDADD+= -lsmi LDADD+= -lsmi
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= ifpifa PROG= ifpifa
MAN= MAN=
WARNS?=6
BINDIR?=/usr/local/bin BINDIR?=/usr/local/bin
LIBADD=kvm LIBADD=kvm

View File

@ -8,6 +8,4 @@ CFLAGS+= -I${SRCTOP}/sys/dev/ioat
LIBADD= util LIBADD= util
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,6 +2,5 @@
PROG= iwistats PROG= iwistats
MAN= MAN=
WARNS?=6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -7,7 +7,6 @@ SRCS= ncpus.c acpi.c
SRCS+= biosmptable.c SRCS+= biosmptable.c
.endif .endif
BINDIR= /usr/local/bin BINDIR= /usr/local/bin
WARNS?= 6
LIBADD= devinfo LIBADD= devinfo

View File

@ -5,6 +5,4 @@
PROG= pciroms PROG= pciroms
MAN= MAN=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -8,6 +8,4 @@ MAN=
#LIBADD= pthread #LIBADD= pthread
WARNS= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -2,7 +2,6 @@
PROG= tscdrift PROG= tscdrift
MAN= MAN=
WARNS?= 6
LIBADD= pthread m LIBADD= pthread m

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PROG= mkkfont PROG= mkkfont
MAN1= MAN1=
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -8,6 +8,4 @@ CFLAGS+= -I${.CURDIR}
LIBADD= dpv dialog LIBADD= dpv dialog
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -6,6 +6,4 @@ PROGS+= arch_type
BINDIR= ${TESTSDIR} BINDIR= ${TESTSDIR}
WARNS?= 6
.include <bsd.test.mk> .include <bsd.test.mk>

View File

@ -34,8 +34,6 @@ BINDIR?=/usr/bin
LIBADD= util LIBADD= util
WARNS?= 6
HAS_TESTS= HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests SUBDIR.${MK_TESTS}+= tests

View File

@ -2,6 +2,5 @@
PROG= posixshmcontrol PROG= posixshmcontrol
LIBADD= util LIBADD= util
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,6 +1,5 @@
# $FreeBSD$ # $FreeBSD$
PROG= proccontrol PROG= proccontrol
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -1,6 +1,5 @@
# $FreeBSD$ # $FreeBSD$
PROG= protect PROG= protect
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@ BINDIR= ${LIBEXECDIR}/bsdinstall
PROG= distextract PROG= distextract
LIBADD= archive dpv figpar ncursesw dialog m LIBADD= archive dpv figpar ncursesw dialog m
WARNS?= 6
MAN= MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -4,7 +4,6 @@ BINDIR= ${LIBEXECDIR}/bsdinstall
PROG= distfetch PROG= distfetch
LIBADD= fetch ncursesw dialog m LIBADD= fetch ncursesw dialog m
WARNS?= 6
MAN= MAN=
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -5,5 +5,3 @@ BINDIR?= /usr/bin
PACKAGE= bsnmp PACKAGE= bsnmp
CFLAGS+= -I. -I${.CURDIR} CFLAGS+= -I. -I${.CURDIR}
WARNS?= 6

View File

@ -20,7 +20,6 @@ LIBADD= bsdxml md sbuf util ucl m nv
YFLAGS+= -v YFLAGS+= -v
CLEANFILES= y.tab.c y.tab.h y.output CLEANFILES= y.tab.c y.tab.h y.output
WARNS?= 6
NO_WMISSING_VARIABLE_DECLARATIONS= NO_WMISSING_VARIABLE_DECLARATIONS=
.if ${MK_ISCSI} != "no" .if ${MK_ISCSI} != "no"

View File

@ -6,8 +6,6 @@ LIBADD= nv ucl m
CFLAGS+=-I${SRCTOP}/contrib/libucl/include CFLAGS+=-I${SRCTOP}/contrib/libucl/include
WARNS?=6
MAN= \ MAN= \
iovctl.8 \ iovctl.8 \
iovctl.conf.5 \ iovctl.conf.5 \

View File

@ -2,6 +2,5 @@
PROG= mlx5tool PROG= mlx5tool
MAN= mlx5tool.8 MAN= mlx5tool.8
WARNS?= 6
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -5,7 +5,6 @@ PACKAGE= tests
BINDIR= ${TESTSDIR} BINDIR= ${TESTSDIR}
PROGS+= crypt PROGS+= crypt
WARNS?= 6
LIBADD+= crypt LIBADD+= crypt
ATF_TESTS_SH= pw_etcdir_test \ ATF_TESTS_SH= pw_etcdir_test \