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