Lock down with WFORMAT=1 except those directories with unfixed warnings.
Tested on i386 and alpha.
This commit is contained in:
parent
c698668189
commit
afe781faa2
@ -5,3 +5,4 @@ BINDIR?= /bin
|
||||
CFLAGS+= -Wall -Wformat
|
||||
NOSHARED?= YES
|
||||
WARNS?= 2
|
||||
WFORMAT?= 1
|
||||
|
@ -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 \
|
||||
|
@ -4,6 +4,7 @@
|
||||
PROG= date
|
||||
SRCS= date.c netdate.c vary.c
|
||||
WARNS= 0
|
||||
WFORMAT=0
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -11,5 +11,7 @@ CFLAGS+= -DCOLORLS
|
||||
DPADD+= ${LIBTERMCAP}
|
||||
LDADD+= -ltermcap
|
||||
.endif
|
||||
WFORMAT=0
|
||||
NO_WERROR=1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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>
|
||||
|
@ -16,4 +16,6 @@ LDADD= -lm -lkvm
|
||||
#BINGRP= kmem
|
||||
#BINMODE=2555
|
||||
|
||||
WFORMAT?= 0
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user