aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJohan Karlsson <johan@FreeBSD.org>2004-02-23 20:25:27 +0000
committerJohan Karlsson <johan@FreeBSD.org>2004-02-23 20:25:27 +0000
commit604d24db9579f5b317cae3fae63ab75ef5efca7f (patch)
treec7a40798921957743bfe9ddeb54c45234fb14086 /sbin
parentcee1270c1af563b8877f3ee833694ca693505177 (diff)
downloadsrc-604d24db9579f5b317cae3fae63ab75ef5efca7f.tar.gz
src-604d24db9579f5b317cae3fae63ab75ef5efca7f.zip
style.Makefile(5):
Use WARNS?= instead of WARNS=.
Notes
Notes: svn path=/head/; revision=126178
Diffstat (limited to 'sbin')
-rw-r--r--sbin/atm/atmconfig/Makefile2
-rw-r--r--sbin/dhclient/Makefile.inc2
-rw-r--r--sbin/dumpon/Makefile2
-rw-r--r--sbin/fdisk/Makefile2
-rw-r--r--sbin/fdisk_pc98/Makefile2
-rw-r--r--sbin/fsck_ffs/Makefile2
-rw-r--r--sbin/fsck_msdosfs/Makefile2
-rw-r--r--sbin/fsirand/Makefile2
-rw-r--r--sbin/gpt/Makefile2
-rw-r--r--sbin/idmapd/Makefile2
-rw-r--r--sbin/ifconfig/Makefile2
-rw-r--r--sbin/init/Makefile2
-rw-r--r--sbin/ip6fw/Makefile2
-rw-r--r--sbin/ipf/Makefile2
-rw-r--r--sbin/ipfs/Makefile2
-rw-r--r--sbin/ipfstat/Makefile2
-rw-r--r--sbin/ipmon/Makefile2
-rw-r--r--sbin/ipnat/Makefile2
-rw-r--r--sbin/ldconfig/Makefile2
-rw-r--r--sbin/mca/Makefile2
-rw-r--r--sbin/mknod/Makefile2
-rw-r--r--sbin/mount_cd9660/Makefile2
-rw-r--r--sbin/mount_hpfs/Makefile2
-rw-r--r--sbin/mount_nfs/Makefile2
-rw-r--r--sbin/mount_nfs4/Makefile2
-rw-r--r--sbin/mount_ntfs/Makefile2
-rw-r--r--sbin/mount_nullfs/Makefile2
-rw-r--r--sbin/mount_std/Makefile2
-rw-r--r--sbin/mount_udf/Makefile2
-rw-r--r--sbin/mount_umapfs/Makefile2
-rw-r--r--sbin/mount_unionfs/Makefile2
-rw-r--r--sbin/natd/Makefile2
-rw-r--r--sbin/newfs_msdos/Makefile2
-rw-r--r--sbin/nos-tun/Makefile2
-rw-r--r--sbin/ping/Makefile2
-rw-r--r--sbin/ping6/Makefile2
-rw-r--r--sbin/quotacheck/Makefile2
-rw-r--r--sbin/rcorder/Makefile2
-rw-r--r--sbin/restore/Makefile2
-rw-r--r--sbin/route/Makefile2
-rw-r--r--sbin/routed/Makefile2
-rw-r--r--sbin/routed/rtquery/Makefile2
-rw-r--r--sbin/rtsol/Makefile2
-rw-r--r--sbin/savecore/Makefile2
-rw-r--r--sbin/slattach/Makefile2
-rw-r--r--sbin/startslip/Makefile2
-rw-r--r--sbin/sysctl/Makefile2
-rw-r--r--sbin/umount/Makefile2
-rw-r--r--sbin/vinum/Makefile2
49 files changed, 49 insertions, 49 deletions
diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile
index 1146737a49bf..ddbee80a4d59 100644
--- a/sbin/atm/atmconfig/Makefile
+++ b/sbin/atm/atmconfig/Makefile
@@ -8,7 +8,7 @@
PROG= atmconfig
SRCS= main.c diag.c natm.c
MAN= atmconfig.8
-WARNS= 9
+WARNS?= 9
FILES= atmconfig.help
FILESDIR= /usr/share/doc/atm
diff --git a/sbin/dhclient/Makefile.inc b/sbin/dhclient/Makefile.inc
index d6b80609e40c..090d20834e14 100644
--- a/sbin/dhclient/Makefile.inc
+++ b/sbin/dhclient/Makefile.inc
@@ -2,7 +2,7 @@
MAINTAINER= mbr
-WARNS= 0
+WARNS?= 0
CFLAGS+= -I${DIST_DIR}/includes -DENABLE_POLLING_MODE -DNOMINUM
CLIENTBINDIR= /sbin
diff --git a/sbin/dumpon/Makefile b/sbin/dumpon/Makefile
index 12fced525c5f..2134cd52b8d6 100644
--- a/sbin/dumpon/Makefile
+++ b/sbin/dumpon/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= dumpon
-WARNS= 4
+WARNS?= 4
MAN= dumpon.8
.include <bsd.prog.mk>
diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile
index 8f0d8e925096..4289dc80e29a 100644
--- a/sbin/fdisk/Makefile
+++ b/sbin/fdisk/Makefile
@@ -2,7 +2,7 @@
PROG= fdisk
SRCS= fdisk.c geom_mbr_enc.c
-WARNS= 4
+WARNS?= 4
MAN= fdisk.8
.PATH: ${.CURDIR}/../../sys/geom
diff --git a/sbin/fdisk_pc98/Makefile b/sbin/fdisk_pc98/Makefile
index eeb3446b8d5f..d214888584a5 100644
--- a/sbin/fdisk_pc98/Makefile
+++ b/sbin/fdisk_pc98/Makefile
@@ -2,7 +2,7 @@
PROG= fdisk
SRCS= fdisk.c geom_pc98_enc.c
-WARNS= 0
+WARNS?= 0
MAN= fdisk.8
CFLAGS += -DPC98
diff --git a/sbin/fsck_ffs/Makefile b/sbin/fsck_ffs/Makefile
index 0e9ea699804e..5b7474fd338b 100644
--- a/sbin/fsck_ffs/Makefile
+++ b/sbin/fsck_ffs/Makefile
@@ -8,7 +8,7 @@ MAN= fsck_ffs.8
MLINKS= fsck_ffs.8 fsck_ufs.8 fsck_ffs.8 fsck_4.2bsd.8
SRCS= dir.c ea.c fsutil.c inode.c main.c pass1.c pass1b.c pass2.c pass3.c \
pass4.c pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
-WARNS= 2
+WARNS?= 2
CFLAGS+= -I${.CURDIR}
.PATH: ${.CURDIR}/../../sys/ufs/ffs
diff --git a/sbin/fsck_msdosfs/Makefile b/sbin/fsck_msdosfs/Makefile
index 715afe436af4..fd539b94f9d7 100644
--- a/sbin/fsck_msdosfs/Makefile
+++ b/sbin/fsck_msdosfs/Makefile
@@ -9,6 +9,6 @@ MAN= fsck_msdosfs.8
SRCS= main.c check.c boot.c fat.c dir.c fsutil.c
CFLAGS+= -I${FSCK}
-WARNS= 0
+WARNS?= 0
.include <bsd.prog.mk>
diff --git a/sbin/fsirand/Makefile b/sbin/fsirand/Makefile
index 948ee929c053..7e2da62408e3 100644
--- a/sbin/fsirand/Makefile
+++ b/sbin/fsirand/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= fsirand
-WARNS= 0
+WARNS?= 0
MAN= fsirand.8
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/sbin/gpt/Makefile b/sbin/gpt/Makefile
index a680986f0fe4..659687b39557 100644
--- a/sbin/gpt/Makefile
+++ b/sbin/gpt/Makefile
@@ -2,7 +2,7 @@
PROG= gpt
SRCS= add.c create.c destroy.c gpt.c map.c migrate.c recover.c show.c
-WARNS= 4
+WARNS?= 4
MAN= gpt.8
.include <bsd.prog.mk>
diff --git a/sbin/idmapd/Makefile b/sbin/idmapd/Makefile
index 65921572f7df..cd45007027af 100644
--- a/sbin/idmapd/Makefile
+++ b/sbin/idmapd/Makefile
@@ -7,7 +7,7 @@ SRCS= idmapd.c
MAN= idmapd.8
CFLAGS+= -DNFS -I/usr/src/sys
-WARNS= 2
+WARNS?= 2
.PATH:
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile
index ceb660aa60c0..252f8b60ea3b 100644
--- a/sbin/ifconfig/Makefile
+++ b/sbin/ifconfig/Makefile
@@ -32,6 +32,6 @@ LDADD= -lipx
CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
-Wnested-externs -I..
-WARNS= 0
+WARNS?= 0
.include <bsd.prog.mk>
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 75ec72dde4d6..ce2e618ca4e5 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -7,7 +7,7 @@ MLINKS= init.8 securelevel.8
BINMODE=500
INSTALLFLAGS=-fschg -b -B.bak
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
-WARNS= 0
+WARNS?= 0
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
diff --git a/sbin/ip6fw/Makefile b/sbin/ip6fw/Makefile
index 8100032dbe1b..dc91fd1cab30 100644
--- a/sbin/ip6fw/Makefile
+++ b/sbin/ip6fw/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= ip6fw
-WARNS= 0
+WARNS?= 0
MAN= ip6fw.8
.include <bsd.prog.mk>
diff --git a/sbin/ipf/Makefile b/sbin/ipf/Makefile
index 731894817a0b..1964def66ef8 100644
--- a/sbin/ipf/Makefile
+++ b/sbin/ipf/Makefile
@@ -9,7 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
-WARNS= 0
+WARNS?= 0
MAINTAINER= darrenr@freebsd.org
diff --git a/sbin/ipfs/Makefile b/sbin/ipfs/Makefile
index f067de22072e..963935262133 100644
--- a/sbin/ipfs/Makefile
+++ b/sbin/ipfs/Makefile
@@ -9,7 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
-WARNS= 0
+WARNS?= 0
MAINTAINER= darrenr@freebsd.org
diff --git a/sbin/ipfstat/Makefile b/sbin/ipfstat/Makefile
index 43da14b357ab..80fff2bb8d53 100644
--- a/sbin/ipfstat/Makefile
+++ b/sbin/ipfstat/Makefile
@@ -9,7 +9,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DSTATETOP
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
-WARNS= 0
+WARNS?= 0
DPADD= ${LIBNCURSES} ${LIBKVM}
LDADD= -lncurses -lkvm
diff --git a/sbin/ipmon/Makefile b/sbin/ipmon/Makefile
index e4a9da517662..f1c006d57a52 100644
--- a/sbin/ipmon/Makefile
+++ b/sbin/ipmon/Makefile
@@ -9,7 +9,7 @@ SRCS= ipmon.c
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DLOGFAC=LOG_SECURITY
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
-WARNS= 0
+WARNS?= 0
MAINTAINER= darrenr@freebsd.org
diff --git a/sbin/ipnat/Makefile b/sbin/ipnat/Makefile
index 81c407b2ebe4..6cb9d4abfe32 100644
--- a/sbin/ipnat/Makefile
+++ b/sbin/ipnat/Makefile
@@ -10,7 +10,7 @@ CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\"
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
-WARNS= 0
+WARNS?= 0
DPADD= ${LIBKVM}
LDADD= -lkvm
diff --git a/sbin/ldconfig/Makefile b/sbin/ldconfig/Makefile
index 776fef457db9..f2a2e51e71f9 100644
--- a/sbin/ldconfig/Makefile
+++ b/sbin/ldconfig/Makefile
@@ -4,7 +4,7 @@ PROG= ldconfig
SRCS= elfhints.c ldconfig.c shlib.c support.c
LDDIR?= ${.CURDIR}/../../libexec/rtld-aout
CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT
-WARNS= 0
+WARNS?= 0
MAN= ldconfig.8
.PATH: ${LDDIR}
diff --git a/sbin/mca/Makefile b/sbin/mca/Makefile
index 89a29e72da32..0aeed64e6183 100644
--- a/sbin/mca/Makefile
+++ b/sbin/mca/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
PROG= mca
-WARNS= 4
+WARNS?= 4
NOMAN= yes
.include <bsd.prog.mk>
diff --git a/sbin/mknod/Makefile b/sbin/mknod/Makefile
index c83c6bcd0da7..d28d3a595377 100644
--- a/sbin/mknod/Makefile
+++ b/sbin/mknod/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= mknod
-WARNS= 0
+WARNS?= 0
MAN= mknod.8
.include <bsd.prog.mk>
diff --git a/sbin/mount_cd9660/Makefile b/sbin/mount_cd9660/Makefile
index 0841157ecdba..80af58a5f19c 100644
--- a/sbin/mount_cd9660/Makefile
+++ b/sbin/mount_cd9660/Makefile
@@ -9,7 +9,7 @@ LDADD= -lkiconv
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
-WARNS= 0
+WARNS?= 0
# Needs to be dynamically linked for optional dlopen() access to
# userland libiconv
diff --git a/sbin/mount_hpfs/Makefile b/sbin/mount_hpfs/Makefile
index 12b30c4e8087..084377407787 100644
--- a/sbin/mount_hpfs/Makefile
+++ b/sbin/mount_hpfs/Makefile
@@ -8,7 +8,7 @@ MAN= mount_hpfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT} -DHPFS
-WARNS= 0
+WARNS?= 0
.PATH: ${MOUNT}
diff --git a/sbin/mount_nfs/Makefile b/sbin/mount_nfs/Makefile
index 0d3751498e87..68fe70ac3e13 100644
--- a/sbin/mount_nfs/Makefile
+++ b/sbin/mount_nfs/Makefile
@@ -9,7 +9,7 @@ MAN= mount_nfs.8
MOUNT= ${.CURDIR}/../mount
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
-WARNS= 2
+WARNS?= 2
.PATH: ${MOUNT} ${UMNTALL}
diff --git a/sbin/mount_nfs4/Makefile b/sbin/mount_nfs4/Makefile
index c418b72f7e8e..881d11904ae1 100644
--- a/sbin/mount_nfs4/Makefile
+++ b/sbin/mount_nfs4/Makefile
@@ -9,7 +9,7 @@ MAN= mount_nfs4.8
MOUNT= ${.CURDIR}/../mount
UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall
CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL}
-WARNS= 2
+WARNS?= 2
.PATH: ${MOUNT} ${UMNTALL}
diff --git a/sbin/mount_ntfs/Makefile b/sbin/mount_ntfs/Makefile
index 5a301105fef7..8a3e75e08bb2 100644
--- a/sbin/mount_ntfs/Makefile
+++ b/sbin/mount_ntfs/Makefile
@@ -10,7 +10,7 @@ LDADD= -lkiconv
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT}
-WARNS= 0
+WARNS?= 0
# Needs to be dynamically linked for optional dlopen() access to
# userland libiconv
diff --git a/sbin/mount_nullfs/Makefile b/sbin/mount_nullfs/Makefile
index 7139b3f9bd1d..9a6be28a960c 100644
--- a/sbin/mount_nullfs/Makefile
+++ b/sbin/mount_nullfs/Makefile
@@ -7,7 +7,7 @@ MAN= mount_nullfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT}
-WARNS= 0
+WARNS?= 0
.PATH: ${MOUNT}
diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile
index 2b8d62b33f56..110a5256cf22 100644
--- a/sbin/mount_std/Makefile
+++ b/sbin/mount_std/Makefile
@@ -11,7 +11,7 @@ MLINKS= mount_std.8 mount_devfs.8 \
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
-WARNS= 0
+WARNS?= 0
.PATH: ${MOUNT}
diff --git a/sbin/mount_udf/Makefile b/sbin/mount_udf/Makefile
index bd9163c8720c..3096c8e04566 100644
--- a/sbin/mount_udf/Makefile
+++ b/sbin/mount_udf/Makefile
@@ -9,7 +9,7 @@ LDADD= -lkiconv
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT} -I${.CURDIR}/../../sys -Wall
.PATH: ${MOUNT}
-WARNS= 1
+WARNS?= 1
# Needs to be dynamically linked for optional dlopen() access to
# userland libiconv
diff --git a/sbin/mount_umapfs/Makefile b/sbin/mount_umapfs/Makefile
index bb19eaeb3daa..0f5891fb2bf8 100644
--- a/sbin/mount_umapfs/Makefile
+++ b/sbin/mount_umapfs/Makefile
@@ -7,7 +7,7 @@ MAN= mount_umapfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT}
-WARNS= 0
+WARNS?= 0
.PATH: ${MOUNT}
diff --git a/sbin/mount_unionfs/Makefile b/sbin/mount_unionfs/Makefile
index dbe870fa80ec..02965042dd87 100644
--- a/sbin/mount_unionfs/Makefile
+++ b/sbin/mount_unionfs/Makefile
@@ -7,7 +7,7 @@ MAN= mount_unionfs.8
MOUNT= ${.CURDIR}/../mount
CFLAGS+=-I${MOUNT}
-WARNS= 0
+WARNS?= 0
.PATH: ${MOUNT}
diff --git a/sbin/natd/Makefile b/sbin/natd/Makefile
index 2dcf9c688654..c6bf3267a7cf 100644
--- a/sbin/natd/Makefile
+++ b/sbin/natd/Makefile
@@ -2,7 +2,7 @@
PROG = natd
SRCS = natd.c icmp.c
-WARNS= 0
+WARNS?= 0
LDADD = -lalias
DPADD = ${LIBALIAS}
MAN = natd.8
diff --git a/sbin/newfs_msdos/Makefile b/sbin/newfs_msdos/Makefile
index 9d5af35a3ca8..1c52095ce0db 100644
--- a/sbin/newfs_msdos/Makefile
+++ b/sbin/newfs_msdos/Makefile
@@ -3,6 +3,6 @@
PROG= newfs_msdos
MAN= newfs_msdos.8
-WARNS= 0
+WARNS?= 0
.include <bsd.prog.mk>
diff --git a/sbin/nos-tun/Makefile b/sbin/nos-tun/Makefile
index baae98ebb108..e128b62160f7 100644
--- a/sbin/nos-tun/Makefile
+++ b/sbin/nos-tun/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= nos-tun
-WARNS= 0
+WARNS?= 0
MAN= nos-tun.8
.include <bsd.prog.mk>
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 740567fb74f9..24882d3d7d6d 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -8,7 +8,7 @@ BINMODE=4555
.if ${MACHINE_ARCH} == "alpha"
CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
.endif
-WARNS= 2
+WARNS?= 2
DPADD= ${LIBM}
LDADD= -lm
diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile
index 4073a56debff..4e6da277922d 100644
--- a/sbin/ping6/Makefile
+++ b/sbin/ping6/Makefile
@@ -5,7 +5,7 @@ MAN= ping6.8
CFLAGS+=-DINET6 -DIPSEC -DKAME_SCOPEID -DUSE_RFC2292BIS \
-DHAVE_POLL_H -DHAVE_ARC4RANDOM
-WARNS= 0
+WARNS?= 0
BINOWN= root
BINMODE=4555
diff --git a/sbin/quotacheck/Makefile b/sbin/quotacheck/Makefile
index d909e1abecd1..b54eda312880 100644
--- a/sbin/quotacheck/Makefile
+++ b/sbin/quotacheck/Makefile
@@ -3,7 +3,7 @@
PROG= quotacheck
SRCS= quotacheck.c preen.c utilities.c
-WARNS= 2
+WARNS?= 2
MAN= quotacheck.8
.PATH: ${.CURDIR}/../fsck_ffs
diff --git a/sbin/rcorder/Makefile b/sbin/rcorder/Makefile
index 9cdac626b678..3f34be55206f 100644
--- a/sbin/rcorder/Makefile
+++ b/sbin/rcorder/Makefile
@@ -8,7 +8,7 @@ MAN= rcorder.8
LDADD= -lutil
DPADD= ${LIBUTIL}
-WARNS= 0
+WARNS?= 0
# XXX hack for make's hash.[ch]
CFLAGS+= -DORDER -I.
diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile
index 5571947d8960..c06a3db9116c 100644
--- a/sbin/restore/Makefile
+++ b/sbin/restore/Makefile
@@ -6,7 +6,7 @@
PROG= restore
LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
CFLAGS+=-DRRESTORE
-WARNS= 0
+WARNS?= 0
SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
dumprmt.c
MAN= restore.8
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 7e3dd09bb760..fede01d4dcc4 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -6,7 +6,7 @@ MAN= route.8
SRCS= route.c keywords.h
CFLAGS+=-I. -Wall -DNS
CFLAGS+=-DINET6
-WARNS= 0
+WARNS?= 0
CLEANFILES+=keywords.h _keywords.tmp
keywords.h: keywords
diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile
index 34c8e555b1ca..3d25171f53ec 100644
--- a/sbin/routed/Makefile
+++ b/sbin/routed/Makefile
@@ -8,6 +8,6 @@ SUBDIR= rtquery
LDADD= -lmd
DPADD= ${LIBMD}
#COPTS= -g -DDEBUG -W -Wall -Wcast-align -Wcast-qual -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wunused
-WARNS= 0
+WARNS?= 0
.include <bsd.prog.mk>
diff --git a/sbin/routed/rtquery/Makefile b/sbin/routed/rtquery/Makefile
index 1b553a3f766f..e2701da2a609 100644
--- a/sbin/routed/rtquery/Makefile
+++ b/sbin/routed/rtquery/Makefile
@@ -7,6 +7,6 @@ MAN= rtquery.8
LDADD= -lmd
DPADD= ${LIBMD}
#COPTS= -g -DDEBUG -W -Wall -Wcast-align -Wcast-qual -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wunused
-WARNS= 0
+WARNS?= 0
.include <bsd.prog.mk>
diff --git a/sbin/rtsol/Makefile b/sbin/rtsol/Makefile
index c68ef2dafd61..0bdbdaa0ba67 100644
--- a/sbin/rtsol/Makefile
+++ b/sbin/rtsol/Makefile
@@ -19,7 +19,7 @@ PROG= rtsol
SRCS= rtsold.c rtsol.c if.c probe.c rtsock.c
CFLAGS+=-DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL
-WARNS= 0
+WARNS?= 0
NOMAN= yes
diff --git a/sbin/savecore/Makefile b/sbin/savecore/Makefile
index 31b46ac84797..6d7b5e0362d1 100644
--- a/sbin/savecore/Makefile
+++ b/sbin/savecore/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= savecore
-WARNS= 4
+WARNS?= 4
DPADD= ${LIBZ}
LDADD= -lz
MAN= savecore.8
diff --git a/sbin/slattach/Makefile b/sbin/slattach/Makefile
index 3060c747b7ba..84b0c1282865 100644
--- a/sbin/slattach/Makefile
+++ b/sbin/slattach/Makefile
@@ -3,7 +3,7 @@
# $FreeBSD$
PROG= slattach
-WARNS= 0
+WARNS?= 0
MAN= slattach.8
MLINKS= slattach.8 slip.8
LDADD= -lutil
diff --git a/sbin/startslip/Makefile b/sbin/startslip/Makefile
index 5ac6581b20aa..907cf6dc90f4 100644
--- a/sbin/startslip/Makefile
+++ b/sbin/startslip/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= startslip
-WARNS= 0
+WARNS?= 0
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/sbin/sysctl/Makefile b/sbin/sysctl/Makefile
index 58f3e9bc8129..381f19918be3 100644
--- a/sbin/sysctl/Makefile
+++ b/sbin/sysctl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PROG= sysctl
-WARNS= 0
+WARNS?= 0
MAN= sysctl.8
.include <bsd.prog.mk>
diff --git a/sbin/umount/Makefile b/sbin/umount/Makefile
index 51bcbad2f92f..70ccc5a06624 100644
--- a/sbin/umount/Makefile
+++ b/sbin/umount/Makefile
@@ -4,7 +4,7 @@
PROG= umount
SRCS= umount.c vfslist.c mounttab.c
-WARNS= 0
+WARNS?= 0
MAN= umount.8
MOUNT= ${.CURDIR}/../mount
diff --git a/sbin/vinum/Makefile b/sbin/vinum/Makefile
index a51ed5d348d6..ce1bcaaf9ad9 100644
--- a/sbin/vinum/Makefile
+++ b/sbin/vinum/Makefile
@@ -5,7 +5,7 @@ SRCS= v.c list.c vinumparser.c vinumutil.c vext.h commands.c
MAN= vinum.8
CFLAGS+= -I${.CURDIR}/../../sys
-WARNS= 0
+WARNS?= 0
DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM}
LDADD= -lreadline -ltermcap -ldevstat -lkvm