aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.inc1
-rw-r--r--bin/csh/Makefile1
-rw-r--r--bin/date/Makefile1
-rw-r--r--bin/dd/Makefile1
-rw-r--r--bin/ls/Makefile2
-rw-r--r--bin/pax/Makefile2
-rw-r--r--bin/ps/Makefile2
-rw-r--r--bin/rcp/Makefile4
-rw-r--r--bin/rmail/Makefile2
-rw-r--r--bin/sh/Makefile1
10 files changed, 16 insertions, 1 deletions
diff --git a/bin/Makefile.inc b/bin/Makefile.inc
index 61c34713dda5..8d699d343e40 100644
--- a/bin/Makefile.inc
+++ b/bin/Makefile.inc
@@ -5,3 +5,4 @@ BINDIR?= /bin
CFLAGS+= -Wall -Wformat
NOSHARED?= YES
WARNS?= 2
+WFORMAT?= 1
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 555cf580d41f..0a218e15ffe8 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -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 \
diff --git a/bin/date/Makefile b/bin/date/Makefile
index 0a57e97a028c..dfd3fb40ffa7 100644
--- a/bin/date/Makefile
+++ b/bin/date/Makefile
@@ -4,6 +4,7 @@
PROG= date
SRCS= date.c netdate.c vary.c
WARNS= 0
+WFORMAT=0
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/bin/dd/Makefile b/bin/dd/Makefile
index 165362a7ad88..7edf221be3f8 100644
--- a/bin/dd/Makefile
+++ b/bin/dd/Makefile
@@ -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
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
index 484137e157c2..098b7ae2ebd5 100644
--- a/bin/ls/Makefile
+++ b/bin/ls/Makefile
@@ -11,5 +11,7 @@ CFLAGS+= -DCOLORLS
DPADD+= ${LIBTERMCAP}
LDADD+= -ltermcap
.endif
+WFORMAT=0
+NO_WERROR=1
.include <bsd.prog.mk>
diff --git a/bin/pax/Makefile b/bin/pax/Makefile
index 02673fd605af..3c4abaf2109d 100644
--- a/bin/pax/Makefile
+++ b/bin/pax/Makefile
@@ -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>
diff --git a/bin/ps/Makefile b/bin/ps/Makefile
index 936cfe9a7d7e..321180b3480a 100644
--- a/bin/ps/Makefile
+++ b/bin/ps/Makefile
@@ -16,4 +16,6 @@ LDADD= -lm -lkvm
#BINGRP= kmem
#BINMODE=2555
+WFORMAT?= 0
+
.include <bsd.prog.mk>
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index b266813203c0..1f4f0c6fd1c6 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -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 \
diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile
index 9de213c607cd..bea11ef06bac 100644
--- a/bin/rmail/Makefile
+++ b/bin/rmail/Makefile
@@ -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
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 33ca205f97ab..b707917b5997 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -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