summaryrefslogtreecommitdiffstats
path: root/framework/src/suricata/qa/coccinelle/Makefile.am
blob: 8ceebe068953970b12ca8ceabd9e6d4eb9e83375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EXTRA_DIST= access-pkt-packet.cocci \
    action-pkt.cocci \
    banned-functions.cocci \
    direct-packet.cocci \
    malloc-error-check.cocci \
    pktnotset-packet.cocci \
    size_t.cocci \
    struct-flags.cocci \
    sz3.cocci \
    run_check.sh struct-flags.py

if HAVE_COCCINELLE
struct-flags.cocci:
	$(srcdir)/struct-flags.py > $(top_builddir)/qa/coccinelle/struct-flags.cocci

check:
	$(top_srcdir)/qa/coccinelle/run_check.sh

distclean-local:
	-rm $(top_builddir)/qa/coccinelle/struct-flags.cocci
endif