summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-09-12 09:19:55 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2012-09-12 09:19:55 +0000
commit85a8e82c65809b85d5851a8b7eabf8e16dbf272e (patch)
tree134ac1e12fbcbaeecc23ae3fbaa2ffe4a2722994 /usr.sbin
parentffbfc32cccf051b211b583abfe3d862bbfd07e80 (diff)
Define empty CDIAGFLAGS for programs that use Werror.
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/iscsictl/Makefile3
-rw-r--r--usr.sbin/mksuncd/Makefile3
-rw-r--r--usr.sbin/relayctl/Makefile3
-rw-r--r--usr.sbin/tftp-proxy/Makefile3
-rw-r--r--usr.sbin/tftpd/Makefile3
5 files changed, 10 insertions, 5 deletions
diff --git a/usr.sbin/iscsictl/Makefile b/usr.sbin/iscsictl/Makefile
index 0ae4e8c881b..1781ab9799e 100644
--- a/usr.sbin/iscsictl/Makefile
+++ b/usr.sbin/iscsictl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2012/06/26 21:09:44 claudio Exp $
+# $OpenBSD: Makefile,v 1.4 2012/09/12 09:19:54 haesbaert Exp $
.PATH: ${.CURDIR}/../iscsid
@@ -13,6 +13,7 @@ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../iscsid
+CDIAGFLAGS=
YFLAGS=
.include <bsd.prog.mk>
diff --git a/usr.sbin/mksuncd/Makefile b/usr.sbin/mksuncd/Makefile
index aea07208ae7..b4bb250851a 100644
--- a/usr.sbin/mksuncd/Makefile
+++ b/usr.sbin/mksuncd/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.2 2008/09/12 15:59:37 jmc Exp $
+# $OpenBSD: Makefile,v 1.3 2012/09/12 09:19:54 haesbaert Exp $
.if ${MACHINE} == "sparc64"
PROG= mksuncd
CFLAGS+=-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+CDIAGFLAGS=
.else
NOPROG=
diff --git a/usr.sbin/relayctl/Makefile b/usr.sbin/relayctl/Makefile
index 919871e6ebd..a3aa995f2a5 100644
--- a/usr.sbin/relayctl/Makefile
+++ b/usr.sbin/relayctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2010/05/26 16:44:32 nicm Exp $
+# $OpenBSD: Makefile,v 1.5 2012/09/12 09:19:54 haesbaert Exp $
.PATH: ${.CURDIR}/../relayd
@@ -14,5 +14,6 @@ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare -Wbounded
+CDIAGFLAGS=
.include <bsd.prog.mk>
diff --git a/usr.sbin/tftp-proxy/Makefile b/usr.sbin/tftp-proxy/Makefile
index 7603dd23a4a..929696ecdcd 100644
--- a/usr.sbin/tftp-proxy/Makefile
+++ b/usr.sbin/tftp-proxy/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2012/07/11 12:07:32 dlg Exp $
+# $OpenBSD: Makefile,v 1.4 2012/09/12 09:19:54 haesbaert Exp $
PROG= tftp-proxy
SRCS= tftp-proxy.c filter.c
@@ -7,5 +7,6 @@ LDADD= -levent
DPADD= ${LIBEVENT}
CFLAGS+=-Wall -Werror
+CDIAGFLAGS=
.include <bsd.prog.mk>
diff --git a/usr.sbin/tftpd/Makefile b/usr.sbin/tftpd/Makefile
index 21ad34d43f7..8ecff27caaa 100644
--- a/usr.sbin/tftpd/Makefile
+++ b/usr.sbin/tftpd/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.4 2012/03/08 03:17:10 dlg Exp $
+# $OpenBSD: Makefile,v 1.5 2012/09/12 09:19:54 haesbaert Exp $
PROG= tftpd
SRCS= tftpd.c
LDADD= -levent
DPADD= ${LIBEVENT}
CFLAGS+= -Wall -Werror
+CDIAGFLAGS=
MAN= tftpd.8