From 409b4c59ef357f7cf82e984afa6686c050ed2087 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 2 May 2009 00:20:25 +0200 Subject: [PATCH] Raise some WARNS in usr.bin. --- usr.bin/locate/bigram/Makefile | 2 +- usr.bin/locate/code/Makefile | 3 ++- usr.bin/locate/locate/Makefile | 2 +- usr.bin/ncplist/Makefile | 2 +- usr.bin/ncplogin/Makefile | 2 +- usr.bin/rdist/Makefile | 2 +- usr.bin/telnet/Makefile | 2 +- usr.bin/truss/Makefile | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/usr.bin/locate/bigram/Makefile b/usr.bin/locate/bigram/Makefile index 48639d63e7..d929ee9ece 100644 --- a/usr.bin/locate/bigram/Makefile +++ b/usr.bin/locate/bigram/Makefile @@ -6,6 +6,6 @@ PROG= locate.bigram NOMAN= noman BINDIR= ${LIBEXECDIR} CFLAGS+= -I${.CURDIR}/../locate -WARNS?= 0 +.include "../../Makefile.inc" .include diff --git a/usr.bin/locate/code/Makefile b/usr.bin/locate/code/Makefile index 0a09bcf711..91713c7f3a 100644 --- a/usr.bin/locate/code/Makefile +++ b/usr.bin/locate/code/Makefile @@ -6,6 +6,7 @@ PROG= locate.code CFLAGS+=-I${.CURDIR}/../locate NOMAN= noman BINDIR= ${LIBEXECDIR} -WARNS?= 1 +WARNS?= 2 +.include "../../Makefile.inc" .include diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile index 8232ad8752..29bcc45efd 100644 --- a/usr.bin/locate/locate/Makefile +++ b/usr.bin/locate/locate/Makefile @@ -7,7 +7,7 @@ SRCS= util.c locate.c CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster) SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh MAN= locate.1 locate.updatedb.8 -WARNS?= 1 +WARNS?= 2 SCRIPTSDIR= ${LIBEXECDIR} .for script in ${SCRIPTS} diff --git a/usr.bin/ncplist/Makefile b/usr.bin/ncplist/Makefile index 8b4ac03b9f..d21b19d83f 100644 --- a/usr.bin/ncplist/Makefile +++ b/usr.bin/ncplist/Makefile @@ -2,7 +2,7 @@ # $DragonFly: src/usr.bin/ncplist/Makefile,v 1.3 2007/08/27 16:50:56 pavalos Exp $ PROG= ncplist -WARNS?= 0 +WARNS?= 1 DPADD= ${LIBNCP} ${LIBIPX} LDADD= -lncp -lipx diff --git a/usr.bin/ncplogin/Makefile b/usr.bin/ncplogin/Makefile index 6d5fa3ff87..3c976dcf97 100644 --- a/usr.bin/ncplogin/Makefile +++ b/usr.bin/ncplogin/Makefile @@ -3,7 +3,7 @@ PROG= ncplogin MAN= ncplogin.1 ncplogout.1 -WARNS?= 0 +WARNS?= 3 LINKS= ${BINDIR}/ncplogin ${BINDIR}/ncplogout diff --git a/usr.bin/rdist/Makefile b/usr.bin/rdist/Makefile index f7514292de..245812dca1 100644 --- a/usr.bin/rdist/Makefile +++ b/usr.bin/rdist/Makefile @@ -6,7 +6,7 @@ PROG= rdist SRCS= docmd.c expand.c gram.y lookup.c main.c rshrcmd.c server.c CFLAGS+=-I${.CURDIR} YFLAGS= -WARNS?= 0 +WARNS?= 1 # To use the old method, which requires setuid-root and all the baggage and # security holes that goes with it, uncomment: diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index 58d7189c4a..6023b0ae18 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -8,7 +8,7 @@ SRCS= commands.c main.c network.c ring.c sys_bsd.c \ CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \ -I${.CURDIR}/../../lib -I${.CURDIR}/../../lib/libtelnet/ -WARNS?= 0 +WARNS?= 1 .if exists(${.OBJDIR}/../../lib/libtelnet) LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index bd49eeb30f..aa28766b38 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -6,7 +6,7 @@ SRCS= main.c setup.c syscalls.c syscalls.h ioctl.c .if (${MACHINE_ARCH} == "i386") SRCS+= i386-fbsd.c i386-linux.c linux_syscalls.h .endif -WARNS?= 0 +WARNS?= 1 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sys -I. -- 2.11.4.GIT