File: Makefile

package info (click to toggle)
splint 1%3A3.1.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 21,004 kB
  • sloc: ansic: 150,869; yacc: 3,465; sh: 3,034; makefile: 2,157; lex: 412
file content (49 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (3)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.PHONY: boolt testalt booltest boolbad hoof testalt uconstants ull baz

SPLINT = splint

# ull and baz added after 2.5q
all: testalt boolt uconstants badcomment hoof boolbad booltest ull baz immutable impabsmodule

testalt:
	-${SPLINT} -dump newlint.lcd testalt.c

boolt:
	-${SPLINT} -expect 1 +partial +booltype pan_bool_t +booltrue PAN_TRUE +boolfalse PAN_FALSE boolt.c

uconstants:
	-${SPLINT} uconstants.c -expect 2

badcomment:
	-${SPLINT} badcomment.c -expect 3

hoof:
	-${SPLINT} hoof.c -expect 1
	-${SPLINT} hoof.c +ignorequals

ignorecmd:
	-${SPLINT} +ignorecommand -we

booltest:
	-${SPLINT} booltest.c -booltype bool -expect 2
	-${SPLINT} booltest.c -booltype bool +boolint
	-${SPLINT} booltest.c -booltype bool -predboolint -expect 1

boolbad:
	-${SPLINT} -weak -booltype BOOLEAN  -booltrue TRUE -boolfalse FALSE boolbad.c


ull:
	-${SPLINT} ull.c

baz:
	-${SPLINT} baz.h bimbim.h -I.

immutable:
	-${SPLINT} immutable.c testimmutable.c -expect 2

impabsmodule:
	-${SPLINT} +impabstract impabsmodule.c -expect 2

clean:
	rm -f newlint.lcd