]> andersk Git - splint.git/blame - test/Makefile.in
Updated README version number. (Testing sourceforge)
[splint.git] / test / Makefile.in
CommitLineData
8fe44445 1# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
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.
8
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
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16SHELL = @SHELL@
17
18srcdir = @srcdir@
19top_srcdir = @top_srcdir@
20VPATH = @srcdir@
21prefix = @prefix@
22exec_prefix = @exec_prefix@
23
24bindir = @bindir@
25sbindir = @sbindir@
26libexecdir = @libexecdir@
27datadir = @datadir@
28sysconfdir = @sysconfdir@
29sharedstatedir = @sharedstatedir@
30localstatedir = @localstatedir@
31libdir = @libdir@
32infodir = @infodir@
33mandir = @mandir@
34includedir = @includedir@
35oldincludedir = /usr/include
36pkgdatadir = $(datadir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39top_builddir = ..
40
41ACLOCAL = @ACLOCAL@
42AUTOCONF = @AUTOCONF@
43AUTOMAKE = @AUTOMAKE@
44AUTOHEADER = @AUTOHEADER@
45
46INSTALL = @INSTALL@
47INSTALL_PROGRAM = @INSTALL_PROGRAM@
48INSTALL_DATA = @INSTALL_DATA@
49INSTALL_SCRIPT = @INSTALL_SCRIPT@
50INSTALL_HEADER = $(INSTALL_DATA)
51transform = @program_transform_name@
52NORMAL_INSTALL = :
53PRE_INSTALL = :
54POST_INSTALL = :
55NORMAL_UNINSTALL = :
56PRE_UNINSTALL = :
57POST_UNINSTALL = :
58host_alias = @host_alias@
59host_triplet = @host@
73b29173 60AMTAR = @AMTAR@
61AWK = @AWK@
8fe44445 62BISON = @BISON@
63CAT = @CAT@
64CC = @CC@
65CP = @CP@
66CPP = @CPP@
73b29173 67DEPDIR = @DEPDIR@
8fe44445 68DIFF = @DIFF@
73b29173 69EXEEXT = @EXEEXT@
8fe44445 70GREP = @GREP@
73b29173 71INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
8fe44445 72LCLOBJ = @LCLOBJ@
73LEX = @LEX@
74LN_S = @LN_S@
75MV = @MV@
73b29173 76OBJEXT = @OBJEXT@
8fe44445 77PACKAGE = @PACKAGE@
78RM = @RM@
79VERSION = @VERSION@
73b29173 80am__include = @am__include@
81am__quote = @am__quote@
82install_sh = @install_sh@
8fe44445 83
84AUTOMAKE_OPTIONS = 1.5 foreign
85
86DIFFFLAGS = -u
87
53a89507 88LCLINT = $(top_builddir)/src/lclint$(EXEEXT)
a469ccf0 89
90### This is horrible! Can't we make top_builddir absolute?
53a89507 91LCLINTNEST = ../$(top_builddir)/src/lclint$(EXEEXT)
a469ccf0 92
93LCLINTPNEST = @$(LCLINTNEST)
8fe44445 94LCLINTP = @$(LCLINT)
95
96# Make sure .lclintrc files are not used so test results do not
97# depend on local settings.
98LCLINTRN = $(LCLINTP) -nof -hints -booltype "bool"
99LCLINTR = $(LCLINTRN) -exportlocal +debugfcnconstraint
100
a469ccf0 101LCLINTRNNEST = $(LCLINTPNEST) -nof -hints -booltype "bool"
102LCLINTRNEST = $(LCLINTRNNEST) -exportlocal +debugfcnconstraint
103
8fe44445 104
105###
106### !!!
107### These tests have been temporarily removed because of problems with the new build process:
a469ccf0 108### fileio tainted mergestate metastate \
8fe44445 109### tests2.2 tests2.2a tests2.4 tests2.5
a469ccf0 110###
8fe44445 111### maxset strchr for
112UNITTESTS = \
a469ccf0 113 help \
114 fileio tainted mergestate metastate sizeof buffertest \
1f11dead 115 tests2.2 tests2.4 tests2.5 \
30585c35 116 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
a469ccf0 117 maxset strchr for \
8fe44445 118 abstptr abstract alias alttypes ansireserved argorder \
119 args blocks break cases cast charlit clauses commentchar compdestroy \
120 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
121 decl enum exports external fields flags forbody format freearray \
122 funcpointer glob globals impabstract init inparam internal iter keep libs \
123 linked lintcomments list macros macrosef merge modifies modtest moduncon \
124 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
125 postnotnull preds prefixes printflike rc refcounts release repexpose \
126 returned sharing slovaknames specclauses special stack staticarray strings \
127 structassign typequals ud ulstypes union unreachable unsignedcompare \
128 unused ullint void
129
130UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
131
132INTEGTESTS = db1 db2 db3
133INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
134
135LCLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
136
137QUICKTESTS = db3
138
139CLEANOUTPUT = $(GREP) -v "LCLint 3." | $(GREP) -v "$(LCLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:"
140
141
a469ccf0 142### Rules for tests start here
8fe44445 143
144###
145### Bugs fixed and new features since version 2.1b
146###
a469ccf0 147SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
30585c35 148 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
a469ccf0 149 maxset strchr for \
150tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
6c9a3167 151
152#drl 11/29/2001 This is a very ugly hack to get make dist to work
153EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
154 ./abstptr.lcl ./abstptr.lcs \
155 ./alias.lcl ./alias.lcs \
156 ./alias2.lcl ./alias2.lcs \
157 ./alias3.lcl \
158 ./db1/erc.lcl \
159 ./db1/bool.lcl \
160 ./db1/dbase.lcl \
161 ./db1/employee.lcl \
162 ./db1/empset.lcl \
163 ./db1/eref.lcl \
164 ./db1/ereftab.lcl \
165 ./alias3.lcs \
166 ./alias3.lh \
167 ./alias4.lcl \
168 ./alias4.lcs \
169 ./alias4.lh \
170 ./alias5.lcl \
171 ./alias5.lcs \
172 ./alias5.lh \
173 ./argorder2.lcl \
174 ./argorder2.lcs \
175 ./argorder4.lcl \
176 ./argorder4.lcs \
177 ./args.lcl \
178 ./args.lcs \
179 ./cast.lcl \
180 ./cast.lcs \
181 ./decl2.lcl \
182 ./decl2.lcs \
183 ./empty.lcl \
184 ./enum.lcl \
185 ./enum.lcs \
186 ./glob.lcl \
187 ./glob.lcs \
188 ./impabstract.lcl \
189 ./impabstract.lcs \
190 ./iter.lcl \
191 ./iter.lcs \
192 ./macros.lcl \
193 ./macros.lcs \
194 ./macrosef.lcl \
195 ./macrosef.lcs \
196 ./modtest.lcl \
197 ./modtest.lcs \
198 ./mut.lcl \
199 ./mut.lcs \
200 ./mut.lh \
201 ./mut.lh.expect \
202 ./db2/dbase.lcl \
203 ./db2/employee.lcl \
204 ./db2/empset.lcl \
205 ./db2/erc.lcl \
206 ./db2/eref.lcl \
207 ./db2/ereftab.lcl \
208 ./db2/etest.lcl \
209 ./null6.lcd \
210 ./null6.lcl \
211 ./null6.lcs \
212 ./observer.lcl \
213 ./observer.lcs \
214 ./oldstyle.lcl \
215 ./oldstyle.lcs \
216 ./outglob.lcl \
217 ./outglob.lcs \
218 ./outparam.lcl \
219 ./outparam.lcs \
220 ./rc1.lclintrc \
221 ./rc2.lclintrc \
222 ./rc3.lclintrc \
223 ./rc3.lclintrc.os2 \
224 ./repexpose.lcl \
225 ./repexpose.lcs \
226 ./repexpose.lh \
227 ./repexpose.lh.expect \
228 ./special.lcl \
229 ./special.lcs \
230 ./db3/.lclintrc \
231 ./db3/bool.lcl \
232 ./db3/check.lcl \
233 ./db3/dbase.lcl \
234 ./db3/employee.lcl \
235 ./db3/empset.lcl \
236 ./db3/erc.lcl \
237 ./db3/eref.lcl \
238 ./db3/ereftab.lcl \
239 ./tq.lcl \
240 ./tq.lcs \
241 ./ud2.lcl \
242 ./ud2.lcs \
243 ./for/.lclintrc \
244 ./globalbufferannotation/.lclintrc \
245 ./maxset/.lclintrc \
246 ./strchr/.lclintrc \
247 ./tests2.2/bool.lcl \
248 ./tests2.2/bool.lcs \
249 ./tests2.2/libraries.lcd \
250 ./tests2.2/obsolete.lcd \
251 ./tests2.2/oldversion.lcd \
252 ./tests2.4/subdir/main.lcl \
253 ./tests2.4/subdir/main.lcs \
254 ./tests2.5/newlint.lcd \
255 ./warnuse/warnuse.lcd \
256 ./empty.lcs \
257 ./abstptr.c \
258 ./alias.c \
259 ./alias2.c \
260 ./alias3.c \
261 ./db1/dbase.c \
262 ./db1/drive.c \
263 ./db1/employee.c \
264 ./db1/empset.c \
265 ./db1/erc.c \
266 ./db1/eref.c \
267 ./db1/ereftab.c \
268 ./alias4.c \
269 ./alias5.c \
270 ./alttypes.c \
271 ./ansireserved.c \
272 ./ansireserved2.c \
273 ./argorder.c \
274 ./argorder2.c \
275 ./argorder3.c \
276 ./argorder4.c \
277 ./argorder5.c \
278 ./args.c \
279 ./arrayinit.c \
280 ./blocks.c \
281 ./branchstate.c \
282 ./break.c \
283 ./cases.c \
284 ./buffertest1.c \
285 ./cases2.c \
286 ./cast.c \
287 ./cast2.c \
288 ./charlit.c \
289 ./clauses.c \
290 ./clauses2.c \
291 ./clauses3.c \
292 ./commentchar.c \
293 ./commentcmd.c \
294 ./compdestroy.c \
295 ./csyntax.c \
296 ./constannot.c \
297 ./controldepth.c \
298 ./csyntax10.c \
299 ./csyntax11.c \
300 ./csyntax12.c \
301 ./csyntax13.c \
302 ./csyntax14.c \
303 ./csyntax15.c \
304 ./csyntax16.c \
305 ./csyntax17.c \
306 ./csyntax2.c \
307 ./csyntax3.c \
308 ./csyntax4.c \
309 ./csyntax5.c \
310 ./csyntax6.c \
311 ./csyntax7.c \
312 ./csyntax8.c \
313 ./csyntax9.c \
314 ./czechnames.c \
315 ./czechoslovaknames.c \
316 ./deadparam.c \
317 ./decl.c \
318 ./decl2.c \
319 ./dkf5kEnum.c \
320 ./dkf5kRange.c \
321 ./dkf5kSprintf.c \
322 ./ensures.c \
323 ./enum.c \
324 ./exports.c \
325 ./external.c \
326 ./fields.c \
327 ./fields2.c \
328 ./fields3.c \
329 ./flags.c \
330 ./glob.c \
331 ./forbody.c \
332 ./format.c \
333 ./freearray.c \
334 ./funcpointer.c \
335 ./globals.c \
336 ./globals2.c \
337 ./impabstract.c \
338 ./init.c \
339 ./innerfree.c \
340 ./inparam.c \
341 ./internal.c \
342 ./iter.c \
343 ./iter2.c \
344 ./keep.c \
345 ./libs.c \
346 ./linked.c \
347 ./linked2.c \
348 ./linked3.c \
349 ./linked4.c \
350 ./linked5.c \
351 ./linked6.c \
352 ./lintcomments.c \
353 ./list.c \
354 ./longconstants.c \
355 ./macros.c \
356 ./macrosef.c \
357 ./merge.c \
358 ./modclient.c \
359 ./modifies.c \
360 ./modtest.c \
361 ./moduncon.c \
362 ./mongoincludes.c \
363 ./mparen.c \
364 ./mut.c \
365 ./mystrncat.c \
366 ./noeffect.c \
367 ./null1.c \
368 ./null2.c \
369 ./null3.c \
370 ./null4.c \
371 ./null5.c \
372 ./db2/dbase.c \
373 ./db2/drive.c \
374 ./db2/employee.c \
375 ./db2/empset.c \
376 ./db2/erc.c \
377 ./db2/eref.c \
378 ./db2/ereftab.c \
379 ./db2/etest.c \
380 ./null6.c \
381 ./nullassign.c \
382 ./nullret.c \
383 ./observer.c \
384 ./oldstyle.c \
385 ./outglob.c \
386 ./outparam.c \
387 ./postnotnull.c \
388 ./preds.c \
389 ./prefixes.c \
390 ./printflike.c \
391 ./rc.c \
392 ./refcounts.c \
393 ./release.c \
394 ./repexpose.c \
395 ./returned.c \
396 ./sharing1.c \
397 ./sharing2.c \
398 ./sharing3.c \
399 ./sharing4.c \
400 ./sharing5.c \
401 ./sizeof.c \
402 ./slovaknames.c \
403 ./specclauses.c \
404 ./specclauses2.c \
405 ./specclauses3.c \
406 ./specclauses4.c \
407 ./specclauses5.c \
408 ./specclauses6.c \
409 ./special.c \
410 ./stack.c \
411 ./staticarray.c \
412 ./strings.c \
413 ./structassign.c \
414 ./switch.c \
415 ./t1.c \
416 ./test.c \
417 ./db3/dbase.c \
418 ./db3/drive.c \
419 ./db3/employee.c \
420 ./db3/empset.c \
421 ./db3/erc.c \
422 ./db3/eref.c \
423 ./db3/ereftab.c \
424 ./typequals.c \
425 ./ud.c \
426 ./ud2.c \
427 ./ullint.c \
428 ./ulstypes.c \
429 ./union.c \
430 ./unreachable.c \
431 ./unsignedcompare.c \
432 ./unused.c \
433 ./void.c \
434 ./conditions/miroslaw.c \
435 ./conditions/releases.c \
436 ./fileio/file.c \
437 ./fileio/filebranch.c \
438 ./fileio/filerw.c \
439 ./for/for.c \
440 ./globalbufferannotation/globalvariable.c \
441 ./maxset/maxsetannotations.c \
442 ./maxset/maxsetnoannotations.c \
443 ./mergestate/taintednm.c \
444 ./metastate/file.c \
445 ./metastate/file1.c \
446 ./metastate/file2.c \
447 ./metastate/file3.c \
448 ./metastate/file4.c \
449 ./metastate/file5.c \
450 ./metastate/file6.c \
451 ./metastate/file7.c \
452 ./metastate/filebad.c \
453 ./metastate/global.c \
454 ./metastate/nullbranch.c \
455 ./metastate/nullbranch2.c \
456 ./metastate/nullret.c \
457 ./metastate/osd.c \
458 ./metastate/sockets.c \
459 ./metastate/sockets2.c \
460 ./metastate/struct.c \
461 ./metastate/test.c \
462 ./metastate/voidptr.c \
463 ./moreBufferTests/initialization.c \
464 ./moreBufferTests/simplifyTest.c \
465 ./moreBufferTests/strncatNotReallyGood.c \
466 ./moreBufferTests/strncatReallyGood.c \
467 ./moreBufferTests/strrchr.c \
468 ./moreBufferTests/unrecogCall.c \
469 ./nullterminatedtest/buggy1.c \
470 ./nullterminatedtest/buggy_support1.c \
471 ./nullterminatedtest/buggy_support_fmakeword.c \
472 ./nullterminatedtest/test1.c \
473 ./nullterminatedtest/test3.c \
474 ./simplebufferConstraintTests/m.c \
475 ./simplebufferConstraintTests/sizeof.c \
476 ./simplebufferConstraintTests/test3.c \
477 ./simplebufferConstraintTests/test7.c \
478 ./sizeoftest/sizeof.c \
479 ./strchr/strchr.c \
480 ./suppressfile/test.c \
481 ./tainted/sprintf.c \
482 ./tainted/t1.c \
483 ./tainted/tainted.c \
484 ./tainted/tainted2.c \
485 ./tainted/tainted3.c \
486 ./tainted/tainted4.c \
487 ./tainted/tainted5.c \
488 ./tainted/taintedimplicit.c \
489 ./tainted/taintedmerge.c \
490 ./tainted/taintedx.c \
491 ./tainted/test.c \
492 ./tclauses/globals.c \
493 ./tclauses/gt.c \
494 ./tclauses/modifies.c \
495 ./tclauses/struct.c \
496 ./tclauses/undef.c \
497 ./tests2.2/arbints.c \
498 ./tests2.2/arrayfcn.c \
499 ./tests2.2/booldef.c \
500 ./tests2.2/boolenum.c \
501 ./tests2.2/boolops.c \
502 ./tests2.2/break.c \
503 ./tests2.2/bstring.c \
504 ./tests2.2/decl.c \
505 ./tests2.2/enumbool.c \
506 ./tests2.2/extension.c \
507 ./tests2.2/libraries.c \
508 ./tests2.2/modarray.c \
509 ./tests2.2/nestext.c \
510 ./tests2.2/offsetof.c \
511 ./tests2.2/posix.c \
512 ./tests2.2/realloc.c \
513 ./tests2.2/rex.c \
514 ./tests2.2/sizeofarray.c \
515 ./tests2.2/struct.c \
516 ./tests2.2a/addassign.c \
517 ./tests2.2a/arrayparam.c \
518 ./tests2.2a/bitops.c \
519 ./tests2.2a/boolcomp.c \
520 ./tests2.2a/boolenum.c \
521 ./tests2.2a/dobb.c \
522 ./tests2.2a/duff.c \
523 ./tests2.2a/erik.c \
524 ./tests2.2a/floatdouble.c \
525 ./tests2.2a/florian.c \
526 ./tests2.2a/fred.c \
527 ./tests2.2a/isalpha.c \
528 ./tests2.2a/notreached.c \
529 ./tests2.2a/obviousloop.c \
530 ./tests2.2a/popik.c \
531 ./tests2.2a/sizeof.c \
532 ./tests2.2a/toralf.c \
533 ./tests2.4/subdir/main.c \
534 ./tests2.4/alignof.c \
535 ./tests2.4/array.c \
536 ./tests2.4/bitfields.c \
537 ./tests2.4/bug1.c \
538 ./tests2.4/bug2.c \
539 ./tests2.4/bug3.c \
540 ./tests2.4/chin.c \
541 ./tests2.4/cpptest.c \
542 ./tests2.4/driverstub.c \
543 ./tests2.4/duffs.c \
544 ./tests2.4/emptycase.c \
545 ./tests2.4/enumtest.c \
546 ./tests2.4/error.c \
547 ./tests2.4/fink.c \
548 ./tests2.4/flagequal.c \
549 ./tests2.4/forward.c \
550 ./tests2.4/hash.c \
551 ./tests2.4/hexconstants.c \
552 ./tests2.4/innercomment.c \
553 ./tests2.4/komazi.c \
554 ./tests2.4/longlong.c \
555 ./tests2.4/main.c \
556 ./tests2.4/nothing.c \
557 ./tests2.4/offsetof.c \
558 ./tests2.4/print.c \
559 ./tests2.4/ric.c \
560 ./tests2.4/syncomment.c \
561 ./tests2.4/syslog.c \
562 ./tests2.4/test0.c \
563 ./tests2.4/test1.c \
564 ./tests2.4/test2.c \
565 ./tests2.4/timecard.c \
566 ./tests2.4/toothman.c \
567 ./tests2.4/ulrich.c \
568 ./tests2.5/badcomment.c \
569 ./tests2.5/boolbad.c \
570 ./tests2.5/boolt.c \
571 ./tests2.5/booltest.c \
572 ./tests2.5/dummyfile.c \
573 ./tests2.5/hoof.c \
574 ./tests2.5/immutable.c \
575 ./tests2.5/impabsmodule.c \
576 ./tests2.5/literals.c \
577 ./tests2.5/quals.c \
578 ./tests2.5/sort.c \
579 ./tests2.5/testalt.c \
580 ./tests2.5/testimmutable.c \
581 ./tests2.5/uconstants.c \
582 ./tests2.5/ull.c \
583 ./warnuse/warnflags.c \
584 ./warnuse/warngets.c \
585 ./warnuse/warnuse.c \
586 ./moreBufferTests2/unknownsize.c \
587 ./moreBufferTests2/arrayConstExpr.c \
588 abstptr.expect \
589 abstract.expect \
590 alias.expect \
591 alttypes.expect \
592 ansireserved.expect \
593 argorder.expect \
594 args.expect \
595 arrayinit.expect \
596 blocks.expect \
597 branchstate.expect \
598 break.expect \
599 buffertest.expect \
600 cases.expect \
601 cast.expect \
602 charlit.expect \
603 clauses.expect \
604 commentchar.expect \
605 compdestroy.expect \
606 constannot.expect \
607 controldepth.expect \
608 csyntax.expect \
609 czechnames.expect \
610 czechoslovaknames.expect \
611 db1.expect \
612 db2.expect \
613 db3.expect \
614 deadparam.expect \
615 decl.expect \
616 enum.expect \
617 exports.expect \
618 external.expect \
619 fields.expect \
620 fileio.expect \
621 flags.expect \
622 for.expect \
623 forbody.expect \
624 format.expect \
625 freearray.expect \
626 funcpointer.expect \
627 glob.expect \
628 globalbufferannotation.expect \
629 globals.expect \
630 help.expect \
631 impabstract.expect \
632 init.expect \
633 inparam.expect \
634 internal.expect \
635 iter.expect \
636 keep.expect \
637 libs.expect \
638 linked.expect \
639 lintcomments.expect \
640 list.expect \
641 longconstants.expect \
642 macros.expect \
643 macrosef.expect \
644 maxset.expect \
645 merge.expect \
646 mergestate.expect \
647 metastate.expect \
648 modifies.expect \
649 modtest.expect \
650 moduncon.expect \
651 mongoincludes.expect \
652 moreBufferTests.expect \
653 moreBufferTests2.expect \
654 mut.lh.expect \
655 mystrncat.expect \
656 noeffect.expect \
657 null.expect \
658 nullterminatedtest.expect \
659 observer.expect \
660 oldstyle.expect \
661 outglob.expect \
662 outparam.expect \
663 postnotnull.expect \
664 preds.expect \
665 prefixes.expect \
666 printflike.expect \
667 rc.expect \
668 refcounts.expect \
669 release.expect \
670 repexpose.expect \
671 repexpose.lh.expect \
672 returned.expect \
673 sharing.expect \
674 simplebufferConstraintTests.expect \
675 sizeof.expect \
676 sizeoftest.expect \
677 slovaknames.expect \
678 specclauses.expect \
679 special.expect \
680 stack.expect \
681 staticarray.expect \
682 strchr.expect \
683 strings.expect \
684 structassign.expect \
685 tainted.expect \
686 tests2.2.expect \
687 tests2.2a.expect \
688 tests2.3.expect \
689 tests2.4.expect \
690 tests2.5.expect \
691 typequals.expect \
692 ud.expect \
693 ullint.expect \
694 ulstypes.expect \
695 union.expect \
696 unreachable.expect \
697 unsignedcompare.expect \
698 unused.expect \
699 void.expect \
700 ./db1/bool.h \
701 ./db1/dbase.h \
702 ./db1/employee.h \
703 ./db1/empset.h \
704 ./db1/erc.h \
705 ./db1/eref.h \
706 ./db1/ereftab.h \
707 ./bool.h \
708 ./decl2.h \
709 ./exports.h \
710 ./iter.h \
711 ./iter2.h \
712 ./minc1.h \
713 ./minc2.h \
714 ./minc3.h \
715 ./minc4.h \
716 ./minc5.h \
717 ./modifies.h \
718 ./mut.h \
719 ./db2/bool.h \
720 ./db2/dbase.h \
721 ./db2/employee.h \
722 ./db2/empset.h \
723 ./db2/erc.h \
724 ./db2/eref.h \
725 ./db2/ereftab.h \
726 ./pivo.h \
727 ./repexpose.h \
728 ./db3/bool.h \
729 ./db3/dbase.h \
730 ./db3/employee.h \
731 ./db3/empset.h \
732 ./db3/erc.h \
733 ./db3/eref.h \
734 ./db3/ereftab.h \
735 ./tq.h \
736 ./metastate/global.h \
737 ./suppressfile/test.h \
738 ./tests2.2/Makefile.hide \
739 ./tests2.2/mbool.h \
740 ./tests2.4/forward.h \
741 ./tests2.4/hash.h \
742 ./tests2.4/timecard.h \
743 ./tests2.5/baz.h \
744 ./tests2.5/bimbim.h \
745 ./tests2.5/immutable.h \
746 ./tests2.5/impabsmodule.h \
747 ./tests2.5/socket.h \
748 ./Makefile-test.os2 \
749 ./db1/Makefile \
750 ./db2/Makefile \
751 ./db3/Makefile \
752 ./conditions/Makefile \
753 ./fileio/Makefile \
754 ./for/Makefile \
755 ./globalbufferannotation/Makefile \
756 ./maxset/Makefile \
757 ./mergestate/Makefile \
758 ./metastate/Makefile \
759 ./moreBufferTests/Makefile \
760 ./simplebufferConstraintTests/Makefile \
761 ./strchr/Makefile \
762 ./tainted/Makefile \
763 ./temp/Makefile \
764 ./tests2.2/Makefile.hide \
765 ./tests2.2/Makefile \
766 ./tests2.2/Makefile-tests2.2.os2 \
767 ./tests2.2a/Makefile \
768 ./tests2.4/Makefile \
769 ./tests2.4/Makefile-tests2.4.os2 \
770 ./tests2.5/Makefile \
771 ./warnuse/Makefile \
772 ./Makefile.am \
773 ./Makefile.in \
774 ./moreBufferTests2/Makefile \
775 ./fileio/eof.mts ./fileio/file.mts ./fileio/filerw.mts ./mergestate/tainted.mts ./mergestate/taintednm.mts ./metastate/file.mts ./metastate/nullterminated.mts ./metastate/sockets.mts ./tainted/tainted-bad.mts ./tainted/tainted.mts ./fileio/file.xh ./fileio/filerw.xh ./mergestate/tainted.xh ./mergestate/taintednm.xh ./metastate/file.xh ./tainted/tainted.xh \
776 alias alttypes ansireserved \
777 db2.old-expect outglob outparam preds union.pp warnuse.old-expect \
778 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants
779
8fe44445 780subdir = test
781mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
782CONFIG_HEADER = $(top_builddir)/config.h
783CONFIG_CLEAN_FILES =
784DIST_SOURCES =
785DIST_COMMON = Makefile.am Makefile.in
786all: all-am
787
788.SUFFIXES:
789.SUFFIXES: .c .diff .expect
790$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
791 cd $(top_srcdir) && \
792 $(AUTOMAKE) --foreign test/Makefile
793Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
794 cd $(top_builddir) && \
795 CONFIG_HEADERS= CONFIG_LINKS= \
796 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
797uninstall-info-am:
798tags: TAGS
799TAGS:
800
801
802DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
803
804top_distdir = ..
805distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
806
807distdir: $(DISTFILES)
6c9a3167 808 $(mkinstalldirs) $(distdir)/./conditions $(distdir)/./db1 $(distdir)/./db2 $(distdir)/./db3 $(distdir)/./fileio $(distdir)/./for $(distdir)/./globalbufferannotation $(distdir)/./maxset $(distdir)/./mergestate $(distdir)/./metastate $(distdir)/./moreBufferTests $(distdir)/./moreBufferTests2 $(distdir)/./nullterminatedtest $(distdir)/./simplebufferConstraintTests $(distdir)/./sizeoftest $(distdir)/./strchr $(distdir)/./suppressfile $(distdir)/./tainted $(distdir)/./tclauses $(distdir)/./temp $(distdir)/./tests2.2 $(distdir)/./tests2.2a $(distdir)/./tests2.4 $(distdir)/./tests2.4/subdir $(distdir)/./tests2.5 $(distdir)/./warnuse
8fe44445 809 @for file in $(DISTFILES); do \
810 if test -f $$file; then d=.; else d=$(srcdir); fi; \
811 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
812 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
813 $(mkinstalldirs) "$(distdir)/$$dir"; \
814 fi; \
815 if test -d $$d/$$file; then \
816 cp -pR $$d/$$file $(distdir) \
817 || exit 1; \
818 else \
819 test -f $(distdir)/$$file \
820 || cp -p $$d/$$file $(distdir)/$$file \
821 || exit 1; \
822 fi; \
823 done
824check-am: all-am
825check: check-am
826all-am: Makefile
827
828installdirs:
829
830install: install-am
831install-exec: install-exec-am
832install-data: install-data-am
833uninstall: uninstall-am
834
835install-am: all-am
836 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
837
838installcheck: installcheck-am
839install-strip:
840 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
841 `test -z '$(STRIP)' || \
842 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
843mostlyclean-generic:
844
845clean-generic:
846
847distclean-generic:
848 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
849
850maintainer-clean-generic:
851 @echo "This command is intended for maintainers to use"
852 @echo "it deletes files that may require special tools to rebuild."
853clean: clean-am
854
855clean-am: clean-generic clean-local mostlyclean-am
856
857distclean: distclean-am
858
859distclean-am: clean-am distclean-generic
860
861dvi: dvi-am
862
863dvi-am:
864
865info: info-am
866
867info-am:
868
869install-data-am:
870
871install-exec-am:
872
873install-info: install-info-am
874
875install-man:
876
877installcheck-am:
878
879maintainer-clean: maintainer-clean-am
880
881maintainer-clean-am: distclean-am maintainer-clean-generic
882
883mostlyclean: mostlyclean-am
884
885mostlyclean-am: mostlyclean-generic
886
887uninstall-am: uninstall-info-am
888
889.PHONY: all all-am check check-am clean clean-generic clean-local \
890 distclean distclean-generic distdir dvi dvi-am info info-am \
891 install install-am install-data install-data-am install-exec \
892 install-exec-am install-info install-info-am install-man \
893 install-strip installcheck installcheck-am installdirs \
894 maintainer-clean maintainer-clean-generic mostlyclean \
895 mostlyclean-generic uninstall uninstall-am uninstall-info-am
896
897
6c9a3167 898unexport LARCH_PATH
899unexport LCLIMPORTDIR
900
8fe44445 901.PHONY: all check
902all check: fulltest
903
904.PHONY: version
905version:
906 -$(LCLINTP) -help version
907
908.PHONY: help
909help:
910 -@$(LCLINTP)
a469ccf0 911 -@LARCH_PATH=/dev/null; $(LCLINT) empty.lcl
8fe44445 912 -@$(LCLINTP) -help
913 -@$(LCLINTP) -asdf
914 -@$(LCLINTP) +boolint +boolint
915 -@$(LCLINTP) -help flags alpha
916 -@$(LCLINTP) -help flags all
917
918.PHONY: clean-local
919clean-local:
920 -rm -f *~ #*# *.o *.lcs a.out
921 -cd db1; $(MAKE) clean
922 -cd db2; $(MAKE) clean
923 -cd db3; $(MAKE) clean
924
925$(LCLINTTESTS): $(LCLINT)
926
927$(LCLINT):
928 cd $(top_builddir)/src; $(MAKE)
929
930.c.expect:
931 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
932
933.c.diff:
934 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
935
6c9a3167 936#drl temporally take this out.
937#.PHONY: expects
938#expects:
939# @echo "Saving old expects..."; \
940# cat *.expect >expects-`date +"%y-%m-%d-%H"`
941# @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
942# echo "Making $$TEST.expect..."; \
943# $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
944# cat $$TEST.expect; \
945# done
8fe44445 946
947.PHONY: quicktest
948quicktest:
949 @for TEST in $(QUICKTESTS); do \
950 echo "Checking $$TEST..."; \
951 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
952 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
953 echo "*** FAIL ***"; \
954 done
955
956.PHONY: fulltest
957fulltest:
958 @echo "Testing $(PACKAGE) $(VERSION)..."
959 @echo
960 @echo "Version Info:"
961 @$(LCLINTP) -help version
962 @$(LCLINTP) -help vars
963 @echo ""
964 @echo "Unit tests:"
965 @echo ""
966 @for TEST in $(UNITTESTS); do \
967 echo "Checking $$TEST..."; \
968 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
969 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
970 echo "*** FAIL ***"; \
971 done
a469ccf0 972 @echo ""
973 @echo "Integration tests:"
974 @echo ""
975 @for TEST in $(INTEGTESTS); do \
976 echo "Checking $$TEST..."; \
977 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
978 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
979 echo "*** FAIL ***"; \
980 done
8fe44445 981
982.PHONY: abstptr
983abstptr:
984 $(LCLINTR) abstptr -expect 9
985 $(LCLINTR) abstptr +voidabstract -expect 6
986
987.PHONY: abstract
988abstract:
989 $(LCLINTR) abst_t.lcl commentcmd.c -expect 15
990
991.PHONY: alias
992alias:
993 $(LCLINTR) +lh mut
994 $(LCLINTR) mut alias +globalias -expect 19
995 $(LCLINTR) mut alias2 +globalias -expect 17
996 $(LCLINTR) +lh alias3 -expect 14
997 $(LCLINTR) +lh alias4 +boolint
998 $(LCLINTR) alias4 -pred +retalias -expect 6
999 $(LCLINTR) +lh alias5 +memchecks -null -specundef -expect 5
1000
1001.PHONY: alttypes
1002alttypes:
1003 $(LCLINTR) alttypes.c -expect 2
1004
1005###
1006### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1007### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1008### variable (could be a macro?)
1009### Reports 3 additional errors for +checks; no longer suppresses name errors
1010### in the presense of other errors.
1011###
1012
1013.PHONY: ansireserved
1014ansireserved:
1015 $(LCLINTR) ansireserved.c +ansireserved -nolib -expect 9
1016 $(LCLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1017 $(LCLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1018 $(LCLINTR) ansireserved2.c +ansireserved -expect 1
1019
1020.PHONY: argorder
1021argorder:
1022 $(LCLINTR) argorder.c -expect 4
1023 $(LCLINTR) argorder2 -expect 5
1024 $(LCLINTR) argorder3.c -expect 8
1025 $(LCLINTR) argorder4 -expect 9
1026 $(LCLINTR) argorder4 -evalorder -expect 1
1027 $(LCLINTR) argorder5.c +evalorderuncon -expect 3
1028
1029.PHONY: args
1030args:
1031 $(LCLINTR) args -noeffect -expect 12
1032
1033.PHONY: blocks
1034blocks:
1035 $(LCLINTR) blocks.c -expect 4
1036 $(LCLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1037 $(LCLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1038 $(LCLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1039 $(LCLINTR) blocks.c +allempty -expect 6
1040 $(LCLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1041
1042.PHONY: break
1043break:
1044 $(LCLINTR) break.c -expect 4
1045 $(LCLINTR) break.c +deepbreak -expect 6
1046 $(LCLINTR) break.c +deepbreak -looploopbreak -expect 5
1047
1048.PHONY: cases
1049cases:
1050 $(LCLINTR) cases.c -expect 5
1051 $(LCLINTR) cases2.c -expect 2
1052 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1053 $(LCLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1054
1055.PHONY: cast
1056cast:
1057 $(LCLINTR) cast -accessmodule -expect 20
1058 $(LCLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1059
1060### Two addition errors detected with 2.5 with -numliteral.
1061
1062.PHONY: charlit
1063charlit:
1064 $(LCLINTR) +hints charlit.c -expect 4
1065 $(LCLINTR) +hints -numliteral charlit.c -expect 6
1066 $(LCLINTR) +hints charlit.c +charintliteral +ignoresigns
1067
1068.PHONY: clauses
1069clauses:
1070 $(LCLINTR) clauses.c +memchecks -expect 4
1071 $(LCLINTR) clauses2.c +memchecks
1072 $(LCLINTR) clauses3.c +memchecks -expect 2
1073 $(LCLINTR) clauses3.c +memchecks +unixlib -expect 3
1074
1075.PHONY: commentchar
1076commentchar:
1077 $(LCLINTR) commentchar.c -expect 4
1078 $(LCLINTR) -commentchar '#' commentchar.c -expect 4
1079
1080.PHONY: controldepth
1081controldepth:
1082 $(LCLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1083 $(LCLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1084
1085.PHONY: compdestroy
1086compdestroy:
1087 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1088 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1089 $(LCLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1090 $(LCLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1091
1092.PHONY: constannot
1093constannot:
1094 ${LCLINTRN} constannot.c +arraybounds -exportlocal -expect 2
1095
1096.PHONY: csyntax
1097csyntax:
1098 $(LCLINTR) +quiet -incondefs csyntax.c -expect 1
1099 $(LCLINTR) +quiet csyntax2.c -expect 2
1100 $(LCLINTR) +quiet csyntax3.c -expect 1
1101 $(LCLINTR) +quiet -incondefs csyntax4.c
1102 $(LCLINTR) +quiet csyntax5.c
1103 $(LCLINTR) +quiet csyntax6.c
1104 $(LCLINTR) +quiet csyntax7.c
1105 $(LCLINTR) +quiet csyntax8.c
1106 $(LCLINTR) +quiet csyntax9.c
1107 $(LCLINTR) +quiet csyntax10.c
1108 $(LCLINTR) +quiet csyntax11.c
1109 $(LCLINTR) +quiet csyntax12.c
1110 $(LCLINTR) +quiet csyntax13.c -expect 1
1111 $(LCLINTR) +quiet csyntax14.c
1112 $(LCLINTR) +quiet csyntax15.c
1113 $(LCLINTR) +quiet csyntax16.c -expect 2
1114 $(LCLINTR) +quiet csyntax17.c -expect 3
1115
1116.PHONY: czechnames
1117czechnames:
1118 $(LCLINTR) czechnames.c
1119 $(LCLINTR) +hints +czech czechnames.c -expect 2
1120 $(LCLINTR) +hints +czech -czechvars czechnames.c -expect 1
1121 $(LCLINTR) +hints +czech -accessczech czechnames.c -expect 6
1122
1123.PHONY: czechoslovaknames
1124czechoslovaknames:
1125 $(LCLINTR) +hints +czechoslovak czechnames.c -expect 1
1126 $(LCLINTR) +hints +czechoslovak slovaknames.c -expect 1
1127 $(LCLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1128
1129###
1130### deadparam added 2001-05-27
1131###
1132
1133.PHONY: deadparam
1134deadparam:
1135 ${LCLINTR} deadparam.c -expect 3
1136
1137#
1138# Was expect 3 before 2.4. Earlier versions did not handle implicit
1139# function pointers correctly.
1140#
1141
1142.PHONY: decl
1143decl:
1144 $(LCLINTR) decl.c -expect 2
1145 $(LCLINTRN) decl.c +strict -exportlocal -expect 5
1146 $(LCLINTR) decl2 -expect 4
1147
1148.PHONY: enum
1149enum:
1150 $(LCLINTR) enum -expect 16
1151 $(LCLINTR) enum -misscase -expect 14
1152
1153.PHONY: exports
1154exports:
1155 $(LCLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1156 $(LCLINTR) exports.c +exportany -expect 3
1157 $(LCLINTR) exports.c
1158
1159.PHONY: external
1160external:
1161 $(LCLINTR) external.c +partial
1162 $(LCLINTR) external.c +partial +distinctexternalnames -expect 2
1163 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1164 $(LCLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1165 $(LCLINTR) external.c +partial -externalnamelength 3 -expect 4
1166
1167.PHONY: fields
1168fields:
1169 $(LCLINTR) fields.c +memchecks -expect 6
1170 $(LCLINTR) fields2.c +memchecks -expect 5
1171 $(LCLINTR) fields3.c +memchecks
1172
1173.PHONY: flags
1174flags:
1175 $(LCLINTR) flags.c -expect 8
1176 $(LCLINTR) +nocomments flags.c -expect 2
1177
1178### Added 2001-06-02
1179
1180.PHONY: forbody
1181forbody:
1182 ${LCLINTR} forbody.c -expect 2
1183
1184### Added 2001-06-03
1185.PHONY: format
1186format:
1187 ${LCLINTR} format.c -expect 3
1188 ${LCLINTR} format.c -formatconst
1189
1190# two new errors (invalid lhs)
1191
1192.PHONY: funcpointer
1193funcpointer:
1194 $(LCLINTR) +memchecks +noparams funcpointer.c -expect 18
1195
1196.PHONY: glob
1197glob:
1198 $(LCLINTR) glob -expect 4
1199 $(LCLINTR) glob -globuse -expect 3
1200 $(LCLINTR) glob +globunspec -expect 6
1201
1202.PHONY: globals
1203globals:
1204 $(LCLINTR) -modifies globals.c -expect 5
1205 $(LCLINTR) -modifies globals.c +allglobals -expect 6
1206 $(LCLINTR) -modifies globals.c +impcheckedglobals -expect 6
1207 $(LCLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1208 $(LCLINTR) -modifies globals.c +globunspec -expect 6
1209 $(LCLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1210
1211# Was -accessfile
1212.PHONY: impabstract
1213impabstract:
1214 $(LCLINTR) -accessmodule impabstract.c
1215 $(LCLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1216 $(LCLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1217
1218### evans 2001-10-14: Expected errors updated
1219.PHONY: init
1220init:
1221 $(LCLINTR) init.c -expect 14
1222 $(LCLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1223
1224.PHONY: inparam
1225inparam:
1226 $(LCLINTR) inparam.c -expect 2
1227 $(LCLINTR) +impouts inparam.c -expect 1
1228
1229.PHONY: internal
1230internal:
1231 $(LCLINTR) internal.c -expect 1
1232 $(LCLINTR) internal.c +distinctinternalnames -expect 2
1233 $(LCLINTR) internal.c -internalnamelen 28 -expect 3
1234 $(LCLINTR) internal.c +internalnamecaseinsensitive -expect 3
1235 $(LCLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1236
1237###
1238### iter
1239### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1240###
1241
1242.PHONY: iter
1243iter:
1244 $(LCLINTR) iter -expect 14 -lclexpect 1
1245 $(LCLINTR) iter2.c -expect 12
1246
1247.PHONY: keep
1248keep:
1249 $(LCLINTR) keep.c +memchecks -expect 6
1250
1251### libs
1252### 2001-05-22: 2 new errors found (fixed spec of signal)
1253### 2001-05-30: 3 new errors found (formatconst)
1254
1255.PHONY: libs
1256libs:
1257 $(LCLINTR) libs.c +longunsignedunsignedintegral -expect 18
1258 $(LCLINTR) libs.c -expect 22
1259 $(LCLINTR) libs.c +globunspec +modunspec -expect 25
1260 $(LCLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1261
1262.PHONY: lintcomments
1263lintcomments:
1264 $(LCLINTR) lintcomments.c -expect 4
1265 $(LCLINTR) lintcomments.c -warnlintcomments -expect 1
1266 $(LCLINTR) lintcomments.c -lintcomments -expect 4
1267
1268.PHONY: list
1269list:
1270 $(LCLINTR) list.c -expect 3
1271
1272.PHONY: macros
1273macros:
1274 $(LCLINTR) macros -expect 17
1275 $(LCLINTR) macros.c +allmacros -expect 34
1276 $(LCLINTR) macros.c +fcnmacros -expect 31
1277
1278.PHONY: macrosef
1279macrosef:
1280 $(LCLINTR) macrosef -expect 4
1281 $(LCLINTR) macrosef.c +allmacros -expect 3
1282 $(LCLINTR) macrosef.c +allmacros +sefuncon -expect 4
1283
1284.PHONY: merge
1285merge:
1286 $(LCLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1287
1288.PHONY: modifies
1289modifies:
1290 $(LCLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1291
1292.PHONY: modtest
1293modtest:
1294 $(LCLINTR) modtest -expect 10
1295 $(LCLINTR) modtest +modunspec -expect 13
1296 $(LCLINTR) modtest +mustmod -expect 14
1297
1298.PHONY: moduncon
1299moduncon:
1300 $(LCLINTR) moduncon.c +moduncon -memchecks -expect 4
1301 $(LCLINTRN) moduncon.c +strict -exportlocal -expect 22
1302
1303.PHONY: mongoincludes
1304mongoincludes:
1305 $(LCLINTR) mongoincludes.c -includenest 1 -expect 19
1306 $(LCLINTR) mongoincludes.c -includenest 2 -expect 10
1307 $(LCLINTR) mongoincludes.c -includenest 3 -expect 4
1308 $(LCLINTR) mongoincludes.c -includenest 4 -expect 1
1309 $(LCLINTR) mongoincludes.c -includenest 5 -expect 0
1310
1311.PHONY: mystrncat
1312mystrncat:
1313 $(LCLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
1314
1315.PHONY: noeffect
1316noeffect:
1317 ${LCLINT} -nof noeffect.c +allmacros +checks -expect 3
1318
1319.PHONY: null
1320null:
1321 $(LCLINTR) null1.c -expect 14
1322 $(LCLINTR) null1.c -null -expect 4
1323 $(LCLINTR) null2.c -expect 10
1324 $(LCLINTR) null3.c -expect 15
1325 $(LCLINTR) null3.c -warnunixlib +unixlib -expect 16
1326 $(LCLINTR) null4.c -expect 1
1327 $(LCLINTR) null5.c -expect 4
1328 $(LCLINTR) null6 -expect 4
1329 $(LCLINTR) +quiet null6.lcl -dump null6
1330 $(LCLINTR) null6.c -load null6 -expect 4
1331
1332### Added for 3.0 (bugs reported by Kevin Broady)
1333
1334.PHONY: nullret
1335nullret:
1336 $(LCLINTR) nullret.c -expect 2
1337 $(LCLINTR) -nullret nullret.c -expect 1
1338
1339.PHONY: nullassign
1340nullassign:
1341 $(LCLINTR) nullassign.c -expect 2
1342 $(LCLINTR) -nullassign nullassign.c -expect 1
1343
1344#
1345# Before 2.4, expected one more because error was reported both as
1346# dependent and observer.
1347#
1348
1349.PHONY: observer
1350observer:
1351 $(LCLINTRN) observer +checks -exportlocal -exportheader -expect 9
1352 $(LCLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1353 $(LCLINTR) observer.c -expect 7
1354
1355.PHONY: oldstyle
1356oldstyle:
1357 $(LCLINTR) oldstyle -expect 3
1358
1359.PHONY: outglob
1360outglob:
1361 $(LCLINTR) outglob -expect 10
1362
1363.PHONY: outparam
1364outparam:
1365 $(LCLINTR) outparam -expect 12
1366
1367### evans 2001-08-26: postnotnull new
1368
1369.PHONY: postnotnull
1370postnotnull:
1371 ${LCLINTR} postnotnull.c -expect 1
1372#
1373# Four new +fcnuse errors for -strict (evans 2001-07-22)
1374#
1375
1376.PHONY: preds
1377preds:
1378 $(LCLINTR) +hints preds.c -expect 6
1379 $(LCLINTRN) +hints preds.c -weak -expect 1
1380 $(LCLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1381
1382.PHONY: prefixes
1383prefixes:
1384 $(LCLINTR) prefixes.c +partial
1385 $(LCLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1386 $(LCLINTR) prefixes.c -typeprefix "T" -expect 2
1387 $(LCLINTR) prefixes.c -typeprefix "^" -expect 1
1388 $(LCLINTR) prefixes.c -typeprefix "^*" -expect 2
1389 $(LCLINTR) prefixes.c -typeprefix "^%*" -expect 2
1390 $(LCLINTR) prefixes.c -typeprefix "^~*" -expect 2
1391 $(LCLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1392 $(LCLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1393 $(LCLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1394 $(LCLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1395 $(LCLINTR) prefixes.c -globalprefix "G" -expect 1
1396 $(LCLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1397 $(LCLINTR) prefixes.c -externalprefix "G" -expect 5
1398 $(LCLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1399 $(LCLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1400
1401.PHONY: printflike
1402printflike:
1403 $(LCLINTR) printflike.c -expect 6
1404 $(LCLINTR) printflike.c -warnlintcomments -expect 5
1405
1406.PHONY: rc
1407rc:
1408 $(LCLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1409 $(LCLINTR) -DMYSTERY=12 rc.c -expect 1
1410 $(LCLINTR) -f rc1.lclintrc rc.c -expect 1
1411 $(LCLINTR) -UMYSTERY -f rc1.lclintrc rc.c -expect 1
1412 $(LCLINTR) -f rc3.lclintrc rc.c -expect 1
1413
1414.PHONY: refcounts
1415refcounts:
1416 $(LCLINTR) refcounts.c -expect 7
1417
1418.PHONY: release
1419release:
1420 $(LCLINTR) release.c +memchecks -expect 1
1421
1422.PHONY: repexpose
1423repexpose:
1424 $(LCLINTR) +lh repexpose +memchecks -expect 12
1425 $(LCLINTR) repexpose +memchecks +retalias -expect 15
1426 $(LCLINTRN) repexpose +checks -exportlocal -expect 27
1427
1428### returned added 2001-05-27
1429### (Bug discovered checking lclint sources.)
1430
1431.PHONY: returned
1432returned:
1433 ${LCLINTR} returned.c -expect 1
1434
1435.PHONY: sharing
1436sharing:
1437 $(LCLINTR) sharing1.c -expect 21
1438 $(LCLINTR) sharing3.c -expect 3
1439 $(LCLINTR) sharing4.c -expect 13
1440 $(LCLINTR) sharing4.c -paramimptemp -expect 12
1441 $(LCLINTR) sharing5.c -expect 6
1442
1443.PHONY: slovaknames
1444slovaknames:
1445 $(LCLINTR) +hints slovaknames.c -expect 1
1446 $(LCLINTR) +hints slovaknames.c +accessslovak
1447 $(LCLINTR) +hints +slovak slovaknames.c -expect 3
1448 $(LCLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1449 $(LCLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1450
1451.PHONY: specclauses
1452specclauses:
1453 $(LCLINTR) specclauses.c -expect 6
1454 $(LCLINTR) specclauses2.c -expect 8
1455 $(LCLINTR) specclauses3.c -expect 6
1456 $(LCLINTR) specclauses4.c -expect 3
1457 $(LCLINTR) specclauses5.c -expect 3
1458
1459.PHONY: special
1460special:
1461 $(LCLINTR) special -expect 20
1462 $(LCLINTR) special -relaxquals -expect 22
1463
1464.PHONY: stack
1465stack:
1466 $(LCLINTR) stack.c -expect 5
1467 $(LCLINTR) stack.c -stackref
1468
1469.PHONY: staticarray
1470staticarray:
1471 $(LCLINTR) staticarray.c -expect 3
1472
1473.PHONY: strings
1474strings:
1475 $(LCLINTR) strings.c -expect 3
1476 $(LCLINTR) -readonlystrings -expect 1 strings.c
1477 $(LCLINTR) +modobserverstrict -maintype -expect 4 strings.c
1478
1479.PHONY: structassign
1480structassign:
1481 $(LCLINTR) structassign.c -expect 4
1482
1483.PHONY: typequals
1484typequals:
1485 $(LCLINTR) typequals.c tq.lcl -expect 5
1486 $(LCLINTR) typequals.c -expect 2
1487
1488.PHONY: ud
1489ud:
1490 $(LCLINTR) ud.c -expect 9
1491 $(LCLINTR) ud2 -specundef -expect 3
1492
1493.PHONY: ulstypes
1494ulstypes:
1495 $(LCLINTR) ulstypes.c -expect 8
1496 $(LCLINTR) ulstypes.c +ignorequals
1497 $(LCLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1498# 3 more detected with version 2.5 (change in -numliteral setting)
1499
1500.PHONY: union
1501union:
1502 $(LCLINTR) +memchecks union.c -expect 8
1503
1504.PHONY: unreachable
1505unreachable:
1506 $(LCLINTR) unreachable.c -expect 5
1507 $(LCLINTR) -unreachable unreachable.c -expect 2
1508 $(LCLINTR) switch.c -expect 4
1509
1510.PHONY: unsignedcompare
1511unsignedcompare:
1512 ${LCLINTR} +posixlib unsignedcompare.c -expect 4
1513
1514###
1515### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1516###
1517
1518.PHONY: unused
1519unused:
1520 $(LCLINTRN) unused.c +checks -exportlocal -expect 5
1521 $(LCLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1522
1523###
1524### 2001-06-10: Provided by Jim Zalenka
1525###
1526
1527.PHONY: ullint
1528ullint:
1529 ${LCLINTRN} ullint.c -expect 5
1530 ${LCLINTRN} ullint.c +charint +charintliteral -expect 2
1531
1532.PHONY: void
1533void:
1534 ${LCLINTRN} void.c -expect 2
1535
1536###
1537### New since 2.5q:
1538###
1539
1540.PHONY: linked
1541linked:
1542 ${LCLINTR} linked.c -expect 4
1543 ${LCLINTR} linked2.c -expect 3
1544 ${LCLINTR} linked3.c -expect 5
1545 ${LCLINTR} linked4.c -expect 6
1546 ${LCLINTR} linked5.c -expect 4
1547 ${LCLINTR} linked6.c -expect 4
1548
1549.PHONY: freearray
1550freearray:
1551 ${LCLINTR} freearray.c -expect 1
1552
a469ccf0 1553.PHONY: sizeof
1554sizeof:
1555 $(LCLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
1556
1557.PHONY: buffertest
1558buffertest:
1559 $(LCLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
8fe44445 1560
1561.PHONY: $(SUBDIRTESTS)
1562$(SUBDIRTESTS):
a469ccf0 1563 cd $@; $(MAKE) LCLINT="$(LCLINTRNNEST)"
8fe44445 1564# Tell versions [3.59,3.63) of GNU make to not export all variables.
1565# Otherwise a system limit (for SysV at least) may be exceeded.
1566.NOEXPORT:
This page took 0.821199 seconds and 5 git commands to generate.