1 # Makefile.in generated automatically by automake 1.5 from Makefile.am.
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = @program_transform_name@
58 host_alias = @host_alias@
76 AUTOMAKE_OPTIONS = 1.5 foreign
80 LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
82 ### This is horrible! Can't we make top_builddir absolute?
83 LCLINTNEST = ../$(top_builddir)/src/lclint$(EXEEXT)
85 LCLINTPNEST = @$(LCLINTNEST)
88 # Make sure .lclintrc files are not used so test results do not
89 # depend on local settings.
90 LCLINTRN = $(LCLINTP) -nof -hints -booltype "bool"
91 LCLINTR = $(LCLINTRN) -exportlocal +debugfcnconstraint
93 LCLINTRNNEST = $(LCLINTPNEST) -nof -hints -booltype "bool"
94 LCLINTRNEST = $(LCLINTRNNEST) -exportlocal +debugfcnconstraint
99 ### These tests have been temporarily removed because of problems with the new build process:
100 ### fileio tainted mergestate metastate \
101 ### tests2.2 tests2.2a tests2.4 tests2.5
103 ### maxset strchr for
106 fileio tainted mergestate metastate sizeof buffertest \
107 tests2.2 tests2.4 tests2.5 \
108 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
110 abstptr abstract alias alttypes ansireserved argorder \
111 args blocks break cases cast charlit clauses commentchar compdestroy \
112 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
113 decl enum exports external fields flags forbody format freearray \
114 funcpointer glob globals impabstract init inparam internal iter keep libs \
115 linked lintcomments list macros macrosef merge modifies modtest moduncon \
116 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
117 postnotnull preds prefixes printflike rc refcounts release repexpose \
118 returned sharing slovaknames specclauses special stack staticarray strings \
119 structassign typequals ud ulstypes union unreachable unsignedcompare \
122 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
124 INTEGTESTS = db1 db2 db3
125 INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
127 LCLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
131 CLEANOUTPUT = $(GREP) -v "LCLint 3." | $(GREP) -v "$(LCLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:"
134 ### Rules for tests start here
137 ### Bugs fixed and new features since version 2.1b
139 SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
140 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
142 tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
144 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
145 CONFIG_HEADER = $(top_builddir)/config.h
148 DIST_COMMON = Makefile.am Makefile.in
152 .SUFFIXES: .c .diff .expect
153 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
154 cd $(top_srcdir) && \
155 $(AUTOMAKE) --foreign test/Makefile
156 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
157 cd $(top_builddir) && \
158 CONFIG_HEADERS= CONFIG_LINKS= \
159 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
165 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
170 distdir: $(DISTFILES)
171 @for file in $(DISTFILES); do \
172 if test -f $$file; then d=.; else d=$(srcdir); fi; \
173 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
174 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
175 $(mkinstalldirs) "$(distdir)/$$dir"; \
177 if test -d $$d/$$file; then \
178 cp -pR $$d/$$file $(distdir) \
181 test -f $(distdir)/$$file \
182 || cp -p $$d/$$file $(distdir)/$$file \
193 install-exec: install-exec-am
194 install-data: install-data-am
195 uninstall: uninstall-am
198 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
200 installcheck: installcheck-am
202 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
203 `test -z '$(STRIP)' || \
204 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
210 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
212 maintainer-clean-generic:
213 @echo "This command is intended for maintainers to use"
214 @echo "it deletes files that may require special tools to rebuild."
217 clean-am: clean-generic clean-local mostlyclean-am
219 distclean: distclean-am
221 distclean-am: clean-am distclean-generic
235 install-info: install-info-am
241 maintainer-clean: maintainer-clean-am
243 maintainer-clean-am: distclean-am maintainer-clean-generic
245 mostlyclean: mostlyclean-am
247 mostlyclean-am: mostlyclean-generic
249 uninstall-am: uninstall-info-am
251 .PHONY: all all-am check check-am clean clean-generic clean-local \
252 distclean distclean-generic distdir dvi dvi-am info info-am \
253 install install-am install-data install-data-am install-exec \
254 install-exec-am install-info install-info-am install-man \
255 install-strip installcheck installcheck-am installdirs \
256 maintainer-clean maintainer-clean-generic mostlyclean \
257 mostlyclean-generic uninstall uninstall-am uninstall-info-am
265 -$(LCLINTP) -help version
270 -@LARCH_PATH=/dev/null; $(LCLINT) empty.lcl
273 -@$(LCLINTP) +boolint +boolint
274 -@$(LCLINTP) -help flags alpha
275 -@$(LCLINTP) -help flags all
279 -rm -f *~ #*# *.o *.lcs a.out
280 -cd db1; $(MAKE) clean
281 -cd db2; $(MAKE) clean
282 -cd db3; $(MAKE) clean
284 $(LCLINTTESTS): $(LCLINT)
287 cd $(top_builddir)/src; $(MAKE)
290 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
293 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
297 @echo "Saving old expects..."; \
298 cat *.expect >expects-`date +"%y-%m-%d-%H"`
299 @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
300 echo "Making $$TEST.expect..."; \
301 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
307 @for TEST in $(QUICKTESTS); do \
308 echo "Checking $$TEST..."; \
309 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
310 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
311 echo "*** FAIL ***"; \
316 @echo "Testing $(PACKAGE) $(VERSION)..."
318 @echo "Version Info:"
319 @$(LCLINTP) -help version
320 @$(LCLINTP) -help vars
324 @for TEST in $(UNITTESTS); do \
325 echo "Checking $$TEST..."; \
326 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
327 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
328 echo "*** FAIL ***"; \
331 @echo "Integration tests:"
333 @for TEST in $(INTEGTESTS); do \
334 echo "Checking $$TEST..."; \
335 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
336 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
337 echo "*** FAIL ***"; \
342 $(LCLINTR) abstptr -expect 9
343 $(LCLINTR) abstptr +voidabstract -expect 6
347 $(LCLINTR) abst_t.lcl commentcmd.c -expect 15
352 $(LCLINTR) mut alias +globalias -expect 19
353 $(LCLINTR) mut alias2 +globalias -expect 17
354 $(LCLINTR) +lh alias3 -expect 14
355 $(LCLINTR) +lh alias4 +boolint
356 $(LCLINTR) alias4 -pred +retalias -expect 6
357 $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
361 $(LCLINTR) alttypes.c -expect 2
364 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
365 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
366 ### variable (could be a macro?)
367 ### Reports 3 additional errors for +checks; no longer suppresses name errors
368 ### in the presense of other errors.
373 $(LCLINTR) ansireserved.c +ansireserved -nolib -expect 9
374 $(LCLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
375 $(LCLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
376 $(LCLINTR) ansireserved2.c +ansireserved -expect 1
380 $(LCLINTR) argorder.c -expect 4
381 $(LCLINTR) argorder2 -expect 5
382 $(LCLINTR) argorder3.c -expect 8
383 $(LCLINTR) argorder4 -expect 9
384 $(LCLINTR) argorder4 -evalorder -expect 1
385 $(LCLINTR) argorder5.c +evalorderuncon -expect 3
389 $(LCLINTR) args -noeffect -expect 12
393 $(LCLINTR) blocks.c -expect 4
394 $(LCLINTR) blocks.c +ifblock +elseifcomplete -expect 7
395 $(LCLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
396 $(LCLINTR) blocks.c -ifempty +forempty +forblock -expect 3
397 $(LCLINTR) blocks.c +allempty -expect 6
398 $(LCLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
402 $(LCLINTR) break.c -expect 4
403 $(LCLINTR) break.c +deepbreak -expect 6
404 $(LCLINTR) break.c +deepbreak -looploopbreak -expect 5
408 $(LCLINTR) cases.c -expect 5
409 $(LCLINTR) cases2.c -expect 2
410 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
411 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
415 $(LCLINTR) cast -accessmodule -expect 20
416 $(LCLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
418 ### Two addition errors detected with 2.5 with -numliteral.
422 $(LCLINTR) +hints charlit.c -expect 4
423 $(LCLINTR) +hints -numliteral charlit.c -expect 6
424 $(LCLINTR) +hints charlit.c +charintliteral +ignoresigns
428 $(LCLINTR) clauses.c +memchecks -expect 4
429 $(LCLINTR) clauses2.c +memchecks
430 $(LCLINTR) clauses3.c +memchecks -expect 2
431 $(LCLINTR) clauses3.c +memchecks +unixlib -expect 3
435 $(LCLINTR) commentchar.c -expect 4
436 $(LCLINTR) -commentchar '#' commentchar.c -expect 4
440 $(LCLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
441 $(LCLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
445 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
446 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
447 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
448 $(LCLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
452 ${LCLINTRN} constannot.c +arraybounds -exportlocal -expect 2
456 $(LCLINTR) +quiet -incondefs csyntax.c -expect 1
457 $(LCLINTR) +quiet csyntax2.c -expect 2
458 $(LCLINTR) +quiet csyntax3.c -expect 1
459 $(LCLINTR) +quiet -incondefs csyntax4.c
460 $(LCLINTR) +quiet csyntax5.c
461 $(LCLINTR) +quiet csyntax6.c
462 $(LCLINTR) +quiet csyntax7.c
463 $(LCLINTR) +quiet csyntax8.c
464 $(LCLINTR) +quiet csyntax9.c
465 $(LCLINTR) +quiet csyntax10.c
466 $(LCLINTR) +quiet csyntax11.c
467 $(LCLINTR) +quiet csyntax12.c
468 $(LCLINTR) +quiet csyntax13.c -expect 1
469 $(LCLINTR) +quiet csyntax14.c
470 $(LCLINTR) +quiet csyntax15.c
471 $(LCLINTR) +quiet csyntax16.c -expect 2
472 $(LCLINTR) +quiet csyntax17.c -expect 3
476 $(LCLINTR) czechnames.c
477 $(LCLINTR) +hints +czech czechnames.c -expect 2
478 $(LCLINTR) +hints +czech -czechvars czechnames.c -expect 1
479 $(LCLINTR) +hints +czech -accessczech czechnames.c -expect 6
481 .PHONY: czechoslovaknames
483 $(LCLINTR) +hints +czechoslovak czechnames.c -expect 1
484 $(LCLINTR) +hints +czechoslovak slovaknames.c -expect 1
485 $(LCLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
488 ### deadparam added 2001-05-27
493 ${LCLINTR} deadparam.c -expect 3
496 # Was expect 3 before 2.4. Earlier versions did not handle implicit
497 # function pointers correctly.
502 $(LCLINTR) decl.c -expect 2
503 $(LCLINTRN) decl.c +strict -exportlocal -expect 5
504 $(LCLINTR) decl2 -expect 4
508 $(LCLINTR) enum -expect 16
509 $(LCLINTR) enum -misscase -expect 14
513 $(LCLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
514 $(LCLINTR) exports.c +exportany -expect 3
519 $(LCLINTR) external.c +partial
520 $(LCLINTR) external.c +partial +distinctexternalnames -expect 2
521 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
522 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
523 $(LCLINTR) external.c +partial -externalnamelength 3 -expect 4
527 $(LCLINTR) fields.c +memchecks -expect 6
528 $(LCLINTR) fields2.c +memchecks -expect 5
529 $(LCLINTR) fields3.c +memchecks
533 $(LCLINTR) flags.c -expect 8
534 $(LCLINTR) +nocomments flags.c -expect 2
540 ${LCLINTR} forbody.c -expect 2
545 ${LCLINTR} format.c -expect 3
546 ${LCLINTR} format.c -formatconst
548 # two new errors (invalid lhs)
552 $(LCLINTR) +memchecks +noparams funcpointer.c -expect 18
556 $(LCLINTR) glob -expect 4
557 $(LCLINTR) glob -globuse -expect 3
558 $(LCLINTR) glob +globunspec -expect 6
562 $(LCLINTR) -modifies globals.c -expect 5
563 $(LCLINTR) -modifies globals.c +allglobals -expect 6
564 $(LCLINTR) -modifies globals.c +impcheckedglobals -expect 6
565 $(LCLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
566 $(LCLINTR) -modifies globals.c +globunspec -expect 6
567 $(LCLINTR) -modifies globals.c +globunspec +allglobals -expect 8
572 $(LCLINTR) -accessmodule impabstract.c
573 $(LCLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
574 $(LCLINTR) -accessmodule +hints +impabstract impabstract -expect 4
576 ### evans 2001-10-14: Expected errors updated
579 $(LCLINTR) init.c -expect 14
580 $(LCLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
584 $(LCLINTR) inparam.c -expect 2
585 $(LCLINTR) +impouts inparam.c -expect 1
589 $(LCLINTR) internal.c -expect 1
590 $(LCLINTR) internal.c +distinctinternalnames -expect 2
591 $(LCLINTR) internal.c -internalnamelen 28 -expect 3
592 $(LCLINTR) internal.c +internalnamecaseinsensitive -expect 3
593 $(LCLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
597 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
602 $(LCLINTR) iter -expect 14 -lclexpect 1
603 $(LCLINTR) iter2.c -expect 12
607 $(LCLINTR) keep.c +memchecks -expect 6
610 ### 2001-05-22: 2 new errors found (fixed spec of signal)
611 ### 2001-05-30: 3 new errors found (formatconst)
615 $(LCLINTR) libs.c +longunsignedunsignedintegral -expect 18
616 $(LCLINTR) libs.c -expect 22
617 $(LCLINTR) libs.c +globunspec +modunspec -expect 25
618 $(LCLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
622 $(LCLINTR) lintcomments.c -expect 4
623 $(LCLINTR) lintcomments.c -warnlintcomments -expect 1
624 $(LCLINTR) lintcomments.c -lintcomments -expect 4
628 $(LCLINTR) list.c -expect 3
632 $(LCLINTR) macros -expect 17
633 $(LCLINTR) macros.c +allmacros -expect 34
634 $(LCLINTR) macros.c +fcnmacros -expect 31
638 $(LCLINTR) macrosef -expect 4
639 $(LCLINTR) macrosef.c +allmacros -expect 3
640 $(LCLINTR) macrosef.c +allmacros +sefuncon -expect 4
644 $(LCLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
648 $(LCLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
652 $(LCLINTR) modtest -expect 10
653 $(LCLINTR) modtest +modunspec -expect 13
654 $(LCLINTR) modtest +mustmod -expect 14
658 $(LCLINTR) moduncon.c +moduncon -memchecks -expect 4
659 $(LCLINTRN) moduncon.c +strict -exportlocal -expect 22
661 .PHONY: mongoincludes
663 $(LCLINTR) mongoincludes.c -includenest 1 -expect 19
664 $(LCLINTR) mongoincludes.c -includenest 2 -expect 10
665 $(LCLINTR) mongoincludes.c -includenest 3 -expect 4
666 $(LCLINTR) mongoincludes.c -includenest 4 -expect 1
667 $(LCLINTR) mongoincludes.c -includenest 5 -expect 0
671 $(LCLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
675 ${LCLINT} -nof noeffect.c +allmacros +checks -expect 3
679 $(LCLINTR) null1.c -expect 14
680 $(LCLINTR) null1.c -null -expect 4
681 $(LCLINTR) null2.c -expect 10
682 $(LCLINTR) null3.c -expect 15
683 $(LCLINTR) null3.c -warnunixlib +unixlib -expect 16
684 $(LCLINTR) null4.c -expect 1
685 $(LCLINTR) null5.c -expect 4
686 $(LCLINTR) null6 -expect 4
687 $(LCLINTR) +quiet null6.lcl -dump null6
688 $(LCLINTR) null6.c -load null6 -expect 4
690 ### Added for 3.0 (bugs reported by Kevin Broady)
694 $(LCLINTR) nullret.c -expect 2
695 $(LCLINTR) -nullret nullret.c -expect 1
699 $(LCLINTR) nullassign.c -expect 2
700 $(LCLINTR) -nullassign nullassign.c -expect 1
703 # Before 2.4, expected one more because error was reported both as
704 # dependent and observer.
709 $(LCLINTRN) observer +checks -exportlocal -exportheader -expect 9
710 $(LCLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
711 $(LCLINTR) observer.c -expect 7
715 $(LCLINTR) oldstyle -expect 3
719 $(LCLINTR) outglob -expect 10
723 $(LCLINTR) outparam -expect 12
725 ### evans 2001-08-26: postnotnull new
729 ${LCLINTR} postnotnull.c -expect 1
731 # Four new +fcnuse errors for -strict (evans 2001-07-22)
736 $(LCLINTR) +hints preds.c -expect 6
737 $(LCLINTRN) +hints preds.c -weak -expect 1
738 $(LCLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
742 $(LCLINTR) prefixes.c +partial
743 $(LCLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
744 $(LCLINTR) prefixes.c -typeprefix "T" -expect 2
745 $(LCLINTR) prefixes.c -typeprefix "^" -expect 1
746 $(LCLINTR) prefixes.c -typeprefix "^*" -expect 2
747 $(LCLINTR) prefixes.c -typeprefix "^%*" -expect 2
748 $(LCLINTR) prefixes.c -typeprefix "^~*" -expect 2
749 $(LCLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
750 $(LCLINTR) prefixes.c -filestaticprefix "^^" -expect 4
751 $(LCLINTR) prefixes.c -filestaticprefix "^#" -expect 5
752 $(LCLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
753 $(LCLINTR) prefixes.c -globalprefix "G" -expect 1
754 $(LCLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
755 $(LCLINTR) prefixes.c -externalprefix "G" -expect 5
756 $(LCLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
757 $(LCLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
761 $(LCLINTR) printflike.c -expect 6
762 $(LCLINTR) printflike.c -warnlintcomments -expect 5
766 $(LCLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
767 $(LCLINTR) -DMYSTERY=12 rc.c -expect 1
768 $(LCLINTR) -f rc1.lclintrc rc.c -expect 1
769 $(LCLINTR) -UMYSTERY -f rc1.lclintrc rc.c -expect 1
770 $(LCLINTR) -f rc3.lclintrc rc.c -expect 1
774 $(LCLINTR) refcounts.c -expect 7
778 $(LCLINTR) release.c +memchecks -expect 1
782 $(LCLINTR) +lh repexpose +memchecks -expect 12
783 $(LCLINTR) repexpose +memchecks +retalias -expect 15
784 $(LCLINTRN) repexpose +checks -exportlocal -expect 27
786 ### returned added 2001-05-27
787 ### (Bug discovered checking lclint sources.)
791 ${LCLINTR} returned.c -expect 1
795 $(LCLINTR) sharing1.c -expect 21
796 $(LCLINTR) sharing3.c -expect 3
797 $(LCLINTR) sharing4.c -expect 13
798 $(LCLINTR) sharing4.c -paramimptemp -expect 12
799 $(LCLINTR) sharing5.c -expect 6
803 $(LCLINTR) +hints slovaknames.c -expect 1
804 $(LCLINTR) +hints slovaknames.c +accessslovak
805 $(LCLINTR) +hints +slovak slovaknames.c -expect 3
806 $(LCLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
807 $(LCLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
811 $(LCLINTR) specclauses.c -expect 6
812 $(LCLINTR) specclauses2.c -expect 8
813 $(LCLINTR) specclauses3.c -expect 6
814 $(LCLINTR) specclauses4.c -expect 3
815 $(LCLINTR) specclauses5.c -expect 3
819 $(LCLINTR) special -expect 20
820 $(LCLINTR) special -relaxquals -expect 22
824 $(LCLINTR) stack.c -expect 5
825 $(LCLINTR) stack.c -stackref
829 $(LCLINTR) staticarray.c -expect 3
833 $(LCLINTR) strings.c -expect 3
834 $(LCLINTR) -readonlystrings -expect 1 strings.c
835 $(LCLINTR) +modobserverstrict -maintype -expect 4 strings.c
839 $(LCLINTR) structassign.c -expect 4
843 $(LCLINTR) typequals.c tq.lcl -expect 5
844 $(LCLINTR) typequals.c -expect 2
848 $(LCLINTR) ud.c -expect 9
849 $(LCLINTR) ud2 -specundef -expect 3
853 $(LCLINTR) ulstypes.c -expect 8
854 $(LCLINTR) ulstypes.c +ignorequals
855 $(LCLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
856 # 3 more detected with version 2.5 (change in -numliteral setting)
860 $(LCLINTR) +memchecks union.c -expect 8
864 $(LCLINTR) unreachable.c -expect 5
865 $(LCLINTR) -unreachable unreachable.c -expect 2
866 $(LCLINTR) switch.c -expect 4
868 .PHONY: unsignedcompare
870 ${LCLINTR} +posixlib unsignedcompare.c -expect 4
873 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
878 $(LCLINTRN) unused.c +checks -exportlocal -expect 5
879 $(LCLINTRN) unused.c +checks -exportlocal +topuse -expect 8
882 ### 2001-06-10: Provided by Jim Zalenka
887 ${LCLINTRN} ullint.c -expect 5
888 ${LCLINTRN} ullint.c +charint +charintliteral -expect 2
892 ${LCLINTRN} void.c -expect 2
900 ${LCLINTR} linked.c -expect 4
901 ${LCLINTR} linked2.c -expect 3
902 ${LCLINTR} linked3.c -expect 5
903 ${LCLINTR} linked4.c -expect 6
904 ${LCLINTR} linked5.c -expect 4
905 ${LCLINTR} linked6.c -expect 4
909 ${LCLINTR} freearray.c -expect 1
913 $(LCLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
917 $(LCLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
919 .PHONY: $(SUBDIRTESTS)
921 cd $@; $(MAKE) LCLINT="$(LCLINTRNNEST)"
922 # Tell versions [3.59,3.63) of GNU make to not export all variables.
923 # Otherwise a system limit (for SysV at least) may be exceeded.