summaryrefslogtreecommitdiffstats
path: root/src/util/dyn/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/dyn/Makefile.in')
-rw-r--r--src/util/dyn/Makefile.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/util/dyn/Makefile.in b/src/util/dyn/Makefile.in
index 850d365044..e189f3895b 100644
--- a/src/util/dyn/Makefile.in
+++ b/src/util/dyn/Makefile.in
@@ -67,3 +67,21 @@ check-windows::
clean-mac::
clean-windows::
+# /u1/kr/lclint-2.5m/bin/lclint -warnposix -D__sparc
+LCLINT=lclint
+# +posixlib gets more complete errno list than ansilib
+# -usedef turns off bogus warnings from poor dataflow analysis (should be
+# redundant with gcc warnings anyways)
+# -warnposix
+# +charintliteral
+# +ignoresigns
+# -predboolint
+# -exportlocal
+# -retvalint allow ignoring of int return values (e.g., fputs)
+LCLINTOPTS=+posixlib \
+ +ignoresigns -predboolint \
+ +mod-uncon +modinternalstrict +modfilesys \
+ -expect 2
+
+do-lclint: $(SRCS)
+ $(LCLINT) $(LCLINTOPTS) $(LOCALINCLUDES) $(DEFS) $(SRCS) $(srcdir)/test.c