1 .PHONY: emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink driverstub alignof source
\r
7 check: emptycase enumtest duffs bitfields bugs tests hexconstants innercomment nothing offsetof komazi print syslog error ulrich cpptest longlong subdir fink alignof source
\r
10 $(SPLINT) emptycase.c
\r
13 $(SPLINT) enumtest.c -expect 2
\r
16 $(SPLINT) duffs.c -expect 7
\r
19 $(SPLINT) bitfields.c
\r
23 $(SPLINT) bug2.c -expect 5
\r
24 $(SPLINT) bug3.c -expect 3
\r
32 $(SPLINT) hexconstants.c -expect 1
\r
33 $(SPLINT) +checks hexconstants.c -expect 4
\r
36 $(SPLINT) innercomment.c -expect 2 +forcehints
\r
37 $(SPLINT) innercomment.c -nestcomment
\r
40 $(SPLINT) nothing.c
\r
43 $(SPLINT) offsetof.c -expect 2
\r
52 $(SPLINT) syslog.c +unixlib
\r
55 $(SPLINT) error.c -expect 1
\r
58 $(SPLINT) ulrich.c -expect 1
\r
61 $(SPLINT) cpptest.c '-D__P(x)=x' -expect 1
\r
64 $(SPLINT) longlong.c -expect 4
\r
67 $(SPLINT) subdir/main.c subdir/main.lcl
\r
72 # Herbert: don't test this, since splint is installed in /usr on my box
\r
74 $(SPLINT) driverstub.c -sysdirs "/usr/"
\r
77 $(SPLINT) alignof.c -expect 2
\r
80 $(SPLINT) -D DBL_MANT_DIG=25 source.c -expect 1
\r