1 # Makefile.in generated automatically by automake 1.5 from Makefile.am.
3 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4 # Free Software Foundation, Inc.
5 # This Makefile.in is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 top_srcdir = @top_srcdir@
22 exec_prefix = @exec_prefix@
26 libexecdir = @libexecdir@
28 sysconfdir = @sysconfdir@
29 sharedstatedir = @sharedstatedir@
30 localstatedir = @localstatedir@
34 includedir = @includedir@
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
44 AUTOHEADER = @AUTOHEADER@
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 INSTALL_SCRIPT = @INSTALL_SCRIPT@
50 INSTALL_HEADER = $(INSTALL_DATA)
51 transform = @program_transform_name@
58 host_alias = @host_alias@
71 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
80 am__include = @am__include@
81 am__quote = @am__quote@
82 install_sh = @install_sh@
84 AUTOMAKE_OPTIONS = 1.5 foreign
90 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
92 ### This is horrible! Can't we make top_builddir absolute?
93 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
95 SPLINTPNEST = @$(SPLINTNEST) -nof
96 SPLINTP = @$(SPLINT) -nof
98 # Make sure .splintrc files are not used so test results do not
99 # depend on local settings.
100 SPLINTRN = $(SPLINTP) -hints -booltype "bool"
101 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
103 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
104 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
108 ### rcfiles not included becuase file names will not match exactly
112 abstptr abstract alias alttypes ansireserved argorder \
113 args blocks break cases cast charlit clauses commentchar compdestroy \
114 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
115 decl enum exports external fields flags forbody format freearray \
116 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
117 linked lintcomments list loopexec \
118 macros macrosef merge mergenull modifies modtest moduncon \
119 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
120 postnotnull preds prefixes printflike rc refcounts release repexpose \
121 returned sharing shifts slovaknames \
123 special stack staticarray strings \
124 structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
125 unused ullint utypes void widestrings
127 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
130 ### warnuse doesn't work yet!
131 SUBDIRTESTS = metastate mergestate tainted fileio \
132 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
133 maxset strchr for manual\
134 tests2.2 tests2.4 tests2.5 db1 db2 db3
136 SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
140 CLEANOUTPUT = $(GREP) -v "Splint 3." | $(GREP) -v "$(SPLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:" | $(GREP) -v "config.status: creating test/Makefile" | $(GREP) -v "cd .. && " | $(GREP) -v "CONFIG_HEADERS=" | $(GREP) -v "CONFIG_FILES="
142 #drl 11/29/2001 This is a very ugly hack to get make dist to work
143 EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
144 ./abstptr.lcl ./abstptr.lcs \
145 ./alias.lcl ./alias.lcs \
146 ./alias2.lcl ./alias2.lcs \
217 ./repexpose.lh.expect \
234 ./globalbufferannotation/.splintrc \
237 ./tests2.2/bool.lcl \
238 ./tests2.2/bool.lcs \
239 ./tests2.2/libraries.lcd \
240 ./tests2.2/obsolete.lcd \
241 ./tests2.2/oldversion.lcd \
242 ./tests2.4/subdir/main.lcl \
243 ./tests2.4/subdir/main.lcs \
244 ./tests2.5/newlint.lcd \
245 ./warnuse/warnuse.lcd \
305 ./czechoslovaknames.c \
421 ./unsignedcompare.c \
424 ./conditions/miroslaw.c \
425 ./conditions/releases.c \
427 ./fileio/filebranch.c \
430 ./globalbufferannotation/globalvariable.c \
431 ./maxset/maxsetannotations.c \
432 ./maxset/maxsetnoannotations.c \
433 ./mergestate/taintednm.c \
435 ./metastate/file1.c \
436 ./metastate/file2.c \
437 ./metastate/file3.c \
438 ./metastate/file4.c \
439 ./metastate/file5.c \
440 ./metastate/file6.c \
441 ./metastate/file7.c \
442 ./metastate/filebad.c \
443 ./metastate/global.c \
444 ./metastate/nullbranch.c \
445 ./metastate/nullbranch2.c \
446 ./metastate/nullret.c \
448 ./metastate/sockets.c \
449 ./metastate/sockets2.c \
450 ./metastate/struct.c \
452 ./metastate/voidptr.c \
453 ./moreBufferTests/initialization.c \
454 ./moreBufferTests/simplifyTest.c \
455 ./moreBufferTests/strncatNotReallyGood.c \
456 ./moreBufferTests/strncatReallyGood.c \
457 ./moreBufferTests/strrchr.c \
458 ./moreBufferTests/unrecogCall.c \
459 ./nullterminatedtest/buggy1.c \
460 ./nullterminatedtest/buggy_support1.c \
461 ./nullterminatedtest/buggy_support_fmakeword.c \
462 ./nullterminatedtest/test1.c \
463 ./nullterminatedtest/test3.c \
464 ./simplebufferConstraintTests/m.c \
465 ./simplebufferConstraintTests/sizeof.c \
466 ./simplebufferConstraintTests/test3.c \
467 ./simplebufferConstraintTests/test7.c \
468 ./sizeoftest/sizeof.c \
470 ./suppressfile/test.c \
471 ./tainted/sprintf.c \
473 ./tainted/tainted.c \
474 ./tainted/tainted2.c \
475 ./tainted/tainted3.c \
476 ./tainted/tainted4.c \
477 ./tainted/tainted5.c \
478 ./tainted/taintedimplicit.c \
479 ./tainted/taintedmerge.c \
480 ./tainted/taintedx.c \
482 ./tclauses/globals.c \
484 ./tclauses/modifies.c \
485 ./tclauses/struct.c \
487 ./tests2.2/arbints.c \
488 ./tests2.2/arrayfcn.c \
489 ./tests2.2/booldef.c \
490 ./tests2.2/boolenum.c \
491 ./tests2.2/boolops.c \
493 ./tests2.2/bstring.c \
495 ./tests2.2/enumbool.c \
496 ./tests2.2/extension.c \
497 ./tests2.2/libraries.c \
498 ./tests2.2/modarray.c \
499 ./tests2.2/nestext.c \
500 ./tests2.2/offsetof.c \
502 ./tests2.2/realloc.c \
504 ./tests2.2/sizeofarray.c \
505 ./tests2.2/struct.c \
506 ./tests2.2a/addassign.c \
507 ./tests2.2a/arrayparam.c \
508 ./tests2.2a/bitops.c \
509 ./tests2.2a/boolcomp.c \
510 ./tests2.2a/boolenum.c \
514 ./tests2.2a/floatdouble.c \
515 ./tests2.2a/florian.c \
517 ./tests2.2a/isalpha.c \
518 ./tests2.2a/notreached.c \
519 ./tests2.2a/obviousloop.c \
520 ./tests2.2a/popik.c \
521 ./tests2.2a/sizeof.c \
522 ./tests2.2a/toralf.c \
523 ./tests2.4/subdir/main.c \
524 ./tests2.4/alignof.c \
526 ./tests2.4/bitfields.c \
531 ./tests2.4/cpptest.c \
532 ./tests2.4/driverstub.c \
534 ./tests2.4/emptycase.c \
535 ./tests2.4/enumtest.c \
538 ./tests2.4/flagequal.c \
539 ./tests2.4/forward.c \
541 ./tests2.4/hexconstants.c \
542 ./tests2.4/innercomment.c \
543 ./tests2.4/komazi.c \
544 ./tests2.4/longlong.c \
546 ./tests2.4/nothing.c \
547 ./tests2.4/offsetof.c \
550 ./tests2.4/syncomment.c \
551 ./tests2.4/syslog.c \
555 ./tests2.4/timecard.c \
556 ./tests2.4/toothman.c \
557 ./tests2.4/ulrich.c \
558 ./tests2.5/badcomment.c \
559 ./tests2.5/boolbad.c \
561 ./tests2.5/booltest.c \
562 ./tests2.5/dummyfile.c \
564 ./tests2.5/immutable.c \
565 ./tests2.5/impabsmodule.c \
566 ./tests2.5/literals.c \
569 ./tests2.5/testalt.c \
570 ./tests2.5/testimmutable.c \
571 ./tests2.5/uconstants.c \
573 ./warnuse/warnflags.c \
574 ./warnuse/warngets.c \
575 ./warnuse/warnuse.c \
576 ./moreBufferTests2/unknownsize.c \
577 ./moreBufferTests2/arrayConstExpr.c \
582 ansireserved.expect \
597 controldepth.expect \
600 czechoslovaknames.expect \
618 globalbufferannotation.expect \
629 lintcomments.expect \
631 longconstants.expect \
641 mongoincludes.expect \
642 moreBufferTests.expect \
643 moreBufferTests2.expect \
648 nullterminatedtest.expect \
661 repexpose.lh.expect \
664 simplebufferConstraintTests.expect \
674 structassign.expect \
687 unsignedcompare.expect \
726 ./metastate/global.h \
727 ./suppressfile/test.h \
729 ./tests2.4/forward.h \
731 ./tests2.4/timecard.h \
733 ./tests2.5/bimbim.h \
734 ./tests2.5/immutable.h \
735 ./tests2.5/impabsmodule.h \
736 ./tests2.5/socket.h \
737 ./Makefile-test.os2 \
741 ./conditions/Makefile \
744 ./globalbufferannotation/Makefile \
746 ./mergestate/Makefile \
747 ./metastate/Makefile \
748 ./moreBufferTests/Makefile \
749 ./simplebufferConstraintTests/Makefile \
753 ./tests2.2/Makefile \
754 ./tests2.2/Makefile-tests2.2.os2 \
755 ./tests2.4/Makefile \
756 ./tests2.4/Makefile-tests2.4.os2 \
757 ./tests2.5/Makefile \
761 ./moreBufferTests2/Makefile \
762 ./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 \
763 db2.old-expect union.pp warnuse.old-expect \
764 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect \
765 unioninit.expect unioninit.c utypes.c \
766 utypes.expect widestrings.expect widestrings.c \
767 functionmacro.expect functionmacro.c info.c info.expect \
768 loopexec.c mergenull.c shifts.c \
769 manual.expect ./manual/Makefile \
770 ./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
773 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
774 CONFIG_HEADER = $(top_builddir)/config.h
777 DIST_COMMON = Makefile.am Makefile.in
781 .SUFFIXES: .c .diff .expect
782 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
783 cd $(top_srcdir) && \
784 $(AUTOMAKE) --foreign test/Makefile
785 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
786 cd $(top_builddir) && \
787 CONFIG_HEADERS= CONFIG_LINKS= \
788 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
794 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
797 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
799 distdir: $(DISTFILES)
800 $(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
801 @for file in $(DISTFILES); do \
802 if test -f $$file; then d=.; else d=$(srcdir); fi; \
803 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
804 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
805 $(mkinstalldirs) "$(distdir)/$$dir"; \
807 if test -d $$d/$$file; then \
808 cp -pR $$d/$$file $(distdir) \
811 test -f $(distdir)/$$file \
812 || cp -p $$d/$$file $(distdir)/$$file \
823 install-exec: install-exec-am
824 install-data: install-data-am
825 uninstall: uninstall-am
828 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
830 installcheck: installcheck-am
832 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
833 `test -z '$(STRIP)' || \
834 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
840 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
842 maintainer-clean-generic:
843 @echo "This command is intended for maintainers to use"
844 @echo "it deletes files that may require special tools to rebuild."
847 clean-am: clean-generic clean-local mostlyclean-am
849 distclean: distclean-am
851 distclean-am: clean-am distclean-generic
865 install-info: install-info-am
871 maintainer-clean: maintainer-clean-am
873 maintainer-clean-am: distclean-am maintainer-clean-generic
875 mostlyclean: mostlyclean-am
877 mostlyclean-am: mostlyclean-generic
879 uninstall-am: uninstall-info-am
881 .PHONY: all all-am check check-am clean clean-generic clean-local \
882 distclean distclean-generic distdir dvi dvi-am info info-am \
883 install install-am install-data install-data-am install-exec \
884 install-exec-am install-info install-info-am install-man \
885 install-strip installcheck installcheck-am installdirs \
886 maintainer-clean maintainer-clean-generic mostlyclean \
887 mostlyclean-generic uninstall uninstall-am uninstall-info-am
891 unexport LCLIMPORTDIR
898 -$(SPLINTP) -help version
903 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
906 -@$(SPLINTP) +boolint +boolint
907 -@$(SPLINTP) -help flags alpha
908 -@$(SPLINTP) -help flags all
912 -rm -f *~ #*# *.o *.lcs a.out
913 -cd db1; $(MAKE) clean
914 -cd db2; $(MAKE) clean
915 -cd db3; $(MAKE) clean
917 $(SPLINTTESTS): $(SPLINT)
920 cd $(top_builddir)/src; $(MAKE)
923 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
926 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
928 #drl temporally take this out.
931 # @echo "Saving old expects..."; \
932 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
933 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
934 # echo "Making $$TEST.expect..."; \
935 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
936 # cat $$TEST.expect; \
941 @for TEST in $(QUICKTESTS); do \
942 echo "Checking $$TEST..."; \
943 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
944 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
945 echo "*** FAIL ***"; \
950 @echo "Testing $(PACKAGE) $(VERSION)..."
952 @echo "Version Info:"
953 @$(SPLINTP) -help version
954 @$(SPLINTP) -help vars
958 @for TEST in $(SPLINTTESTS); do \
959 echo "Checking $$TEST..."; \
960 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
961 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
962 echo "*** FAIL ***"; \
965 ### Rules for tests start here
969 -$(SPLINTR) abstptr -expect 9
970 -$(SPLINTR) abstptr +voidabstract -expect 6
974 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
979 -$(SPLINTR) mut alias +globalias -expect 19
980 -$(SPLINTR) mut alias2 +globalias -expect 17
981 -$(SPLINTR) +lh alias3 -expect 14
982 -$(SPLINTR) +lh alias4 +boolint
983 -$(SPLINTR) alias4 -pred +retalias -expect 6
984 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
988 -$(SPLINTR) alttypes.c -expect 2
991 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
992 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
993 ### variable (could be a macro?)
994 ### Reports 3 additional errors for +checks; no longer suppresses name errors
995 ### in the presense of other errors.
1000 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1001 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1002 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1003 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
1007 -$(SPLINTR) argorder.c -expect 4
1008 -$(SPLINTR) argorder2 -expect 5
1009 -$(SPLINTR) argorder3.c -expect 8
1010 -$(SPLINTR) argorder4 -expect 9
1011 -$(SPLINTR) argorder4 -evalorder -expect 1
1012 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
1016 -$(SPLINTR) args -noeffect -expect 12
1020 -$(SPLINTR) blocks.c -expect 4
1021 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1022 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1023 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1024 -$(SPLINTR) blocks.c +allempty -expect 6
1025 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1029 -$(SPLINTR) break.c -expect 4
1030 -$(SPLINTR) break.c +deepbreak -expect 6
1031 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1035 -$(SPLINTR) cases.c -expect 5
1036 -$(SPLINTR) cases2.c -expect 2
1037 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1038 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1042 -$(SPLINTR) cast -accessmodule -expect 20
1043 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1045 ### Two addition errors detected with 2.5 with -numliteral.
1049 -$(SPLINTR) +hints charlit.c -expect 4
1050 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
1051 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1055 -$(SPLINTR) clauses.c +memchecks -expect 4
1056 -$(SPLINTR) clauses2.c +memchecks
1057 -$(SPLINTR) clauses3.c +memchecks -expect 2
1058 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1062 -$(SPLINTR) commentchar.c -expect 4
1063 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
1065 .PHONY: controldepth
1067 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1068 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1072 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1073 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1074 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1075 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1079 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
1083 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1084 -$(SPLINTR) +quiet csyntax2.c -expect 2
1085 -$(SPLINTR) +quiet csyntax3.c -expect 1
1086 -$(SPLINTR) +quiet -incondefs csyntax4.c
1087 -$(SPLINTR) +quiet csyntax5.c
1088 -$(SPLINTR) +quiet csyntax6.c
1089 -$(SPLINTR) +quiet csyntax7.c
1090 -$(SPLINTR) +quiet csyntax8.c
1091 -$(SPLINTR) +quiet csyntax9.c
1092 -$(SPLINTR) +quiet csyntax10.c
1093 -$(SPLINTR) +quiet csyntax11.c
1094 -$(SPLINTR) +quiet csyntax12.c
1095 -$(SPLINTR) +quiet csyntax13.c -expect 1
1096 -$(SPLINTR) +quiet csyntax14.c
1097 -$(SPLINTR) +quiet csyntax15.c
1098 -$(SPLINTR) +quiet csyntax16.c -expect 2
1099 -$(SPLINTR) +quiet csyntax17.c -expect 3
1103 -$(SPLINTR) czechnames.c
1104 -$(SPLINTR) +hints +czech czechnames.c -expect 2
1105 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1106 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1108 .PHONY: czechoslovaknames
1110 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1111 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1112 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1115 ### deadparam added 2001-05-27
1120 ${SPLINTR} deadparam.c -expect 3
1123 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1124 # function pointers correctly.
1129 -$(SPLINTR) decl.c -expect 2
1130 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
1131 -$(SPLINTR) decl2 -expect 4
1135 -$(SPLINTR) enum -expect 16
1136 -$(SPLINTR) enum -misscase -expect 14
1140 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1141 -$(SPLINTR) exports.c +exportany -expect 3
1142 -$(SPLINTR) exports.c
1146 -$(SPLINTR) external.c +partial
1147 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
1148 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1149 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1150 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1154 -$(SPLINTR) fields.c +memchecks -expect 6
1155 -$(SPLINTR) fields2.c +memchecks -expect 5
1156 -$(SPLINTR) fields3.c +memchecks
1160 -$(SPLINTR) flags.c -expect 8
1161 -$(SPLINTR) +nocomments flags.c -expect 2
1163 ### Added 2001-06-02
1167 ${SPLINTR} forbody.c -expect 2
1169 ### Added 2001-06-03
1172 ${SPLINTR} format.c -expect 3
1173 ${SPLINTR} format.c -formatconst
1175 # two new errors (invalid lhs)
1179 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1181 .PHONY: functionmacro
1183 -$(SPLINTR) functionmacro.c -expect 2
1187 -$(SPLINTR) glob -expect 4
1188 -$(SPLINTR) glob -globuse -expect 3
1189 -$(SPLINTR) glob +globunspec -expect 6
1193 -$(SPLINTR) -modifies globals.c -expect 5
1194 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
1195 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1196 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1197 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
1198 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1203 -$(SPLINTR) -accessmodule impabstract.c
1204 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1205 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1208 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1209 ### (Reported by Pierluigi Sanzani)
1213 ${SPLINTR} info.c -expect 4
1215 ### evans 2001-10-14: Expected errors updated
1218 -$(SPLINTR) init.c -expect 14
1219 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1223 -$(SPLINTR) inparam.c -expect 2
1224 -$(SPLINTR) +impouts inparam.c -expect 1
1228 -$(SPLINTR) internal.c -expect 1
1229 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
1230 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
1231 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
1232 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1233 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1237 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1242 -$(SPLINTR) iter -expect 14 -lclexpect 1
1243 -$(SPLINTR) iter2.c -expect 12
1247 -$(SPLINTR) keep.c +memchecks -expect 6
1250 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1251 ### 2001-05-30: 3 new errors found (formatconst)
1255 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1256 -$(SPLINTR) libs.c -expect 22
1257 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
1258 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1260 .PHONY: lintcomments
1262 -$(SPLINTR) lintcomments.c -expect 5
1263 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1264 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
1268 -$(SPLINTR) list.c -expect 3
1271 ### 2002-01-01: Added test case for obvious loop execution.
1276 -$(SPLINTR) loopexec.c -expect 1
1277 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
1281 -$(SPLINTR) macros -expect 17
1282 -$(SPLINTR) macros.c +allmacros -expect 34
1283 -$(SPLINTR) macros.c +fcnmacros -expect 31
1287 -$(SPLINTR) macrosef -expect 4
1288 -$(SPLINTR) macrosef.c +allmacros -expect 3
1289 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1293 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1297 -$(SPLINTRN) mergenull.c
1301 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1305 -$(SPLINTR) modtest -expect 10
1306 -$(SPLINTR) modtest +modunspec -expect 13
1307 -$(SPLINTR) modtest +mustmod -expect 14
1311 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1312 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1314 .PHONY: mongoincludes
1316 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1317 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1318 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1319 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1320 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1324 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
1328 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
1331 ### 2002-01-01: null1.c: expect increased to 15 because out must be defined
1332 ### checking detects one new error
1337 -$(SPLINTR) null1.c -expect 15
1338 -$(SPLINTR) null1.c -null -mustdefine -expect 4
1339 -$(SPLINTR) null2.c -expect 11
1340 -$(SPLINTR) null3.c -expect 15
1341 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1342 -$(SPLINTR) null4.c -expect 1
1343 -$(SPLINTR) null5.c -expect 4
1344 -$(SPLINTR) null6 -expect 4
1345 -$(SPLINTR) +quiet null6.lcl -dump null6
1346 -$(SPLINTR) null6.c -load null6 -expect 4
1348 ### Added for 3.0 (bugs reported by Kevin Broady)
1352 -$(SPLINTR) nullret.c -expect 2
1353 -$(SPLINTR) -nullret nullret.c -expect 1
1357 -$(SPLINTR) nullassign.c -expect 2
1358 -$(SPLINTR) -nullassign nullassign.c -expect 1
1361 # Before 2.4, expected one more because error was reported both as
1362 # dependent and observer.
1367 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1368 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1369 -$(SPLINTR) observer.c -expect 7
1373 -$(SPLINTR) oldstyle -expect 3
1377 -$(SPLINTR) outglob -expect 10
1381 -$(SPLINTR) outparam -expect 12
1383 ### evans 2001-08-26: postnotnull new
1387 ${SPLINTR} postnotnull.c -expect 1
1389 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1394 -$(SPLINTR) +hints preds.c -expect 6
1395 -$(SPLINTRN) +hints preds.c -weak -expect 1
1396 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1400 -$(SPLINTR) prefixes.c +partial
1401 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1402 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1403 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1404 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1405 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1406 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1407 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1408 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1409 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1410 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1411 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1412 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1413 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1414 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1415 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1419 -$(SPLINTR) printflike.c -expect 6
1420 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
1424 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1425 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1426 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
1427 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1428 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
1432 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
1436 -$(SPLINTR) refcounts.c -expect 7
1440 -$(SPLINTR) release.c +memchecks -expect 1
1444 -$(SPLINTR) +lh repexpose +memchecks -expect 12
1445 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
1446 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
1448 ### returned added 2001-05-27
1449 ### (Bug discovered checking splint sources.)
1453 ${SPLINTR} returned.c -expect 1
1457 -$(SPLINTR) sharing1.c -expect 21
1458 -$(SPLINTR) sharing3.c -expect 3
1459 -$(SPLINTR) sharing4.c -expect 13
1460 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
1461 -$(SPLINTR) sharing5.c -expect 6
1465 -$(SPLINTR) shifts.c -expect 4
1466 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
1467 -$(SPLINTR) shifts.c -shiftnegative -expect 1
1471 -$(SPLINTR) +hints slovaknames.c -expect 1
1472 -$(SPLINTR) +hints slovaknames.c +accessslovak
1473 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
1474 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1475 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1479 -$(SPLINTR) specclauses.c -expect 6
1480 -$(SPLINTR) specclauses2.c -expect 8
1481 -$(SPLINTR) specclauses3.c -expect 6
1482 -$(SPLINTR) specclauses4.c -expect 3
1483 -$(SPLINTR) specclauses5.c -expect 3
1485 .PHONY: specclauses1
1487 -$(SPLINTR) specclauses.c -expect 6
1489 .PHONY: specclauses2
1491 -$(SPLINTR) specclauses2.c -expect 8
1493 .PHONY: specclauses3
1495 -$(SPLINTR) specclauses3.c -expect 6
1497 .PHONY: specclauses4
1499 -$(SPLINTR) specclauses4.c -expect 3
1501 .PHONY: specclauses5
1503 -$(SPLINTR) specclauses5.c -expect 3
1507 -$(SPLINTR) special -expect 20
1508 -$(SPLINTR) special -relaxquals -expect 22
1512 -$(SPLINTR) stack.c -expect 5
1513 -$(SPLINTR) stack.c -stackref
1517 -$(SPLINTR) staticarray.c -expect 3
1521 -$(SPLINTR) strings.c -expect 3
1522 -$(SPLINTR) -readonlystrings -expect 1 strings.c
1523 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1525 .PHONY: structassign
1527 -$(SPLINTR) structassign.c -expect 4
1531 -$(SPLINTR) typequals.c tq.lcl -expect 5
1532 -$(SPLINTR) typequals.c -expect 2
1536 -$(SPLINTR) ud.c -expect 9
1537 -$(SPLINTR) ud2 -specundef -expect 3
1541 -$(SPLINTR) ulstypes.c -expect 8
1542 -$(SPLINTR) ulstypes.c +ignorequals
1543 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1545 # 3 more detected with version 2.5 (change in -numliteral setting)
1549 -$(SPLINTR) +memchecks union.c -expect 8
1552 ### Added 2001-12-30: fixed union initializer checking in response to
1553 ### bug report from Jim Zelenka.
1558 -$(SPLINTR) unioninit.c -expect 2
1562 -$(SPLINTR) unreachable.c -expect 5
1563 -$(SPLINTR) -unreachable unreachable.c -expect 2
1564 -$(SPLINTR) switch.c -expect 4
1566 .PHONY: unsignedcompare
1568 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1571 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1576 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
1577 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1580 ### 2001-06-10: Provided by Jim Zalenka
1585 ${SPLINTRN} ullint.c -expect 5
1586 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1589 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1594 ${SPLINTRN} utypes.c -expect 6
1600 ${SPLINTRN} void.c -expect 2
1603 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1608 ${SPLINTRN} widestrings.c -expect 2
1616 ${SPLINTR} linked.c -expect 4
1617 ${SPLINTR} linked2.c -expect 3
1618 ${SPLINTR} linked3.c -expect 5
1619 ${SPLINTR} linked4.c -expect 6
1620 ${SPLINTR} linked5.c -expect 4
1621 ${SPLINTR} linked6.c -expect 4
1625 ${SPLINTR} freearray.c -expect 1
1629 -$(SPLINTR) +bounds sizeof.c -expect 1
1633 -$(SPLINTR) +bounds buffertest1.c -expect 5
1635 .PHONY: $(SUBDIRTESTS)
1637 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1638 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1639 # Otherwise a system limit (for SysV at least) may be exceeded.