-
Notifications
You must be signed in to change notification settings - Fork 57
/
Makefile.am
29 lines (22 loc) · 918 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src \
inc \
examples/sample \
examples/skip \
examples/spec \
examples/xml_output
EXTRA_DIST = VC etc
gcov: FORCE
cd src; gcov -b -f *.gcda
cd spec; gcov -b -f *.gcda
lcov -c -d . -o lcov.info
genhtml -o gcov lcov.info
gcovr.py -b -x > coverage.xml
splint: FORCE
splint -nullret -nullstate -usereleased -compdef -branchstate -mayaliasunique -compmempass -dependenttrans -compdestroy -statictrans -boolops -nullassign -globstate -immediatetrans -paramuse -mustfreefresh -unrecog -mustfreeonly -I$(top_srcdir)/inc $(top_srcdir)/src/*.c > $(top_srcdir)/splint.log || exit 0
cccc: FORCE
mkdir -p $(top_srcdir)/.cccc
cccc --outdir=$(top_srcdir)/.cccc --lang=c $(top_srcdir)/src/*.c $(top_srcdir)/spec/*.c
cpd: FORCE
java net.sourceforge.pmd.cpd.CPD --minimum-tokens 100 --files $(top_srcdir) --language c --format xml > $(top_srcdir)/cpd.xml
FORCE: