summaryrefslogtreecommitdiff
path: root/regress/sbin/iked
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2017-05-29 20:57:22 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2017-05-29 20:57:22 +0000
commitfa776663e76890f4af4d1818627bca0e7206b110 (patch)
tree892f101ba1bd3c4bc2ef50c997369bcd9e6ecd40 /regress/sbin/iked
parent6022e44ffbe0e648b515461b5897f28bdcafb0b0 (diff)
*** empty log message ***
Diffstat (limited to 'regress/sbin/iked')
-rw-r--r--regress/sbin/iked/Makefile4
-rw-r--r--regress/sbin/iked/Makefile.inc19
2 files changed, 21 insertions, 2 deletions
diff --git a/regress/sbin/iked/Makefile b/regress/sbin/iked/Makefile
index 556e851f028..ce3fe3d84ac 100644
--- a/regress/sbin/iked/Makefile
+++ b/regress/sbin/iked/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2014/08/25 19:22:20 reyk Exp $
+# $OpenBSD: Makefile,v 1.2 2017/05/29 20:57:21 markus Exp $
-SUBDIR= dh
+SUBDIR= test_helper dh parser
.include <bsd.subdir.mk>
diff --git a/regress/sbin/iked/Makefile.inc b/regress/sbin/iked/Makefile.inc
new file mode 100644
index 00000000000..0b1cfbdef69
--- /dev/null
+++ b/regress/sbin/iked/Makefile.inc
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile.inc,v 1.1 2017/05/29 20:57:21 markus Exp $
+
+CDIAGFLAGS= -Wall
+#CDIAGFLAGS+= -Werror
+CDIAGFLAGS+= -Wextra
+CDIAGFLAGS+= -Wpointer-arith
+CDIAGFLAGS+= -Wstrict-prototypes
+CDIAGFLAGS+= -Wmissing-prototypes
+CDIAGFLAGS+= -Wunused
+CDIAGFLAGS+= -Wsign-compare
+CDIAGFLAGS+= -Wshadow
+CDIAGFLAGS+= -Wpointer-sign
+CDIAGFLAGS+= -Wno-unused-parameter #-Wno-error=unused-parameter
+CDIAGFLAGS+= -Wuninitialized
+.if (${CC:L} == "gcc" || ${CC:L} == "cc")
+CDIAGFLAGS+= -Wbounded
+.endif
+
+DEBUG= -g