From a0aa2307322cd47bbf416810ac0292925e03be87 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:39:49 +0200 Subject: Adding upstream version 1:7.0.3. Signed-off-by: Daniel Baumann --- qa/coccinelle/Makefile.am | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 qa/coccinelle/Makefile.am (limited to 'qa/coccinelle/Makefile.am') diff --git a/qa/coccinelle/Makefile.am b/qa/coccinelle/Makefile.am new file mode 100644 index 0000000..1f78a74 --- /dev/null +++ b/qa/coccinelle/Makefile.am @@ -0,0 +1,22 @@ +EXTRA_DIST= access-pkt-packet.cocci \ + banned-functions.cocci \ + direct-packet.cocci \ + malloc-error-check.cocci \ + pktnotset-packet.cocci \ + realloc.cocci \ + siginit.cocci \ + size_t.cocci \ + sz3.cocci \ + uint.cocci \ + run_check.sh struct-flags.py + +if HAVE_COCCINELLE +struct-flags.cocci: + $(srcdir)/struct-flags.py $(top_srcdir)/src > $(top_builddir)/qa/coccinelle/struct-flags.cocci + +check: struct-flags.cocci + TOP_BUILDDIR=${abs_top_builddir} TOP_SRCDIR=$(abs_top_srcdir) $(top_srcdir)/qa/coccinelle/run_check.sh + +distclean-local: + -rm $(top_builddir)/qa/coccinelle/struct-flags.cocci +endif -- cgit v1.2.3