summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-02-04 02:33:51 +0000
committerkris <kris@FreeBSD.org>2002-02-04 02:33:51 +0000
commitc60495e0deb8c8fa4c0852c07a119c94c17daef5 (patch)
treee09124432cef9c966bca17527d441825168a4358 /libexec
parentb2cbfe083041c4b5929472f089f1e788ee2fb705 (diff)
downloadFreeBSD-src-c60495e0deb8c8fa4c0852c07a119c94c17daef5.zip
FreeBSD-src-c60495e0deb8c8fa4c0852c07a119c94c17daef5.tar.gz
Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean. Tested on i386 and alpha.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/Makefile.inc1
-rw-r--r--libexec/atrun/Makefile1
-rw-r--r--libexec/fingerd/Makefile2
-rw-r--r--libexec/ftpd/Makefile1
-rw-r--r--libexec/getty/Makefile3
-rw-r--r--libexec/mail.local/Makefile1
-rw-r--r--libexec/named-xfer/Makefile2
-rw-r--r--libexec/pppoed/Makefile2
-rw-r--r--libexec/rbootd/Makefile2
-rw-r--r--libexec/rexecd/Makefile1
-rw-r--r--libexec/rshd/Makefile2
-rw-r--r--libexec/talkd/Makefile3
-rw-r--r--libexec/ypxfr/Makefile1
13 files changed, 18 insertions, 4 deletions
diff --git a/libexec/Makefile.inc b/libexec/Makefile.inc
index 185ccf3..05deedc 100644
--- a/libexec/Makefile.inc
+++ b/libexec/Makefile.inc
@@ -2,3 +2,4 @@
# $FreeBSD$
BINDIR?= /usr/libexec
+WFORMAT?= 1
diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile
index 22bae45..aacbf2e 100644
--- a/libexec/atrun/Makefile
+++ b/libexec/atrun/Makefile
@@ -12,6 +12,7 @@ BINDIR= ${ATLIB_DIR}
CLEANFILES= ${MAN}
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
+WFORMAT=0
atrun.8: atrun.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
diff --git a/libexec/fingerd/Makefile b/libexec/fingerd/Makefile
index 7f1dae3..dc3f1ab 100644
--- a/libexec/fingerd/Makefile
+++ b/libexec/fingerd/Makefile
@@ -6,4 +6,6 @@ DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= fingerd.8
+WFORMAT=0
+
.include <bsd.prog.mk>
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 437e927..7b3a89d 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -9,6 +9,7 @@ CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
CFLAGS+=-DINET6
CFLAGS+=-I${.CURDIR}
YFLAGS=
+WFORMAT=0
DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
LDADD= -lmd -lcrypt -lutil
diff --git a/libexec/getty/Makefile b/libexec/getty/Makefile
index f86d1d3..697e81a 100644
--- a/libexec/getty/Makefile
+++ b/libexec/getty/Makefile
@@ -6,8 +6,7 @@ SRCS= main.c init.c subr.c chat.c
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= gettytab.5 ttys.5 getty.8
-# for the paranoid:
-#CFLAGS+= -Wall -Wstrict-prototypes -Wno-unused -Wwrite-strings
+WFORMAT=0
.include <bsd.prog.mk>
diff --git a/libexec/mail.local/Makefile b/libexec/mail.local/Makefile
index ac04ca3..4746526 100644
--- a/libexec/mail.local/Makefile
+++ b/libexec/mail.local/Makefile
@@ -10,6 +10,7 @@ PROG= mail.local
SRCS= mail.local.c
MAN= mail.local.8
CFLAGS+=-I${SENDMAIL_DIR}/include
+WFORMAT=0
.if exists(${.OBJDIR}/../../lib/libsmutil)
LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
diff --git a/libexec/named-xfer/Makefile b/libexec/named-xfer/Makefile
index d37482e..c81340b 100644
--- a/libexec/named-xfer/Makefile
+++ b/libexec/named-xfer/Makefile
@@ -11,6 +11,8 @@ PROG= named-xfer
SRCS= pathnames.h \
named-xfer.c db_glue.c ns_glue.c tmp_version.c
+WFORMAT=0
+
.if exists(${.OBJDIR}/../../lib/libisc)
LIBISCDIR:= ${.OBJDIR}/../../lib/libisc
.else
diff --git a/libexec/pppoed/Makefile b/libexec/pppoed/Makefile
index bbae4c0..b9ba6e3 100644
--- a/libexec/pppoed/Makefile
+++ b/libexec/pppoed/Makefile
@@ -6,4 +6,6 @@ DPADD= ${LIBNETGRAPH}
LDADD= -lnetgraph
MAN= pppoed.8
+WFORMAT=0
+
.include <bsd.prog.mk>
diff --git a/libexec/rbootd/Makefile b/libexec/rbootd/Makefile
index c083e57..3a4099e 100644
--- a/libexec/rbootd/Makefile
+++ b/libexec/rbootd/Makefile
@@ -5,4 +5,6 @@ PROG= rbootd
SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c
MAN= rbootd.8
+WFORMAT=0
+
.include <bsd.prog.mk>
diff --git a/libexec/rexecd/Makefile b/libexec/rexecd/Makefile
index e03d2ae..b36dd53 100644
--- a/libexec/rexecd/Makefile
+++ b/libexec/rexecd/Makefile
@@ -5,6 +5,7 @@ PROG= rexecd
MAN= rexecd.8
CFLAGS+=-DOPIE
+WFORMAT=0
DPADD= ${LIBOPIE} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
LDADD= -lopie -lmd -lcrypt -lutil
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index 735c00d..4b9091c 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -6,8 +6,8 @@ SRCS= rshd.c
MAN= rshd.8
#CFLAGS+= -DCRYPT
+WFORMAT=0
-CFLAGS+= -Wall
DPADD+= ${LIBUTIL}
LDADD+= -lutil
diff --git a/libexec/talkd/Makefile b/libexec/talkd/Makefile
index 9116636..aa6df1b 100644
--- a/libexec/talkd/Makefile
+++ b/libexec/talkd/Makefile
@@ -2,9 +2,10 @@
# $FreeBSD$
PROG= ntalkd
-CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
SRCS= talkd.c announce.c process.c table.c print.c ttymsg.c
.PATH: ${.CURDIR}/../../usr.bin/wall
MAN= talkd.8
+CFLAGS+=-I${.CURDIR}/../../usr.bin/wall
+WFORMAT=0
.include <bsd.prog.mk>
diff --git a/libexec/ypxfr/Makefile b/libexec/ypxfr/Makefile
index 999ae89..72978eb 100644
--- a/libexec/ypxfr/Makefile
+++ b/libexec/ypxfr/Makefile
@@ -12,6 +12,7 @@ GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c
MAN= ypxfr.8
CFLAGS+= -I.
+WFORMAT=0
DPADD= ${LIBRPCSVC}
LDADD= -lrpcsvc
OpenPOWER on IntegriCloud