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