diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-04 02:19:58 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-04 02:19:58 +0000 |
| commit | 2d68bf45bfd846af100054ea94cdce64e298eb01 (patch) | |
| tree | e310d81d0274f70e39b1ca6e572c855c93bfb84d | |
| parent | a748290789444352877e207721a7db215206cc9a (diff) | |
Notes
95 files changed, 108 insertions, 22 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc index f8709625c59af..885e593448fdc 100644 --- a/sbin/Makefile.inc +++ b/sbin/Makefile.inc @@ -3,3 +3,4 @@ BINDIR?= /sbin NOSHARED?= YES +WARNS?= 2 diff --git a/sbin/adjkerntz/Makefile b/sbin/adjkerntz/Makefile index d254dcc2a8d2e..27c128916f9bb 100644 --- a/sbin/adjkerntz/Makefile +++ b/sbin/adjkerntz/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= adjkerntz -WARNS?= 2 MAN= adjkerntz.8 .include <bsd.prog.mk> diff --git a/sbin/atacontrol/Makefile b/sbin/atacontrol/Makefile index 717c53d9df866..95c929891dd5b 100644 --- a/sbin/atacontrol/Makefile +++ b/sbin/atacontrol/Makefile @@ -1,5 +1,7 @@ #$FreeBSD$ + PROG= atacontrol +WARNS= 0 MAN= atacontrol.8 .include <bsd.prog.mk> diff --git a/sbin/atm/atm/Makefile b/sbin/atm/atm/Makefile index a3b99d11de86a..1ea91e9e716d7 100644 --- a/sbin/atm/atm/Makefile +++ b/sbin/atm/atm/Makefile @@ -33,6 +33,7 @@ SRCS= atm.c atm_fore200.c atm_eni.c atm_inet.c atm_print.c \ MAN= atm.8 CFLAGS+= -I${.CURDIR}/../../../sys +WARNS= 0 LDADD+= -latm DPADD+= ${LIBATM} diff --git a/sbin/atm/fore_dnld/Makefile b/sbin/atm/fore_dnld/Makefile index 576a35bf795ec..b60b9812e5f37 100644 --- a/sbin/atm/fore_dnld/Makefile +++ b/sbin/atm/fore_dnld/Makefile @@ -32,6 +32,7 @@ MAN= fore_dnld.8 SRCS= fore_dnld.c pca200e.c CFLAGS+= -I${.CURDIR}/../../../sys +WARNS= 0 LDADD+= -latm DPADD+= ${LIBATM} diff --git a/sbin/atm/ilmid/Makefile b/sbin/atm/ilmid/Makefile index a69f154f48e4f..75fd79874ee88 100644 --- a/sbin/atm/ilmid/Makefile +++ b/sbin/atm/ilmid/Makefile @@ -31,6 +31,7 @@ PROG= ilmid MAN= ilmid.8 CFLAGS+= -I${.CURDIR}/../../../sys +WARNS= 0 LDADD+= -latm DPADD+= ${LIBATM} diff --git a/sbin/badsect/Makefile b/sbin/badsect/Makefile index 17bcc86dbc83e..24224f47bfdd6 100644 --- a/sbin/badsect/Makefile +++ b/sbin/badsect/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= badsect +WARNS= 0 MAN= badsect.8 .include <bsd.prog.mk> diff --git a/sbin/bsdlabel/Makefile b/sbin/bsdlabel/Makefile index 9884d552d415c..932bcd5ded1ad 100644 --- a/sbin/bsdlabel/Makefile +++ b/sbin/bsdlabel/Makefile @@ -8,5 +8,6 @@ MAN= disklabel.5 disklabel.8 .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 .endif +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/camcontrol/Makefile b/sbin/camcontrol/Makefile index 8b047d3f0cf0b..62588e67c4ce2 100644 --- a/sbin/camcontrol/Makefile +++ b/sbin/camcontrol/Makefile @@ -7,6 +7,7 @@ MAN= camcontrol.8 SDIR= ${.CURDIR}/../../sys CFLAGS+= -I${SDIR} +WARNS= 0 DPADD= ${LIBCAM} ${LIBSBUF} LDADD+= -lcam -lsbuf diff --git a/sbin/ccdconfig/Makefile b/sbin/ccdconfig/Makefile index ace2477fbd269..811a5aae2965c 100644 --- a/sbin/ccdconfig/Makefile +++ b/sbin/ccdconfig/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= ccdconfig +WARNS= 0 MAN= ccdconfig.8 .include <bsd.prog.mk> diff --git a/sbin/clri/Makefile b/sbin/clri/Makefile index 0e99a4e4d411e..c68c312f269b2 100644 --- a/sbin/clri/Makefile +++ b/sbin/clri/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= clri -WARNS?= 2 MAN= clri.8 .include <bsd.prog.mk> diff --git a/sbin/comcontrol/Makefile b/sbin/comcontrol/Makefile index d8757565b1a05..1fac2b2b77c35 100644 --- a/sbin/comcontrol/Makefile +++ b/sbin/comcontrol/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= comcontrol +WARNS= 0 MAN= comcontrol.8 .include <bsd.prog.mk> diff --git a/sbin/conscontrol/Makefile b/sbin/conscontrol/Makefile index fabb3defc963f..ddd2434e6cc58 100644 --- a/sbin/conscontrol/Makefile +++ b/sbin/conscontrol/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= conscontrol -WARNS?= 2 MAN= conscontrol.8 .include <bsd.prog.mk> diff --git a/sbin/cxconfig/Makefile b/sbin/cxconfig/Makefile index 49c493e9545a2..e851ec9e17cac 100644 --- a/sbin/cxconfig/Makefile +++ b/sbin/cxconfig/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= cxconfig -WARNS?= 2 MAN= cxconfig.8 .include <bsd.prog.mk> diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile index 602061639e646..45c2a0f7303db 100644 --- a/sbin/dhclient/Makefile +++ b/sbin/dhclient/Makefile @@ -12,6 +12,7 @@ SRCS+= alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \ CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR} CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn +WARNS= 0 SCRIPTS= scripts/freebsd SCRIPTSNAME= dhclient-script diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile index 9884d552d415c..932bcd5ded1ad 100644 --- a/sbin/disklabel/Makefile +++ b/sbin/disklabel/Makefile @@ -8,5 +8,6 @@ MAN= disklabel.5 disklabel.8 .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 .endif +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/dmesg/Makefile b/sbin/dmesg/Makefile index 777956357ae0c..c48be090a94e6 100644 --- a/sbin/dmesg/Makefile +++ b/sbin/dmesg/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= dmesg +WARNS= 0 MAN= dmesg.8 LDADD= -lkvm DPADD= ${LIBKVM} diff --git a/sbin/dump/Makefile b/sbin/dump/Makefile index 2df9111f8967f..bb47aac968376 100644 --- a/sbin/dump/Makefile +++ b/sbin/dump/Makefile @@ -17,6 +17,7 @@ PROG= dump LINKS= ${BINDIR}/dump ${BINDIR}/rdump CFLAGS+=-DRDUMP CFLAGS+=-I${.CURDIR}/../../libexec/rlogind +WARNS= 0 SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c MAN= dump.8 MLINKS+=dump.8 rdump.8 diff --git a/sbin/dumpfs/Makefile b/sbin/dumpfs/Makefile index e1c5a7f370def..f26a337e871fc 100644 --- a/sbin/dumpfs/Makefile +++ b/sbin/dumpfs/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= dumpfs +WARNS= 0 MAN= dumpfs.8 .include <bsd.prog.mk> diff --git a/sbin/dumpon/Makefile b/sbin/dumpon/Makefile index d11ccc761127c..5a703820812ab 100644 --- a/sbin/dumpon/Makefile +++ b/sbin/dumpon/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= dumpon +WARNS= 0 MAN= dumpon.8 .include <bsd.prog.mk> diff --git a/sbin/fdisk/Makefile b/sbin/fdisk/Makefile index bcedf0d8d5078..ef55d0ac72462 100644 --- a/sbin/fdisk/Makefile +++ b/sbin/fdisk/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= fdisk +WARNS= 0 MAN= fdisk.8 .include <bsd.prog.mk> diff --git a/sbin/fdisk_pc98/Makefile b/sbin/fdisk_pc98/Makefile index 07dc227f7ee6b..17859264474cd 100644 --- a/sbin/fdisk_pc98/Makefile +++ b/sbin/fdisk_pc98/Makefile @@ -4,5 +4,6 @@ PROG= fdisk MAN= fdisk.8 CFLAGS += -DPC98 +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/ffsinfo/Makefile b/sbin/ffsinfo/Makefile index 6172ab9244444..5e6e8ed0ff774 100644 --- a/sbin/ffsinfo/Makefile +++ b/sbin/ffsinfo/Makefile @@ -14,6 +14,8 @@ MAN= ffsinfo.8 GROWFS= ${.CURDIR}/../growfs CFLAGS+=-DFS_DEBUG -I${GROWFS} +WARNS= 0 + .PATH: ${GROWFS} .include <bsd.prog.mk> diff --git a/sbin/fsck/Makefile b/sbin/fsck/Makefile index 22de03c4da78e..a916282d565bb 100644 --- a/sbin/fsck/Makefile +++ b/sbin/fsck/Makefile @@ -3,6 +3,7 @@ PROG= fsck SRCS= fsck.c fsutil.c preen.c +WARNS= 0 MAN= fsck.8 .include <bsd.prog.mk> diff --git a/sbin/fsck_ffs/Makefile b/sbin/fsck_ffs/Makefile index de431f0df5f39..94417f9a90e71 100644 --- a/sbin/fsck_ffs/Makefile +++ b/sbin/fsck_ffs/Makefile @@ -7,7 +7,8 @@ LINKS+= ${BINDIR}/fsck_ffs ${BINDIR}/fsck_4.2bsd MAN= fsck_ffs.8 SRCS= dir.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 -CFLAGS+=-W +WARNS= 0 + .PATH: ${.CURDIR}/../../sys/ufs/ffs .include <bsd.prog.mk> diff --git a/sbin/fsck_ffs/fsck_ffs.8 b/sbin/fsck_ffs/fsck_ffs.8 index 2486b49c3b8aa..cab040fc59271 100644 --- a/sbin/fsck_ffs/fsck_ffs.8 +++ b/sbin/fsck_ffs/fsck_ffs.8 @@ -296,6 +296,10 @@ If the .Pa lost+found directory does not exist, it is created. If there is insufficient space its size is increased. +.Sh RETURN VALUES +.Nm +returns the value 0 if successful; +otherwise the following values are returned to indicate the error. .Sh FILES .Bl -tag -width /etc/fstab -compact .It Pa /etc/fstab diff --git a/sbin/fsck_ifs/Makefile b/sbin/fsck_ifs/Makefile index 234b54db8668e..c16ac80b30896 100644 --- a/sbin/fsck_ifs/Makefile +++ b/sbin/fsck_ifs/Makefile @@ -5,7 +5,8 @@ PROG= fsck_ifs NOMAN= true SRCS= dir.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 -CFLAGS+=-W +WARNS= 0 + .PATH: ${.CURDIR}/../../sys/ufs/ffs .include <bsd.prog.mk> diff --git a/sbin/fsck_msdosfs/Makefile b/sbin/fsck_msdosfs/Makefile index f9dd9fae401b0..715afe436af4e 100644 --- a/sbin/fsck_msdosfs/Makefile +++ b/sbin/fsck_msdosfs/Makefile @@ -9,5 +9,6 @@ MAN= fsck_msdosfs.8 SRCS= main.c check.c boot.c fat.c dir.c fsutil.c CFLAGS+= -I${FSCK} +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile index 9fc547c9ad02a..8f1595c654d20 100644 --- a/sbin/fsdb/Makefile +++ b/sbin/fsdb/Makefile @@ -8,6 +8,7 @@ SRCS= fsdb.c fsdbutil.c \ dir.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass3.c pass4.c \ pass5.c preen.c setup.c utilities.c ffs_subr.c ffs_tables.c CFLAGS+= -I${.CURDIR}/../fsck_ffs +WARNS= 0 LDADD+= -ledit -ltermcap DPADD+= ${LIBEDIT} ${LIBTERMCAP} .PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs diff --git a/sbin/fsirand/Makefile b/sbin/fsirand/Makefile index 4b24233bbf198..948ee929c0533 100644 --- a/sbin/fsirand/Makefile +++ b/sbin/fsirand/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= fsirand +WARNS= 0 MAN= fsirand.8 DPADD= ${LIBUTIL} LDADD= -lutil diff --git a/sbin/growfs/Makefile b/sbin/growfs/Makefile index 7dba7cbaf51bc..5cb76a7109308 100644 --- a/sbin/growfs/Makefile +++ b/sbin/growfs/Makefile @@ -17,5 +17,6 @@ MAN= growfs.8 SRCS+= debug.c CFLAGS+=-DFS_DEBUG .endif +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile index 08d130cb873ad..73f2f83dec801 100644 --- a/sbin/ifconfig/Makefile +++ b/sbin/ifconfig/Makefile @@ -9,6 +9,7 @@ SRCS+= ifmedia.c CFLAGS+=-DUSE_IF_MEDIA .if !defined(RELEASE_CRUNCH) CFLAGS+=-DINET6 +WARNS= 0 #comment out to exclude SIOC[GS]ETVLAN support SRCS+= ifvlan.c diff --git a/sbin/init/Makefile b/sbin/init/Makefile index 400d623615728..3d60bbe012a18 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -7,6 +7,7 @@ MLINKS= init.8 securelevel.8 BINMODE=500 INSTALLFLAGS=-fschg -b -B.bak CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT +WARNS= 0 DPADD= ${LIBUTIL} ${LIBCRYPT} LDADD= -lutil -lcrypt diff --git a/sbin/ip6fw/Makefile b/sbin/ip6fw/Makefile index d8bda205ada9b..8100032dbe1b2 100644 --- a/sbin/ip6fw/Makefile +++ b/sbin/ip6fw/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= ip6fw +WARNS= 0 MAN= ip6fw.8 .include <bsd.prog.mk> diff --git a/sbin/ipf/Makefile b/sbin/ipf/Makefile index 23e13be6aac00..7727ea3d3b53d 100644 --- a/sbin/ipf/Makefile +++ b/sbin/ipf/Makefile @@ -8,6 +8,7 @@ SRCS= ipf.c parse.c opt.c facpri.c common.c CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter +WARNS= 0 MAINTAINER= guido@freebsd.org diff --git a/sbin/ipfs/Makefile b/sbin/ipfs/Makefile index 48a617b7d6aec..85b81c49c3495 100644 --- a/sbin/ipfs/Makefile +++ b/sbin/ipfs/Makefile @@ -8,6 +8,7 @@ SRCS= ipfs.c CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter +WARNS= 0 MAINTAINER= darrenr@freebsd.org diff --git a/sbin/ipfstat/Makefile b/sbin/ipfstat/Makefile index 7e20bc984a7f7..3d1731fd38b84 100644 --- a/sbin/ipfstat/Makefile +++ b/sbin/ipfstat/Makefile @@ -9,6 +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 DPADD= ${LIBNCURSES} LDADD= -lncurses diff --git a/sbin/ipfw/Makefile b/sbin/ipfw/Makefile index 8cf939d8f4231..241d304673af2 100644 --- a/sbin/ipfw/Makefile +++ b/sbin/ipfw/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PROG= ipfw +WARNS= 0 MAN= ipfw.8 -CFLAGS+=-Wall .include <bsd.prog.mk> diff --git a/sbin/ipmon/Makefile b/sbin/ipmon/Makefile index b4450f7a3047e..d900f6754f73f 100644 --- a/sbin/ipmon/Makefile +++ b/sbin/ipmon/Makefile @@ -7,6 +7,7 @@ MAN= ipl.4 ipmon.8 SRCS= ipmon.c CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -I${.CURDIR}/../../contrib/ipfilter +WARNS= 0 MAINTAINER= guido@freebsd.org diff --git a/sbin/ipnat/Makefile b/sbin/ipnat/Makefile index 905091514835a..dc386acc78a1b 100644 --- a/sbin/ipnat/Makefile +++ b/sbin/ipnat/Makefile @@ -9,6 +9,7 @@ SRCS= ipnat.c kmem.c natparse.c common.c CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter +WARNS= 0 MAINTAINER= guido@freebsd.org diff --git a/sbin/kget/Makefile b/sbin/kget/Makefile index f42176e2a6c21..11c2d66213086 100644 --- a/sbin/kget/Makefile +++ b/sbin/kget/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ # PROG= kget +WARNS= 0 MAN= kget.8 .include <bsd.prog.mk> diff --git a/sbin/kldconfig/Makefile b/sbin/kldconfig/Makefile index 7455af9d318ca..a478c4b619d08 100644 --- a/sbin/kldconfig/Makefile +++ b/sbin/kldconfig/Makefile @@ -29,6 +29,4 @@ PROG= kldconfig MAN= kldconfig.8 -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/sbin/kldload/Makefile b/sbin/kldload/Makefile index 6e9e17ddc4939..05ad5bab82c0a 100644 --- a/sbin/kldload/Makefile +++ b/sbin/kldload/Makefile @@ -27,7 +27,6 @@ # PROG= kldload -WARNS?= 2 MAN= kldload.8 .include <bsd.prog.mk> diff --git a/sbin/kldstat/Makefile b/sbin/kldstat/Makefile index e4145d7c3c416..6380a27d60da3 100644 --- a/sbin/kldstat/Makefile +++ b/sbin/kldstat/Makefile @@ -27,6 +27,7 @@ # PROG= kldstat +WARNS= 0 MAN= kldstat.8 .include <bsd.prog.mk> diff --git a/sbin/kldunload/Makefile b/sbin/kldunload/Makefile index 1a25a02351be3..555ad6b793831 100644 --- a/sbin/kldunload/Makefile +++ b/sbin/kldunload/Makefile @@ -27,6 +27,7 @@ # PROG= kldunload +WARNS= 0 MAN= kldunload.8 .include <bsd.prog.mk> diff --git a/sbin/ldconfig/Makefile b/sbin/ldconfig/Makefile index 15c3808520ba8..776fef457db9a 100644 --- a/sbin/ldconfig/Makefile +++ b/sbin/ldconfig/Makefile @@ -4,6 +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 MAN= ldconfig.8 .PATH: ${LDDIR} diff --git a/sbin/md5/Makefile b/sbin/md5/Makefile index 938141e972c10..352212829ddbf 100644 --- a/sbin/md5/Makefile +++ b/sbin/md5/Makefile @@ -6,6 +6,4 @@ PROG= md5 LDADD+= -lmd DPADD+= ${LIBMD} -WARNS?= 2 - .include <bsd.prog.mk> diff --git a/sbin/mdconfig/Makefile b/sbin/mdconfig/Makefile index e6f2db46aaaad..3abf56b74a8e7 100644 --- a/sbin/mdconfig/Makefile +++ b/sbin/mdconfig/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= mdconfig -WARNS?= 2 MAN= mdconfig.8 MLINKS= mdconfig.8 vnconfig.8 diff --git a/sbin/mdmfs/Makefile b/sbin/mdmfs/Makefile index afa13e84df9a1..8b3dacacd842a 100644 --- a/sbin/mdmfs/Makefile +++ b/sbin/mdmfs/Makefile @@ -2,6 +2,5 @@ PROG= mdmfs MAN= mdmfs.8 -WARNS?= 2 .include <bsd.prog.mk> diff --git a/sbin/mknod/Makefile b/sbin/mknod/Makefile index 63235b2ce6e44..c83c6bcd0da7b 100644 --- a/sbin/mknod/Makefile +++ b/sbin/mknod/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= mknod +WARNS= 0 MAN= mknod.8 .include <bsd.prog.mk> diff --git a/sbin/mount/Makefile b/sbin/mount/Makefile index acdc2b7eb03f1..68cf435a3793a 100644 --- a/sbin/mount/Makefile +++ b/sbin/mount/Makefile @@ -3,6 +3,7 @@ PROG= mount SRCS= mount.c mount_ufs.c getmntopts.c vfslist.c +WARNS= 0 MAN= mount.8 # We do NOT install the getmntopts.3 man page. diff --git a/sbin/mount_cd9660/Makefile b/sbin/mount_cd9660/Makefile index 7c56886036e08..779b03d6a7052 100644 --- a/sbin/mount_cd9660/Makefile +++ b/sbin/mount_cd9660/Makefile @@ -7,6 +7,8 @@ MAN= mount_cd9660.8 MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_ext2fs/Makefile b/sbin/mount_ext2fs/Makefile index 9e0c5d4cf58d0..45a29c48e8951 100644 --- a/sbin/mount_ext2fs/Makefile +++ b/sbin/mount_ext2fs/Makefile @@ -7,6 +7,8 @@ MAN= mount_ext2fs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_hpfs/Makefile b/sbin/mount_hpfs/Makefile index c8e0fd2298969..12b30c4e80878 100644 --- a/sbin/mount_hpfs/Makefile +++ b/sbin/mount_hpfs/Makefile @@ -8,6 +8,8 @@ MAN= mount_hpfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} -DHPFS +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_ifs/Makefile b/sbin/mount_ifs/Makefile index f615327b9726d..d0f566d5358b3 100644 --- a/sbin/mount_ifs/Makefile +++ b/sbin/mount_ifs/Makefile @@ -7,6 +7,8 @@ NOMAN= noman MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_msdosfs/Makefile b/sbin/mount_msdosfs/Makefile index d26b501fdea8d..25e0a21060b4c 100644 --- a/sbin/mount_msdosfs/Makefile +++ b/sbin/mount_msdosfs/Makefile @@ -10,6 +10,8 @@ LDADD= -lutil MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} TABDIR= ${DESTDIR}${LIBDATADIR}/msdosfs diff --git a/sbin/mount_nfs/Makefile b/sbin/mount_nfs/Makefile index f96f27607cecf..26f69c8dd9ec6 100644 --- a/sbin/mount_nfs/Makefile +++ b/sbin/mount_nfs/Makefile @@ -9,6 +9,8 @@ MAN= mount_nfs.8 MOUNT= ${.CURDIR}/../mount UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall CFLAGS+= -DNFS -I${MOUNT} -I${UMNTALL} +WARNS= 0 + .PATH: ${MOUNT} ${UMNTALL} .include <bsd.prog.mk> diff --git a/sbin/mount_ntfs/Makefile b/sbin/mount_ntfs/Makefile index 369d2555a8366..24b6864cff8d2 100644 --- a/sbin/mount_ntfs/Makefile +++ b/sbin/mount_ntfs/Makefile @@ -10,6 +10,8 @@ LDADD= -lutil MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_nullfs/Makefile b/sbin/mount_nullfs/Makefile index 0e281d1ebc65e..7139b3f9bd1de 100644 --- a/sbin/mount_nullfs/Makefile +++ b/sbin/mount_nullfs/Makefile @@ -7,6 +7,8 @@ MAN= mount_nullfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_nwfs/Makefile b/sbin/mount_nwfs/Makefile index f66b259bf60e3..00fed85188b58 100644 --- a/sbin/mount_nwfs/Makefile +++ b/sbin/mount_nwfs/Makefile @@ -6,6 +6,8 @@ MAN= mount_nwfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+= -DNWFS -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} DPADD= ${LIBNCP} ${LIBIPX} diff --git a/sbin/mount_portalfs/Makefile b/sbin/mount_portalfs/Makefile index edf55eeb6e396..90161dc27d5da 100644 --- a/sbin/mount_portalfs/Makefile +++ b/sbin/mount_portalfs/Makefile @@ -8,6 +8,8 @@ MAN= mount_portalfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile index 985f3eec18aee..2b8d62b33f56a 100644 --- a/sbin/mount_std/Makefile +++ b/sbin/mount_std/Makefile @@ -11,6 +11,8 @@ MLINKS= mount_std.8 mount_devfs.8 \ MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} LINKS= ${BINDIR}/mount_std ${BINDIR}/mount_devfs \ diff --git a/sbin/mount_umapfs/Makefile b/sbin/mount_umapfs/Makefile index dda3bf7d615a2..bb19eaeb3daae 100644 --- a/sbin/mount_umapfs/Makefile +++ b/sbin/mount_umapfs/Makefile @@ -7,6 +7,8 @@ MAN= mount_umapfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mount_unionfs/Makefile b/sbin/mount_unionfs/Makefile index 052327b8b59a3..dbe870fa80ec2 100644 --- a/sbin/mount_unionfs/Makefile +++ b/sbin/mount_unionfs/Makefile @@ -7,6 +7,8 @@ MAN= mount_unionfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/mountd/Makefile b/sbin/mountd/Makefile index 96ec6b60e2edc..04cd28f0fddc3 100644 --- a/sbin/mountd/Makefile +++ b/sbin/mountd/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= mountd +WARNS= 0 MAN= exports.5 netgroup.5 mountd.8 .include <bsd.prog.mk> diff --git a/sbin/natd/Makefile b/sbin/natd/Makefile index 0d6bb7b01c136..ba6730e7643e9 100644 --- a/sbin/natd/Makefile +++ b/sbin/natd/Makefile @@ -4,7 +4,7 @@ MAINTAINER = ru@FreeBSD.org MAINTAINER += ari@suutari.iki.fi PROG = natd SRCS = natd.c icmp.c -CFLAGS += -Wall +WARNS= 0 LDADD = -lalias DPADD = ${LIBALIAS} MAN = natd.8 diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile index 80cb66371d17f..5fabadf76d4b4 100644 --- a/sbin/newfs/Makefile +++ b/sbin/newfs/Makefile @@ -7,6 +7,8 @@ MAN= newfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-DFSIRAND -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/sbin/newfs_msdos/Makefile b/sbin/newfs_msdos/Makefile index a1555da190632..6667d5f6cc919 100644 --- a/sbin/newfs_msdos/Makefile +++ b/sbin/newfs_msdos/Makefile @@ -6,5 +6,6 @@ MAN= newfs_msdos.8 .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 .endif +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/nextboot/Makefile b/sbin/nextboot/Makefile index 18cfbe14f2baf..cff95d25c5682 100644 --- a/sbin/nextboot/Makefile +++ b/sbin/nextboot/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= nextboot +WARNS= 0 MAN= nextboot.8 .include <bsd.prog.mk> diff --git a/sbin/nfsd/Makefile b/sbin/nfsd/Makefile index c03b8f52ca172..e43192ac8e25e 100644 --- a/sbin/nfsd/Makefile +++ b/sbin/nfsd/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= nfsd +WARNS= 0 MAN= nfsd.8 .include <bsd.prog.mk> diff --git a/sbin/nfsiod/Makefile b/sbin/nfsiod/Makefile index 7db85b49509bb..042eb0c9216e2 100644 --- a/sbin/nfsiod/Makefile +++ b/sbin/nfsiod/Makefile @@ -4,5 +4,6 @@ PROG= nfsiod MAN= nfsiod.8 CFLAGS+=-DNFS +WARNS= 0 .include <bsd.prog.mk> diff --git a/sbin/nos-tun/Makefile b/sbin/nos-tun/Makefile index 82372b378a64d..baae98ebb108b 100644 --- a/sbin/nos-tun/Makefile +++ b/sbin/nos-tun/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG= nos-tun +WARNS= 0 MAN= nos-tun.8 .include <bsd.prog.mk> diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile index a557b371f1c23..ba8fc9b438036 100644 --- a/sbin/ping/Makefile +++ b/sbin/ping/Makefile @@ -5,10 +5,10 @@ PROG= ping MAN= ping.8 BINOWN= root BINMODE=4555 -CFLAGS+=-Wall -Wmissing-prototypes .if ${MACHINE_ARCH} == "alpha" CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies .endif +WARNS= 0 DPADD= ${LIBM} LDADD= -lm diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile index ddc996282653c..c8ba59942586f 100644 --- a/sbin/ping6/Makefile +++ b/sbin/ping6/Makefile @@ -4,6 +4,7 @@ PROG= ping6 MAN= ping6.8 CFLAGS+=-DINET6 -DIPSEC +WARNS= 0 BINOWN= root BINMODE=4555 diff --git a/sbin/quotacheck/Makefile b/sbin/quotacheck/Makefile index e0c36e9297462..3b04565f132b1 100644 --- a/sbin/quotacheck/Makefile +++ b/sbin/quotacheck/Makefile @@ -3,7 +3,9 @@ PROG= quotacheck SRCS= quotacheck.c preen.c utilities.c +WARNS= 0 MAN= quotacheck.8 + .PATH: ${.CURDIR}/../fsck_ffs .include <bsd.prog.mk> diff --git a/sbin/reboot/Makefile b/sbin/reboot/Makefile index ec0f8c603330c..2a0e4ac573ee9 100644 --- a/sbin/reboot/Makefile +++ b/sbin/reboot/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= reboot -WARNS?= 2 DPADD= ${LIBUTIL} LDADD= -lutil MAN= reboot.8 boot_i386.8 diff --git a/sbin/restore/Makefile b/sbin/restore/Makefile index 7de467311bac1..bd84cf584f9f5 100644 --- a/sbin/restore/Makefile +++ b/sbin/restore/Makefile @@ -5,6 +5,7 @@ PROG= restore LINKS= ${BINDIR}/restore ${BINDIR}/rrestore CFLAGS+=-DRRESTORE CFLAGS+=-I${.CURDIR}/../../libexec/rlogind +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 c4fa18b912716..3705170ec1041 100644 --- a/sbin/route/Makefile +++ b/sbin/route/Makefile @@ -6,6 +6,7 @@ MAN= route.8 SRCS= route.c keywords.h CFLAGS+=-I. -Wall -DNS CFLAGS+=-DINET6 +WARNS= 0 CLEANFILES+=keywords.h keywords.h: keywords diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile index d15df541bb85d..23e8828d6461b 100644 --- a/sbin/routed/Makefile +++ b/sbin/routed/Makefile @@ -9,5 +9,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 .include <bsd.prog.mk> diff --git a/sbin/routed/rtquery/Makefile b/sbin/routed/rtquery/Makefile index 5021b086cc506..61a2511800416 100644 --- a/sbin/routed/rtquery/Makefile +++ b/sbin/routed/rtquery/Makefile @@ -7,5 +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 .include <bsd.prog.mk> diff --git a/sbin/rtsol/Makefile b/sbin/rtsol/Makefile index f533ed89eea31..4287d9879db01 100644 --- a/sbin/rtsol/Makefile +++ b/sbin/rtsol/Makefile @@ -19,6 +19,7 @@ PROG= rtsol SRCS= rtsold.c rtsol.c if.c probe.c dump.c rtsock.c CFLAGS+=-DINET6 -DHAVE_GETIFADDRS +WARNS= 0 NOMAN= yes diff --git a/sbin/savecore/Makefile b/sbin/savecore/Makefile index e0d1d088db55d..322fb7ca97b58 100644 --- a/sbin/savecore/Makefile +++ b/sbin/savecore/Makefile @@ -3,6 +3,7 @@ PROG= savecore SRCS= savecore.c +WARNS= 0 MAN= savecore.8 DPADD+= ${LIBZ} diff --git a/sbin/shutdown/Makefile b/sbin/shutdown/Makefile index 0d6434a22012b..e22759fcc401d 100644 --- a/sbin/shutdown/Makefile +++ b/sbin/shutdown/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= shutdown -WARNS?= 2 MAN= shutdown.8 BINOWN= root BINGRP= operator diff --git a/sbin/slattach/Makefile b/sbin/slattach/Makefile index 66e810243abf5..3060c747b7ba0 100644 --- a/sbin/slattach/Makefile +++ b/sbin/slattach/Makefile @@ -3,6 +3,7 @@ # $FreeBSD$ PROG= slattach +WARNS= 0 MAN= slattach.8 MLINKS= slattach.8 slip.8 LDADD= -lutil diff --git a/sbin/spppcontrol/Makefile b/sbin/spppcontrol/Makefile index fa7b90d165014..b394c39a4e83e 100644 --- a/sbin/spppcontrol/Makefile +++ b/sbin/spppcontrol/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= spppcontrol -WARNS?= 2 MAN= spppcontrol.8 .include <bsd.prog.mk> diff --git a/sbin/startslip/Makefile b/sbin/startslip/Makefile index 87ad6678c47a9..5ac6581b20aa5 100644 --- a/sbin/startslip/Makefile +++ b/sbin/startslip/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= startslip +WARNS= 0 DPADD= ${LIBUTIL} LDADD= -lutil diff --git a/sbin/swapon/Makefile b/sbin/swapon/Makefile index d33cd48c2eb64..be803b298a37b 100644 --- a/sbin/swapon/Makefile +++ b/sbin/swapon/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= swapon -WARNS?= 2 MAN= swapon.8 .include <bsd.prog.mk> diff --git a/sbin/sysctl/Makefile b/sbin/sysctl/Makefile index 6e525dfa45328..58f3e9bc81296 100644 --- a/sbin/sysctl/Makefile +++ b/sbin/sysctl/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= sysctl +WARNS= 0 MAN= sysctl.8 .include <bsd.prog.mk> diff --git a/sbin/tunefs/Makefile b/sbin/tunefs/Makefile index b9eb1178890d2..7944a4cac687d 100644 --- a/sbin/tunefs/Makefile +++ b/sbin/tunefs/Makefile @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= tunefs -WARNS?= 2 MAN= tunefs.8 .include <bsd.prog.mk> diff --git a/sbin/umount/Makefile b/sbin/umount/Makefile index 70313c60bbc95..9e59a3eb17eed 100644 --- a/sbin/umount/Makefile +++ b/sbin/umount/Makefile @@ -4,11 +4,14 @@ PROG= umount SRCS= umount.c vfslist.c mounttab.c +WARNS= 0 MAN= umount.8 MOUNT= ${.CURDIR}/../mount UMNTALL= ${.CURDIR}/../../usr.sbin/rpc.umntall CFLAGS+= -I${MOUNT} -I${UMNTALL} +WARNS= 0 + .PATH: ${MOUNT} ${UMNTALL} .include <bsd.prog.mk> diff --git a/sbin/vinum/Makefile b/sbin/vinum/Makefile index ce9987ce24997..9e4f50ee93b71 100644 --- a/sbin/vinum/Makefile +++ b/sbin/vinum/Makefile @@ -4,7 +4,8 @@ PROG= vinum SRCS= v.c list.c vinumparser.c vinumutil.c vext.h commands.c MAN= vinum.8 -CFLAGS+= -I${.CURDIR}/../../sys -Wall -DVINUMDEBUG +CFLAGS+= -I${.CURDIR}/../../sys -DVINUMDEBUG +WARNS= 0 DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM} LDADD= -lreadline -ltermcap -ldevstat -lkvm diff --git a/usr.sbin/mount_nwfs/Makefile b/usr.sbin/mount_nwfs/Makefile index f66b259bf60e3..00fed85188b58 100644 --- a/usr.sbin/mount_nwfs/Makefile +++ b/usr.sbin/mount_nwfs/Makefile @@ -6,6 +6,8 @@ MAN= mount_nwfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+= -DNWFS -I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} DPADD= ${LIBNCP} ${LIBIPX} diff --git a/usr.sbin/mount_portalfs/Makefile b/usr.sbin/mount_portalfs/Makefile index edf55eeb6e396..90161dc27d5da 100644 --- a/usr.sbin/mount_portalfs/Makefile +++ b/usr.sbin/mount_portalfs/Makefile @@ -8,6 +8,8 @@ MAN= mount_portalfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} +WARNS= 0 + .PATH: ${MOUNT} .include <bsd.prog.mk> diff --git a/usr.sbin/mountd/Makefile b/usr.sbin/mountd/Makefile index 96ec6b60e2edc..04cd28f0fddc3 100644 --- a/usr.sbin/mountd/Makefile +++ b/usr.sbin/mountd/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= mountd +WARNS= 0 MAN= exports.5 netgroup.5 mountd.8 .include <bsd.prog.mk> diff --git a/usr.sbin/nfsd/Makefile b/usr.sbin/nfsd/Makefile index c03b8f52ca172..e43192ac8e25e 100644 --- a/usr.sbin/nfsd/Makefile +++ b/usr.sbin/nfsd/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= nfsd +WARNS= 0 MAN= nfsd.8 .include <bsd.prog.mk> |
