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@
72 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
81 am__include = @am__include@
82 am__quote = @am__quote@
83 install_sh = @install_sh@
85 AUTOMAKE_OPTIONS = 1.5 foreign
89 LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
91 ### This is horrible! Can't we make top_builddir absolute?
92 LCLINTNEST = ../$(top_builddir)/src/lclint$(EXEEXT)
94 LCLINTPNEST = @$(LCLINTNEST)
97 # Make sure .lclintrc files are not used so test results do not
98 # depend on local settings.
99 LCLINTRN = $(LCLINTP) -nof -hints -booltype "bool"
100 LCLINTR = $(LCLINTRN) -exportlocal +debugfcnconstraint
102 LCLINTRNNEST = $(LCLINTPNEST) -nof -hints -booltype "bool"
103 LCLINTRNEST = $(LCLINTRNNEST) -exportlocal +debugfcnconstraint
108 ### These tests have been temporarily removed because of problems with the new build process:
109 ### fileio tainted mergestate metastate \
110 ### tests2.2 tests2.2a tests2.4 tests2.5
112 ### maxset strchr for
115 fileio tainted mergestate metastate sizeof buffertest \
116 tests2.2 tests2.4 tests2.5 \
117 simplebufferConstraintTests moreBufferTests globalbufferannotation \
119 abstptr abstract alias alttypes ansireserved argorder \
120 args blocks break cases cast charlit clauses commentchar compdestroy \
121 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
122 decl enum exports external fields flags forbody format freearray \
123 funcpointer glob globals impabstract init inparam internal iter keep libs \
124 linked lintcomments list macros macrosef merge modifies modtest moduncon \
125 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
126 postnotnull preds prefixes printflike rc refcounts release repexpose \
127 returned sharing slovaknames specclauses special stack staticarray strings \
128 structassign typequals ud ulstypes union unreachable unsignedcompare \
131 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
133 INTEGTESTS = db1 db2 db3
134 INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
136 LCLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
140 CLEANOUTPUT = $(GREP) -v "LCLint 3." | $(GREP) -v "$(LCLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:"
143 ### Rules for tests start here
146 ### Bugs fixed and new features since version 2.1b
148 SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
149 simplebufferConstraintTests moreBufferTests globalbufferannotation \
151 tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
153 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
154 CONFIG_HEADER = $(top_builddir)/config.h
157 DIST_COMMON = Makefile.am Makefile.in
161 .SUFFIXES: .c .diff .expect
162 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
163 cd $(top_srcdir) && \
164 $(AUTOMAKE) --foreign test/Makefile
165 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
166 cd $(top_builddir) && \
167 CONFIG_HEADERS= CONFIG_LINKS= \
168 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
174 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
177 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
179 distdir: $(DISTFILES)
180 @for file in $(DISTFILES); do \
181 if test -f $$file; then d=.; else d=$(srcdir); fi; \
182 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
183 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
184 $(mkinstalldirs) "$(distdir)/$$dir"; \
186 if test -d $$d/$$file; then \
187 cp -pR $$d/$$file $(distdir) \
190 test -f $(distdir)/$$file \
191 || cp -p $$d/$$file $(distdir)/$$file \
202 install-exec: install-exec-am
203 install-data: install-data-am
204 uninstall: uninstall-am
207 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
209 installcheck: installcheck-am
211 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
212 `test -z '$(STRIP)' || \
213 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
219 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
221 maintainer-clean-generic:
222 @echo "This command is intended for maintainers to use"
223 @echo "it deletes files that may require special tools to rebuild."
226 clean-am: clean-generic clean-local mostlyclean-am
228 distclean: distclean-am
230 distclean-am: clean-am distclean-generic
244 install-info: install-info-am
250 maintainer-clean: maintainer-clean-am
252 maintainer-clean-am: distclean-am maintainer-clean-generic
254 mostlyclean: mostlyclean-am
256 mostlyclean-am: mostlyclean-generic
258 uninstall-am: uninstall-info-am
260 .PHONY: all all-am check check-am clean clean-generic clean-local \
261 distclean distclean-generic distdir dvi dvi-am info info-am \
262 install install-am install-data install-data-am install-exec \
263 install-exec-am install-info install-info-am install-man \
264 install-strip installcheck installcheck-am installdirs \
265 maintainer-clean maintainer-clean-generic mostlyclean \
266 mostlyclean-generic uninstall uninstall-am uninstall-info-am
274 -$(LCLINTP) -help version
279 -@LARCH_PATH=/dev/null; $(LCLINT) empty.lcl
282 -@$(LCLINTP) +boolint +boolint
283 -@$(LCLINTP) -help flags alpha
284 -@$(LCLINTP) -help flags all
288 -rm -f *~ #*# *.o *.lcs a.out
289 -cd db1; $(MAKE) clean
290 -cd db2; $(MAKE) clean
291 -cd db3; $(MAKE) clean
293 $(LCLINTTESTS): $(LCLINT)
296 cd $(top_builddir)/src; $(MAKE)
299 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
302 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
306 @echo "Saving old expects..."; \
307 cat *.expect >expects-`date +"%y-%m-%d-%H"`
308 @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
309 echo "Making $$TEST.expect..."; \
310 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
316 @for TEST in $(QUICKTESTS); do \
317 echo "Checking $$TEST..."; \
318 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
319 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
320 echo "*** FAIL ***"; \
325 @echo "Testing $(PACKAGE) $(VERSION)..."
327 @echo "Version Info:"
328 @$(LCLINTP) -help version
329 @$(LCLINTP) -help vars
333 @for TEST in $(UNITTESTS); do \
334 echo "Checking $$TEST..."; \
335 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
336 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
337 echo "*** FAIL ***"; \
340 @echo "Integration tests:"
342 @for TEST in $(INTEGTESTS); do \
343 echo "Checking $$TEST..."; \
344 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
345 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
346 echo "*** FAIL ***"; \
351 $(LCLINTR) abstptr -expect 9
352 $(LCLINTR) abstptr +voidabstract -expect 6
356 $(LCLINTR) abst_t.lcl commentcmd.c -expect 15
361 $(LCLINTR) mut alias +globalias -expect 19
362 $(LCLINTR) mut alias2 +globalias -expect 17
363 $(LCLINTR) +lh alias3 -expect 14
364 $(LCLINTR) +lh alias4 +boolint
365 $(LCLINTR) alias4 -pred +retalias -expect 6
366 $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
370 $(LCLINTR) alttypes.c -expect 2
373 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
374 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
375 ### variable (could be a macro?)
376 ### Reports 3 additional errors for +checks; no longer suppresses name errors
377 ### in the presense of other errors.
382 $(LCLINTR) ansireserved.c +ansireserved -nolib -expect 9
383 $(LCLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
384 $(LCLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
385 $(LCLINTR) ansireserved2.c +ansireserved -expect 1
389 $(LCLINTR) argorder.c -expect 4
390 $(LCLINTR) argorder2 -expect 5
391 $(LCLINTR) argorder3.c -expect 8
392 $(LCLINTR) argorder4 -expect 9
393 $(LCLINTR) argorder4 -evalorder -expect 1
394 $(LCLINTR) argorder5.c +evalorderuncon -expect 3
398 $(LCLINTR) args -noeffect -expect 12
402 $(LCLINTR) blocks.c -expect 4
403 $(LCLINTR) blocks.c +ifblock +elseifcomplete -expect 7
404 $(LCLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
405 $(LCLINTR) blocks.c -ifempty +forempty +forblock -expect 3
406 $(LCLINTR) blocks.c +allempty -expect 6
407 $(LCLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
411 $(LCLINTR) break.c -expect 4
412 $(LCLINTR) break.c +deepbreak -expect 6
413 $(LCLINTR) break.c +deepbreak -looploopbreak -expect 5
417 $(LCLINTR) cases.c -expect 5
418 $(LCLINTR) cases2.c -expect 2
419 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
420 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
424 $(LCLINTR) cast -accessmodule -expect 20
425 $(LCLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
427 ### Two addition errors detected with 2.5 with -numliteral.
431 $(LCLINTR) +hints charlit.c -expect 4
432 $(LCLINTR) +hints -numliteral charlit.c -expect 6
433 $(LCLINTR) +hints charlit.c +charintliteral +ignoresigns
437 $(LCLINTR) clauses.c +memchecks -expect 4
438 $(LCLINTR) clauses2.c +memchecks
439 $(LCLINTR) clauses3.c +memchecks -expect 2
440 $(LCLINTR) clauses3.c +memchecks +unixlib -expect 3
444 $(LCLINTR) commentchar.c -expect 4
445 $(LCLINTR) -commentchar '#' commentchar.c -expect 4
449 $(LCLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
450 $(LCLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
454 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
455 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
456 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
457 $(LCLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
461 ${LCLINTRN} constannot.c +arraybounds -exportlocal -expect 2
465 $(LCLINTR) +quiet -incondefs csyntax.c -expect 1
466 $(LCLINTR) +quiet csyntax2.c -expect 2
467 $(LCLINTR) +quiet csyntax3.c -expect 1
468 $(LCLINTR) +quiet -incondefs csyntax4.c
469 $(LCLINTR) +quiet csyntax5.c
470 $(LCLINTR) +quiet csyntax6.c
471 $(LCLINTR) +quiet csyntax7.c
472 $(LCLINTR) +quiet csyntax8.c
473 $(LCLINTR) +quiet csyntax9.c
474 $(LCLINTR) +quiet csyntax10.c
475 $(LCLINTR) +quiet csyntax11.c
476 $(LCLINTR) +quiet csyntax12.c
477 $(LCLINTR) +quiet csyntax13.c -expect 1
478 $(LCLINTR) +quiet csyntax14.c
479 $(LCLINTR) +quiet csyntax15.c
480 $(LCLINTR) +quiet csyntax16.c -expect 2
481 $(LCLINTR) +quiet csyntax17.c -expect 3
485 $(LCLINTR) czechnames.c
486 $(LCLINTR) +hints +czech czechnames.c -expect 2
487 $(LCLINTR) +hints +czech -czechvars czechnames.c -expect 1
488 $(LCLINTR) +hints +czech -accessczech czechnames.c -expect 6
490 .PHONY: czechoslovaknames
492 $(LCLINTR) +hints +czechoslovak czechnames.c -expect 1
493 $(LCLINTR) +hints +czechoslovak slovaknames.c -expect 1
494 $(LCLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
497 ### deadparam added 2001-05-27
502 ${LCLINTR} deadparam.c -expect 3
505 # Was expect 3 before 2.4. Earlier versions did not handle implicit
506 # function pointers correctly.
511 $(LCLINTR) decl.c -expect 2
512 $(LCLINTRN) decl.c +strict -exportlocal -expect 5
513 $(LCLINTR) decl2 -expect 4
517 $(LCLINTR) enum -expect 16
518 $(LCLINTR) enum -misscase -expect 14
522 $(LCLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
523 $(LCLINTR) exports.c +exportany -expect 3
528 $(LCLINTR) external.c +partial
529 $(LCLINTR) external.c +partial +distinctexternalnames -expect 2
530 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
531 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
532 $(LCLINTR) external.c +partial -externalnamelength 3 -expect 4
536 $(LCLINTR) fields.c +memchecks -expect 6
537 $(LCLINTR) fields2.c +memchecks -expect 5
538 $(LCLINTR) fields3.c +memchecks
542 $(LCLINTR) flags.c -expect 8
543 $(LCLINTR) +nocomments flags.c -expect 2
549 ${LCLINTR} forbody.c -expect 2
554 ${LCLINTR} format.c -expect 3
555 ${LCLINTR} format.c -formatconst
557 # two new errors (invalid lhs)
561 $(LCLINTR) +memchecks +noparams funcpointer.c -expect 18
565 $(LCLINTR) glob -expect 4
566 $(LCLINTR) glob -globuse -expect 3
567 $(LCLINTR) glob +globunspec -expect 6
571 $(LCLINTR) -modifies globals.c -expect 5
572 $(LCLINTR) -modifies globals.c +allglobals -expect 6
573 $(LCLINTR) -modifies globals.c +impcheckedglobals -expect 6
574 $(LCLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
575 $(LCLINTR) -modifies globals.c +globunspec -expect 6
576 $(LCLINTR) -modifies globals.c +globunspec +allglobals -expect 8
581 $(LCLINTR) -accessmodule impabstract.c
582 $(LCLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
583 $(LCLINTR) -accessmodule +hints +impabstract impabstract -expect 4
585 ### evans 2001-10-14: Expected errors updated
588 $(LCLINTR) init.c -expect 14
589 $(LCLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
593 $(LCLINTR) inparam.c -expect 2
594 $(LCLINTR) +impouts inparam.c -expect 1
598 $(LCLINTR) internal.c -expect 1
599 $(LCLINTR) internal.c +distinctinternalnames -expect 2
600 $(LCLINTR) internal.c -internalnamelen 28 -expect 3
601 $(LCLINTR) internal.c +internalnamecaseinsensitive -expect 3
602 $(LCLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
606 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
611 $(LCLINTR) iter -expect 14 -lclexpect 1
612 $(LCLINTR) iter2.c -expect 12
616 $(LCLINTR) keep.c +memchecks -expect 6
619 ### 2001-05-22: 2 new errors found (fixed spec of signal)
620 ### 2001-05-30: 3 new errors found (formatconst)
624 $(LCLINTR) libs.c +longunsignedunsignedintegral -expect 18
625 $(LCLINTR) libs.c -expect 22
626 $(LCLINTR) libs.c +globunspec +modunspec -expect 25
627 $(LCLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
631 $(LCLINTR) lintcomments.c -expect 4
632 $(LCLINTR) lintcomments.c -warnlintcomments -expect 1
633 $(LCLINTR) lintcomments.c -lintcomments -expect 4
637 $(LCLINTR) list.c -expect 3
641 $(LCLINTR) macros -expect 17
642 $(LCLINTR) macros.c +allmacros -expect 34
643 $(LCLINTR) macros.c +fcnmacros -expect 31
647 $(LCLINTR) macrosef -expect 4
648 $(LCLINTR) macrosef.c +allmacros -expect 3
649 $(LCLINTR) macrosef.c +allmacros +sefuncon -expect 4
653 $(LCLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
657 $(LCLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
661 $(LCLINTR) modtest -expect 10
662 $(LCLINTR) modtest +modunspec -expect 13
663 $(LCLINTR) modtest +mustmod -expect 14
667 $(LCLINTR) moduncon.c +moduncon -memchecks -expect 4
668 $(LCLINTRN) moduncon.c +strict -exportlocal -expect 22
670 .PHONY: mongoincludes
672 $(LCLINTR) mongoincludes.c -includenest 1 -expect 19
673 $(LCLINTR) mongoincludes.c -includenest 2 -expect 10
674 $(LCLINTR) mongoincludes.c -includenest 3 -expect 4
675 $(LCLINTR) mongoincludes.c -includenest 4 -expect 1
676 $(LCLINTR) mongoincludes.c -includenest 5 -expect 0
680 $(LCLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
684 ${LCLINT} -nof noeffect.c +allmacros +checks -expect 3
688 $(LCLINTR) null1.c -expect 14
689 $(LCLINTR) null1.c -null -expect 4
690 $(LCLINTR) null2.c -expect 10
691 $(LCLINTR) null3.c -expect 15
692 $(LCLINTR) null3.c -warnunixlib +unixlib -expect 16
693 $(LCLINTR) null4.c -expect 1
694 $(LCLINTR) null5.c -expect 4
695 $(LCLINTR) null6 -expect 4
696 $(LCLINTR) +quiet null6.lcl -dump null6
697 $(LCLINTR) null6.c -load null6 -expect 4
699 ### Added for 3.0 (bugs reported by Kevin Broady)
703 $(LCLINTR) nullret.c -expect 2
704 $(LCLINTR) -nullret nullret.c -expect 1
708 $(LCLINTR) nullassign.c -expect 2
709 $(LCLINTR) -nullassign nullassign.c -expect 1
712 # Before 2.4, expected one more because error was reported both as
713 # dependent and observer.
718 $(LCLINTRN) observer +checks -exportlocal -exportheader -expect 9
719 $(LCLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
720 $(LCLINTR) observer.c -expect 7
724 $(LCLINTR) oldstyle -expect 3
728 $(LCLINTR) outglob -expect 10
732 $(LCLINTR) outparam -expect 12
734 ### evans 2001-08-26: postnotnull new
738 ${LCLINTR} postnotnull.c -expect 1
740 # Four new +fcnuse errors for -strict (evans 2001-07-22)
745 $(LCLINTR) +hints preds.c -expect 6
746 $(LCLINTRN) +hints preds.c -weak -expect 1
747 $(LCLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
751 $(LCLINTR) prefixes.c +partial
752 $(LCLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
753 $(LCLINTR) prefixes.c -typeprefix "T" -expect 2
754 $(LCLINTR) prefixes.c -typeprefix "^" -expect 1
755 $(LCLINTR) prefixes.c -typeprefix "^*" -expect 2
756 $(LCLINTR) prefixes.c -typeprefix "^%*" -expect 2
757 $(LCLINTR) prefixes.c -typeprefix "^~*" -expect 2
758 $(LCLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
759 $(LCLINTR) prefixes.c -filestaticprefix "^^" -expect 4
760 $(LCLINTR) prefixes.c -filestaticprefix "^#" -expect 5
761 $(LCLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
762 $(LCLINTR) prefixes.c -globalprefix "G" -expect 1
763 $(LCLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
764 $(LCLINTR) prefixes.c -externalprefix "G" -expect 5
765 $(LCLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
766 $(LCLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
770 $(LCLINTR) printflike.c -expect 6
771 $(LCLINTR) printflike.c -warnlintcomments -expect 5
775 $(LCLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
776 $(LCLINTR) -DMYSTERY=12 rc.c -expect 1
777 $(LCLINTR) -f rc1.lclintrc rc.c -expect 1
778 $(LCLINTR) -UMYSTERY -f rc1.lclintrc rc.c -expect 1
779 $(LCLINTR) -f rc3.lclintrc rc.c -expect 1
783 $(LCLINTR) refcounts.c -expect 7
787 $(LCLINTR) release.c +memchecks -expect 1
791 $(LCLINTR) +lh repexpose +memchecks -expect 12
792 $(LCLINTR) repexpose +memchecks +retalias -expect 15
793 $(LCLINTRN) repexpose +checks -exportlocal -expect 27
795 ### returned added 2001-05-27
796 ### (Bug discovered checking lclint sources.)
800 ${LCLINTR} returned.c -expect 1
804 $(LCLINTR) sharing1.c -expect 21
805 $(LCLINTR) sharing3.c -expect 3
806 $(LCLINTR) sharing4.c -expect 13
807 $(LCLINTR) sharing4.c -paramimptemp -expect 12
808 $(LCLINTR) sharing5.c -expect 6
812 $(LCLINTR) +hints slovaknames.c -expect 1
813 $(LCLINTR) +hints slovaknames.c +accessslovak
814 $(LCLINTR) +hints +slovak slovaknames.c -expect 3
815 $(LCLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
816 $(LCLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
820 $(LCLINTR) specclauses.c -expect 6
821 $(LCLINTR) specclauses2.c -expect 8
822 $(LCLINTR) specclauses3.c -expect 6
823 $(LCLINTR) specclauses4.c -expect 3
824 $(LCLINTR) specclauses5.c -expect 3
828 $(LCLINTR) special -expect 20
829 $(LCLINTR) special -relaxquals -expect 22
833 $(LCLINTR) stack.c -expect 5
834 $(LCLINTR) stack.c -stackref
838 $(LCLINTR) staticarray.c -expect 3
842 $(LCLINTR) strings.c -expect 3
843 $(LCLINTR) -readonlystrings -expect 1 strings.c
844 $(LCLINTR) +modobserverstrict -maintype -expect 4 strings.c
848 $(LCLINTR) structassign.c -expect 4
852 $(LCLINTR) typequals.c tq.lcl -expect 5
853 $(LCLINTR) typequals.c -expect 2
857 $(LCLINTR) ud.c -expect 9
858 $(LCLINTR) ud2 -specundef -expect 3
862 $(LCLINTR) ulstypes.c -expect 8
863 $(LCLINTR) ulstypes.c +ignorequals
864 $(LCLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
865 # 3 more detected with version 2.5 (change in -numliteral setting)
869 $(LCLINTR) +memchecks union.c -expect 8
873 $(LCLINTR) unreachable.c -expect 5
874 $(LCLINTR) -unreachable unreachable.c -expect 2
875 $(LCLINTR) switch.c -expect 4
877 .PHONY: unsignedcompare
879 ${LCLINTR} +posixlib unsignedcompare.c -expect 4
882 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
887 $(LCLINTRN) unused.c +checks -exportlocal -expect 5
888 $(LCLINTRN) unused.c +checks -exportlocal +topuse -expect 8
891 ### 2001-06-10: Provided by Jim Zalenka
896 ${LCLINTRN} ullint.c -expect 5
897 ${LCLINTRN} ullint.c +charint +charintliteral -expect 2
901 ${LCLINTRN} void.c -expect 2
909 ${LCLINTR} linked.c -expect 4
910 ${LCLINTR} linked2.c -expect 3
911 ${LCLINTR} linked3.c -expect 5
912 ${LCLINTR} linked4.c -expect 6
913 ${LCLINTR} linked5.c -expect 4
914 ${LCLINTR} linked6.c -expect 4
918 ${LCLINTR} freearray.c -expect 1
922 $(LCLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
926 $(LCLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
928 .PHONY: $(SUBDIRTESTS)
930 cd $@; $(MAKE) LCLINT="$(LCLINTRNNEST)"
931 # Tell versions [3.59,3.63) of GNU make to not export all variables.
932 # Otherwise a system limit (for SysV at least) may be exceeded.