Lock down with WFORMAT=1 except those directories with unfixed warnings.

Tested on i386 and alpha.
This commit is contained in:
Kris Kennaway 2002-02-04 02:49:19 +00:00
parent c698668189
commit afe781faa2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90166
10 changed files with 16 additions and 1 deletions

View File

@ -5,3 +5,4 @@ BINDIR?= /bin
CFLAGS+= -Wall -Wformat
NOSHARED?= YES
WARNS?= 2
WFORMAT?= 1

View File

@ -14,6 +14,7 @@ SUBDIR= nls
DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
CFLAGS+= -I. -I${.CURDIR} -I${TCSHDIR} ${DFLAGS}
WARNS= 0
WFORMAT=0
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \

View File

@ -4,6 +4,7 @@
PROG= date
SRCS= date.c netdate.c vary.c
WARNS= 0
WFORMAT=0
DPADD= ${LIBUTIL}
LDADD= -lutil

View File

@ -4,6 +4,7 @@
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
WARNS= 0
WFORMAT=0
MAINTAINER= green@FreeBSD.org

View File

@ -11,5 +11,7 @@ CFLAGS+= -DCOLORLS
DPADD+= ${LIBTERMCAP}
LDADD+= -ltermcap
.endif
WFORMAT=0
NO_WERROR=1
.include <bsd.prog.mk>

View File

@ -34,4 +34,6 @@ WARNS= 0
#MAN= pax.1 tar.1 cpio.1
#LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio
WFORMAT?= 0
.include <bsd.prog.mk>

View File

@ -16,4 +16,6 @@ LDADD= -lm -lkvm
#BINGRP= kmem
#BINMODE=2555
WFORMAT?= 0
.include <bsd.prog.mk>

View File

@ -6,10 +6,12 @@ SRCS= rcp.c util.c
CFLAGS+=-DBINDIR=${BINDIR}
WARNS= 0
WFORMAT?= 0
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
SRCS+= krcmd.c kcmd.c rcmd_util.c
DPADD= ${LIBUTIL} ${LIBKRB} ${LIBCRYPTO}
CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
CFLAGS+=-DCRYPT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \

View File

@ -12,6 +12,8 @@ MAN= rmail.8
CFLAGS+=-I${SENDMAIL_DIR}/include
WARNS= 0
WFORMAT?= 0
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
.else

View File

@ -22,6 +22,7 @@ CFLAGS+=-DSHELL -I. -I${.CURDIR}
# for debug:
# CFLAGS+= -g -DDEBUG=2
WARNS= 0
WFORMAT=0
.PATH: ${.CURDIR}/bltin \
${.CURDIR}/../../bin/test