### SHELL = /bin/csh -f
-SPLINT = splint -booltype bool
+SPLINT = splint -booltype bool -booltrue TRUE -boolfalse FALSE
LCL = $(SPLINT) -specundef +lh +quiet -nof
SPLINTLH = $(SPLINT) +lh
LCSFILES = bool.lcs dbase.lcs employee.lcs empset.lcs erc.lcs eref.lcs ereftab.lcs
### Removed +showscan, produces different results on different platforms
###
+### evans 2002-12-17: 2 fewer weak errors because of -abstractcompare default in weak
+
check: $(LCSFILES)
- -$(SPLINT) -showcol -weak $(MODULES) -expect 16
- -$(SPLINT) -showcol +strict -modfilesystem +showsummary $(MODULES) -expect 333
+ -$(SPLINT) -showcol -weak $(MODULES) -expect 19
+ -$(SPLINT) -showcol +strict -modfilesystem +showsummary $(MODULES) -expect 338
+
+# evans 2002-07-09: 5 bufferoverflowhigh warnings for using sprintf
### The following rules generate .lh and .lcs files from .lcl files. They also
### ensure that .h files appear to be updated whenever the corresponding .lh
-@rm -f *.c.html *.lcl.html *.h.html *.lh.html *.lcs *.lh 1> /dev/null
tidy:
- -@rm -f ,* .,* *.CKP *.BAK .emacs_[0-9]* core a.out *.*~ *~ *.o drive 1>& /dev/null
+ -@rm -f ,* .,* *.CKP *.BAK .emacs_[0-9]* core a.out *.*~ *~ *.o drive 11> /dev/null
### The following dependencies ensure that imported LCL specs
### are checked before the specs that import them.