]>
Commit | Line | Data |
---|---|---|
1 | .PHONY: boolt testalt booltest boolbad hoof testalt uconstants ull baz | |
2 | ||
3 | SPLINT = splint | |
4 | ||
5 | # ull and baz added after 2.5q | |
6 | all: testalt boolt uconstants badcomment hoof boolbad booltest ull baz immutable impabsmodule | |
7 | ||
8 | testalt: | |
9 | ${SPLINT} -dump newlint.lcd testalt.c | |
10 | ||
11 | boolt: | |
12 | ${SPLINT} -expect 1 +partial +booltype pan_bool_t +booltrue PAN_TRUE +boolfalse PAN_FALSE boolt.c | |
13 | ||
14 | uconstants: | |
15 | ${SPLINT} uconstants.c -expect 2 | |
16 | ||
17 | badcomment: | |
18 | ${SPLINT} badcomment.c -expect 3 | |
19 | ||
20 | hoof: | |
21 | ${SPLINT} hoof.c -expect 1 | |
22 | ${SPLINT} hoof.c +ignorequals | |
23 | ||
24 | ignorecmd: | |
25 | ${SPLINT} +ignorecommand -we | |
26 | ||
27 | booltest: | |
28 | ${SPLINT} booltest.c -booltype bool -expect 2 | |
29 | ${SPLINT} booltest.c -booltype bool +boolint | |
30 | ${SPLINT} booltest.c -booltype bool -predboolint -expect 1 | |
31 | ||
32 | boolbad: | |
33 | ${SPLINT} -weak -booltype BOOLEAN -booltrue TRUE -boolfalse FALSE boolbad.c | |
34 | ||
35 | ||
36 | ull: | |
37 | ${SPLINT} ull.c | |
38 | ||
39 | baz: | |
40 | ${SPLINT} baz.h bimbim.h -I. | |
41 | ||
42 | immutable: | |
43 | ${SPLINT} immutable.c testimmutable.c -expect 2 | |
44 | ||
45 | impabsmodule: | |
46 | ${SPLINT} +impabstract impabsmodule.c -expect 2 |