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 build_alias = @build_alias@
59 build_triplet = @build@
60 host_alias = @host_alias@
62 target_alias = @target_alias@
63 target_triplet = @target@
75 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
84 am__include = @am__include@
85 am__quote = @am__quote@
86 install_sh = @install_sh@
88 AUTOMAKE_OPTIONS = 1.5 foreign
94 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
96 ### These are shell-specific
98 ### This is horrible! Can't we make top_builddir absolute?
99 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
101 SPLINTPNEST = @$(SPLINTNEST) -nof
102 SPLINTP = @$(SPLINT) -nof
104 # Make sure .splintrc files are not used so test results do not
105 # depend on local settings.
106 SPLINTRN = $(SPLINTP) -hints -booltype "bool"
107 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
109 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
110 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
114 ### rcfiles not included becuase file names will not match exactly
118 abstptr abstract alias alttypes ansireserved argorder \
119 args arraydims arrayinit arraylit blocks break cases cast charlit clauses commentchar compdestroy \
120 compoundliterals compoundstmt constannot controldepth csyntax czechnames czechoslovaknames deadparam \
121 decl divzero enum exports external fields flags forbody format freearray \
122 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
123 linked lintcomments list loopexec looptesteffect \
124 macros macrosef merge mergenull modifies modtest moduncon \
125 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
126 parentype postnotnull preds prefixes printflike rc refcounts release repexpose \
127 returned sharing shifts slovaknames \
129 special stack staticarray strings \
131 structassign typequals typeof ud ulstypes union unioninit \
132 unnamedsu unreachable unsignedcompare \
133 unused ullint utypes void widestrings
135 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
138 ### warnuse doesn't work yet!
139 SUBDIRTESTS = metastate mergestate tainted fileio \
140 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
141 maxset strchr for manual\
142 tests2.2 tests2.4 tests2.5 db1 db2 db3
144 SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
148 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="
150 #drl 11/29/2001 This is a very ugly hack to get make dist to work
151 EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
152 ./abstptr.lcl ./abstptr.lcs \
153 ./alias.lcl ./alias.lcs \
154 ./alias2.lcl ./alias2.lcs \
225 ./repexpose.lh.expect \
242 ./globalbufferannotation/.splintrc \
245 ./tests2.2/bool.lcl \
246 ./tests2.2/bool.lcs \
247 ./tests2.2/libraries.lcd \
248 ./tests2.2/obsolete.lcd \
249 ./tests2.2/oldversion.lcd \
250 ./tests2.4/subdir/main.lcl \
251 ./tests2.4/subdir/main.lcs \
252 ./tests2.5/newlint.lcd \
253 ./warnuse/warnuse.lcd \
294 ./compoundliterals.c ./compoundliterals.expect \
295 ./compoundstmt.c ./compoundstmt.expect \
316 ./czechoslovaknames.c \
432 ./unsignedcompare.c \
436 ./conditions/miroslaw.c \
437 ./conditions/releases.c \
439 ./fileio/filebranch.c \
442 ./globalbufferannotation/globalvariable.c \
443 ./maxset/maxsetannotations.c \
444 ./maxset/maxsetnoannotations.c \
445 ./mergestate/taintednm.c \
447 ./metastate/file1.c \
448 ./metastate/file2.c \
449 ./metastate/file3.c \
450 ./metastate/file4.c \
451 ./metastate/file5.c \
452 ./metastate/file6.c \
453 ./metastate/file7.c \
454 ./metastate/filebad.c \
455 ./metastate/global.c \
456 ./metastate/nullbranch.c \
457 ./metastate/nullbranch2.c \
458 ./metastate/nullret.c \
460 ./metastate/sockets.c \
461 ./metastate/sockets2.c \
462 ./metastate/struct.c \
464 ./metastate/voidptr.c \
465 ./moreBufferTests/initialization.c \
466 ./moreBufferTests/simplifyTest.c \
467 ./moreBufferTests/strncatNotReallyGood.c \
468 ./moreBufferTests/strncatReallyGood.c \
469 ./moreBufferTests/strrchr.c \
470 ./moreBufferTests/unrecogCall.c \
471 ./nullterminatedtest/buggy1.c \
472 ./nullterminatedtest/buggy_support1.c \
473 ./nullterminatedtest/buggy_support_fmakeword.c \
474 ./nullterminatedtest/test1.c \
475 ./nullterminatedtest/test3.c \
476 ./simplebufferConstraintTests/m.c \
477 ./simplebufferConstraintTests/sizeof.c \
478 ./simplebufferConstraintTests/test3.c \
479 ./simplebufferConstraintTests/test7.c \
480 ./sizeoftest/sizeof.c \
482 ./suppressfile/test.c \
483 ./tainted/sprintf.c \
485 ./tainted/tainted.c \
486 ./tainted/tainted2.c \
487 ./tainted/tainted3.c \
488 ./tainted/tainted4.c \
489 ./tainted/tainted5.c \
490 ./tainted/taintedimplicit.c \
491 ./tainted/taintedmerge.c \
492 ./tainted/taintedx.c \
494 ./tclauses/globals.c \
496 ./tclauses/modifies.c \
497 ./tclauses/struct.c \
499 ./tests2.2/arbints.c \
500 ./tests2.2/arrayfcn.c \
501 ./tests2.2/booldef.c \
502 ./tests2.2/boolenum.c \
503 ./tests2.2/boolops.c \
505 ./tests2.2/bstring.c \
507 ./tests2.2/enumbool.c \
508 ./tests2.2/extension.c \
509 ./tests2.2/libraries.c \
510 ./tests2.2/modarray.c \
511 ./tests2.2/nestext.c \
512 ./tests2.2/offsetof.c \
514 ./tests2.2/realloc.c \
516 ./tests2.2/sizeofarray.c \
517 ./tests2.2/struct.c \
518 ./tests2.2a/addassign.c \
519 ./tests2.2a/arrayparam.c \
520 ./tests2.2a/bitops.c \
521 ./tests2.2a/boolcomp.c \
522 ./tests2.2a/boolenum.c \
526 ./tests2.2a/floatdouble.c \
527 ./tests2.2a/florian.c \
529 ./tests2.2a/isalpha.c \
530 ./tests2.2a/notreached.c \
531 ./tests2.2a/obviousloop.c \
532 ./tests2.2a/popik.c \
533 ./tests2.2a/sizeof.c \
534 ./tests2.2a/toralf.c \
535 ./tests2.4/subdir/main.c \
536 ./tests2.4/alignof.c \
538 ./tests2.4/bitfields.c \
543 ./tests2.4/cpptest.c \
544 ./tests2.4/driverstub.c \
546 ./tests2.4/emptycase.c \
547 ./tests2.4/enumtest.c \
550 ./tests2.4/flagequal.c \
551 ./tests2.4/forward.c \
553 ./tests2.4/hexconstants.c \
554 ./tests2.4/innercomment.c \
555 ./tests2.4/komazi.c \
556 ./tests2.4/longlong.c \
558 ./tests2.4/nothing.c \
559 ./tests2.4/offsetof.c \
562 ./tests2.4/syncomment.c \
563 ./tests2.4/syslog.c \
567 ./tests2.4/timecard.c \
568 ./tests2.4/toothman.c \
569 ./tests2.4/ulrich.c \
570 ./tests2.5/badcomment.c \
571 ./tests2.5/boolbad.c \
573 ./tests2.5/booltest.c \
574 ./tests2.5/dummyfile.c \
576 ./tests2.5/immutable.c \
577 ./tests2.5/impabsmodule.c \
578 ./tests2.5/literals.c \
581 ./tests2.5/testalt.c \
582 ./tests2.5/testimmutable.c \
583 ./tests2.5/uconstants.c \
585 ./warnuse/warnflags.c \
586 ./warnuse/warngets.c \
587 ./warnuse/warnuse.c \
588 ./moreBufferTests2/unknownsize.c \
589 ./moreBufferTests2/arrayConstExpr.c \
594 ansireserved.expect \
610 controldepth.expect \
613 czechoslovaknames.expect \
631 globalbufferannotation.expect \
642 lintcomments.expect \
644 longconstants.expect \
654 mongoincludes.expect \
655 moreBufferTests.expect \
656 moreBufferTests2.expect \
661 nullterminatedtest.expect \
674 repexpose.lh.expect \
677 simplebufferConstraintTests.expect \
687 structassign.expect \
701 unsignedcompare.expect \
740 ./metastate/global.h \
741 ./suppressfile/test.h \
743 ./tests2.4/forward.h \
745 ./tests2.4/timecard.h \
747 ./tests2.5/bimbim.h \
748 ./tests2.5/immutable.h \
749 ./tests2.5/impabsmodule.h \
750 ./tests2.5/socket.h \
751 ./Makefile-test.os2 \
755 ./conditions/Makefile \
758 ./globalbufferannotation/Makefile \
760 ./mergestate/Makefile \
761 ./metastate/Makefile \
762 ./moreBufferTests/Makefile \
763 ./simplebufferConstraintTests/Makefile \
767 ./tests2.2/Makefile \
768 ./tests2.2/Makefile-tests2.2.os2 \
769 ./tests2.4/Makefile \
770 ./tests2.4/Makefile-tests2.4.os2 \
771 ./tests2.5/Makefile \
775 ./moreBufferTests2/Makefile \
776 ./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 \
777 db2.old-expect union.pp warnuse.old-expect \
778 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
779 unioninit.expect unioninit.c utypes.c \
780 utypes.expect widestrings.expect widestrings.c \
781 functionmacro.expect functionmacro.c info.c info.expect \
782 loopexec.c looptesteffect.c mergenull.c shifts.c \
783 manual.expect ./manual/Makefile \
784 ./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 \
785 arraydims.expect arraydims.c \
786 moreBufferTests2/fixedArrayType.c oldstyle2.c \
787 divzero.expect parentype.expect \
788 divzero.c parentype.c \
789 stringliteral.expect stringliteral.c
792 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
793 CONFIG_HEADER = $(top_builddir)/config.h
796 DIST_COMMON = Makefile.am Makefile.in
800 .SUFFIXES: .c .diff .expect
801 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
802 cd $(top_srcdir) && \
803 $(AUTOMAKE) --foreign test/Makefile
804 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
805 cd $(top_builddir) && \
806 CONFIG_HEADERS= CONFIG_LINKS= \
807 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
813 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
816 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
818 distdir: $(DISTFILES)
819 $(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 $(distdir)/moreBufferTests2
820 @for file in $(DISTFILES); do \
821 if test -f $$file; then d=.; else d=$(srcdir); fi; \
822 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
823 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
824 $(mkinstalldirs) "$(distdir)/$$dir"; \
826 if test -d $$d/$$file; then \
827 cp -pR $$d/$$file $(distdir) \
830 test -f $(distdir)/$$file \
831 || cp -p $$d/$$file $(distdir)/$$file \
842 install-exec: install-exec-am
843 install-data: install-data-am
844 uninstall: uninstall-am
847 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
849 installcheck: installcheck-am
851 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
852 `test -z '$(STRIP)' || \
853 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
859 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
861 maintainer-clean-generic:
862 @echo "This command is intended for maintainers to use"
863 @echo "it deletes files that may require special tools to rebuild."
866 clean-am: clean-generic clean-local mostlyclean-am
868 distclean: distclean-am
870 distclean-am: clean-am distclean-generic
884 install-info: install-info-am
890 maintainer-clean: maintainer-clean-am
892 maintainer-clean-am: distclean-am maintainer-clean-generic
894 mostlyclean: mostlyclean-am
896 mostlyclean-am: mostlyclean-generic
898 uninstall-am: uninstall-info-am
900 .PHONY: all all-am check check-am clean clean-generic clean-local \
901 distclean distclean-generic distdir dvi dvi-am info info-am \
902 install install-am install-data install-data-am install-exec \
903 install-exec-am install-info install-info-am install-man \
904 install-strip installcheck installcheck-am installdirs \
905 maintainer-clean maintainer-clean-generic mostlyclean \
906 mostlyclean-generic uninstall uninstall-am uninstall-info-am
914 -$(SPLINTP) -help version
920 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
923 -@$(SPLINTP) +boolint +boolint
924 -@$(SPLINTP) -help flags alpha
926 #commenting these out for the release because they will almost always fail
927 #since the default will only fit one system
928 #Don't want to panic the user...
929 # -@$(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> "
930 # -@$(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> "
931 # -@$(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> "
933 #larch and lclimportdir have different hardcoded default paths so don't include the path in the output..
937 -rm -f *~ #*# *.o *.lcs a.out
938 -cd db1; $(MAKE) clean
939 -cd db2; $(MAKE) clean
940 -cd db3; $(MAKE) clean
942 $(SPLINTTESTS): $(SPLINT)
945 cd $(top_builddir)/src; $(MAKE)
948 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
951 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
953 #drl temporally take this out.
956 # @echo "Saving old expects..."; \
957 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
958 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
959 # echo "Making $$TEST.expect..."; \
960 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
961 # cat $$TEST.expect; \
966 @for TEST in $(QUICKTESTS); do \
967 echo "Checking $$TEST..."; \
968 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
969 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
970 echo "*** FAIL ***"; \
975 @echo "Testing $(PACKAGE) $(VERSION)..."
977 @echo "Version Info:"
978 @$(SPLINTP) -help version
979 @$(SPLINTP) -help vars
983 @for TEST in $(SPLINTTESTS); do \
984 echo "Checking $$TEST..."; \
985 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
986 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
987 echo "*** FAIL ***"; \
990 ### Rules for tests start here
994 -$(SPLINTR) abstptr -expect 9
995 -$(SPLINTR) abstptr +voidabstract -expect 6
999 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
1004 -$(SPLINTR) mut alias +globalias -expect 19
1005 -$(SPLINTR) mut alias2 +globalias -expect 17
1006 -$(SPLINTR) +lh alias3 -expect 14
1007 -$(SPLINTR) +lh alias4 +boolint
1008 -$(SPLINTR) alias4 -pred +retalias -expect 6
1009 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
1013 -$(SPLINTR) alttypes.c -expect 2
1016 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1017 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1018 ### variable (could be a macro?)
1019 ### Reports 3 additional errors for +checks; no longer suppresses name errors
1020 ### in the presense of other errors.
1023 .PHONY: ansireserved
1025 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1026 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1027 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1028 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
1032 -$(SPLINTR) argorder.c -expect 4
1033 -$(SPLINTR) argorder2 -expect 5
1034 -$(SPLINTR) argorder3.c -expect 8
1035 -$(SPLINTR) argorder4 -expect 9
1036 -$(SPLINTR) argorder4 -evalorder -expect 1
1037 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
1041 -$(SPLINTR) args -noeffect -expect 12
1045 -$(SPLINTR) arraydims.c -varuse -expect 2
1046 -$(SPLINTR) arraydims.c -initsize -varuse
1050 -$(SPLINTR) arrayinit.c -expect 9
1054 -$(SPLINTR) arraylit.c -expect 2
1055 -$(SPLINTR) arraylit.c +stringliteralsmaller -expect 4
1059 -$(SPLINTR) blocks.c -expect 4
1060 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1061 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1062 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1063 -$(SPLINTR) blocks.c +allempty -expect 6
1064 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1068 -$(SPLINTR) break.c -expect 4
1069 -$(SPLINTR) break.c +deepbreak -expect 6
1070 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1074 -$(SPLINTR) cases.c -expect 5
1075 -$(SPLINTR) cases2.c -expect 2
1076 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1077 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1081 -$(SPLINTR) cast -accessmodule -expect 20
1082 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1084 ### Two addition errors detected with 2.5 with -numliteral.
1088 -$(SPLINTR) +hints charlit.c -expect 4
1089 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
1090 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1094 -$(SPLINTR) clauses.c +memchecks -expect 4
1095 -$(SPLINTR) clauses2.c +memchecks
1096 -$(SPLINTR) clauses3.c +memchecks -expect 2
1097 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1101 -$(SPLINTR) commentchar.c -expect 4
1102 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
1104 .PHONY: controldepth
1106 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1107 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1111 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1112 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1113 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1114 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1116 .PHONY: compoundliterals
1118 ${SPLINTRN} compoundliterals.c
1120 .PHONY: compoundstmt
1122 ${SPLINTRN} compoundstmt.c -expect 3
1126 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
1130 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1131 -$(SPLINTR) +quiet csyntax2.c -expect 2
1132 -$(SPLINTR) +quiet csyntax3.c -expect 1
1133 -$(SPLINTR) +quiet -incondefs csyntax4.c
1134 -$(SPLINTR) +quiet csyntax5.c
1135 -$(SPLINTR) +quiet csyntax6.c
1136 -$(SPLINTR) +quiet csyntax7.c
1137 -$(SPLINTR) +quiet csyntax8.c
1138 -$(SPLINTR) +quiet csyntax9.c
1139 -$(SPLINTR) +quiet csyntax10.c
1140 -$(SPLINTR) +quiet csyntax11.c
1141 -$(SPLINTR) +quiet csyntax12.c
1142 -$(SPLINTR) +quiet csyntax13.c -expect 1
1143 -$(SPLINTR) +quiet csyntax14.c
1144 -$(SPLINTR) +quiet csyntax15.c
1145 -$(SPLINTR) +quiet csyntax16.c -expect 2
1146 -$(SPLINTR) +quiet csyntax17.c -expect 3
1150 -$(SPLINTR) czechnames.c
1151 -$(SPLINTR) +hints +czech czechnames.c -expect 2
1152 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1153 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1155 .PHONY: czechoslovaknames
1157 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1158 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1159 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1162 ### deadparam added 2001-05-27
1167 ${SPLINTR} deadparam.c -expect 3
1170 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1171 # function pointers correctly.
1176 -$(SPLINTR) decl.c -expect 2
1177 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
1178 -$(SPLINTR) decl2 -expect 4
1182 -$(SPLINTR) divzero.c -varuse -expect 0
1186 -$(SPLINTR) enum -expect 16
1187 -$(SPLINTR) enum -misscase -expect 14
1191 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1192 -$(SPLINTR) exports.c +exportany -expect 3
1193 -$(SPLINTR) exports.c
1197 -$(SPLINTR) external.c +partial
1198 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
1199 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1200 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1201 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1205 -$(SPLINTR) fields.c +memchecks -expect 6
1206 -$(SPLINTR) fields2.c +memchecks -expect 5
1207 -$(SPLINTR) fields3.c +memchecks
1211 -$(SPLINTR) flags.c -expect 8
1212 -$(SPLINTR) +nocomments flags.c -expect 2
1214 ### Added 2001-06-02
1218 ${SPLINTR} forbody.c -expect 2
1220 ### Added 2001-06-03
1223 ${SPLINTR} format.c -expect 3
1224 ${SPLINTR} format.c -formatconst
1226 # two new errors (invalid lhs)
1230 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1232 .PHONY: functionmacro
1234 -$(SPLINTR) functionmacro.c -expect 2
1238 -$(SPLINTR) glob -expect 4
1239 -$(SPLINTR) glob -globuse -expect 3
1240 -$(SPLINTR) glob +globunspec -expect 6
1244 -$(SPLINTR) -modifies globals.c -expect 5
1245 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
1246 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1247 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1248 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
1249 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1254 -$(SPLINTR) -accessmodule impabstract.c
1255 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1256 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1259 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1260 ### (Reported by Pierluigi Sanzani)
1264 ${SPLINTR} info.c -expect 4
1266 ### evans 2001-10-14: Expected errors updated
1269 -$(SPLINTR) init.c -expect 14
1270 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1274 -$(SPLINTR) inparam.c -expect 2
1275 -$(SPLINTR) +impouts inparam.c -expect 1
1279 -$(SPLINTR) internal.c -expect 1
1280 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
1281 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
1282 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
1283 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1284 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1288 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1293 -$(SPLINTR) iter -expect 14 -lclexpect 1
1294 -$(SPLINTR) iter2.c -expect 12
1298 -$(SPLINTR) keep.c +memchecks -expect 6
1301 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1302 ### 2001-05-30: 3 new errors found (formatconst)
1306 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1307 -$(SPLINTR) libs.c -expect 22
1308 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
1309 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1311 .PHONY: lintcomments
1313 -$(SPLINTR) lintcomments.c -expect 5
1314 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1315 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
1319 -$(SPLINTR) list.c -expect 3
1322 ### 2002-01-01: Added test case for obvious loop execution.
1327 -$(SPLINTR) loopexec.c -expect 1
1328 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
1330 .PHONY: looptesteffect
1332 -$(SPLINTR) looptesteffect.c -expect 1
1336 -$(SPLINTR) macros -expect 17
1337 -$(SPLINTR) macros.c +allmacros -expect 34
1338 -$(SPLINTR) macros.c +fcnmacros -expect 31
1342 -$(SPLINTR) macrosef -expect 4
1343 -$(SPLINTR) macrosef.c +allmacros -expect 3
1344 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1348 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1352 -$(SPLINTRN) mergenull.c
1356 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1360 -$(SPLINTR) modtest -expect 10
1361 -$(SPLINTR) modtest +modunspec -expect 13
1362 -$(SPLINTR) modtest +mustmod -expect 14
1366 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1367 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1369 .PHONY: mongoincludes
1371 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1372 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1373 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1374 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1375 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1379 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
1383 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
1386 ### 2002-01-01: null1.c: expect increased to 15 because out must be defined
1387 ### checking detects one new error
1392 -$(SPLINTR) null1.c -expect 15
1393 -$(SPLINTR) null1.c -null -mustdefine -expect 4
1394 -$(SPLINTR) null2.c -expect 11
1395 -$(SPLINTR) null3.c -expect 15
1396 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1397 -$(SPLINTR) null4.c -expect 1
1398 -$(SPLINTR) null5.c -expect 4
1399 -$(SPLINTR) null6 -expect 4
1400 -$(SPLINTR) +quiet null6.lcl -dump null6
1401 -$(SPLINTR) null6.c -load null6 -expect 4
1403 ### Added for 3.0 (bugs reported by Kevin Broady)
1407 -$(SPLINTR) nullret.c -expect 2
1408 -$(SPLINTR) -nullret nullret.c -expect 1
1412 -$(SPLINTR) nullassign.c -expect 2
1413 -$(SPLINTR) -nullassign nullassign.c -expect 1
1416 # Before 2.4, expected one more because error was reported both as
1417 # dependent and observer.
1422 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1423 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1424 -$(SPLINTR) observer.c -expect 7
1428 -$(SPLINTR) oldstyle oldstyle2.c -expect 5
1432 -$(SPLINTR) outglob -expect 10
1436 -$(SPLINTR) outparam -expect 12
1438 ### evans 2001-08-26: postnotnull new
1442 ${SPLINTR} postnotnull.c -expect 1
1444 ### evans 2002-02-09: added parentype.c
1447 ${SPLINTR} parentype.c
1450 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1455 -$(SPLINTR) +hints preds.c -expect 6
1456 -$(SPLINTRN) +hints preds.c -weak -expect 1
1457 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1461 -$(SPLINTR) prefixes.c +partial
1462 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1463 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1464 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1465 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1466 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1467 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1468 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1469 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1470 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1471 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1472 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1473 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1474 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1475 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1476 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1480 -$(SPLINTR) printflike.c -expect 6
1481 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
1485 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1486 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1487 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
1488 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1489 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
1493 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
1497 -$(SPLINTR) refcounts.c -expect 7
1501 -$(SPLINTR) release.c +memchecks -expect 1
1505 -$(SPLINTR) +lh repexpose +memchecks -expect 12
1506 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
1507 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
1509 ### returned added 2001-05-27
1510 ### (Bug discovered checking splint sources.)
1514 ${SPLINTR} returned.c -expect 1
1518 -$(SPLINTR) sharing1.c -expect 21
1519 -$(SPLINTR) sharing3.c -expect 3
1520 -$(SPLINTR) sharing4.c -expect 13
1521 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
1522 -$(SPLINTR) sharing5.c -expect 6
1526 -$(SPLINTR) shifts.c -expect 4
1527 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
1528 -$(SPLINTR) shifts.c -shiftnegative -expect 1
1532 -$(SPLINTR) +hints slovaknames.c -expect 1
1533 -$(SPLINTR) +hints slovaknames.c +accessslovak
1534 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
1535 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1536 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1540 -$(SPLINTR) specclauses.c -expect 6
1541 -$(SPLINTR) specclauses2.c -expect 8
1542 -$(SPLINTR) specclauses3.c -expect 6
1543 -$(SPLINTR) specclauses4.c -expect 3
1544 -$(SPLINTR) specclauses5.c -expect 3
1546 .PHONY: specclauses1
1548 -$(SPLINTR) specclauses.c -expect 6
1550 .PHONY: specclauses2
1552 -$(SPLINTR) specclauses2.c -expect 8
1554 .PHONY: specclauses3
1556 -$(SPLINTR) specclauses3.c -expect 6
1558 .PHONY: specclauses4
1560 -$(SPLINTR) specclauses4.c -expect 3
1562 .PHONY: specclauses5
1564 -$(SPLINTR) specclauses5.c -expect 3
1568 -$(SPLINTR) special -expect 20
1569 -$(SPLINTR) special -relaxquals -expect 22
1573 -$(SPLINTR) stack.c -expect 5
1574 -$(SPLINTR) stack.c -stackref
1578 -$(SPLINTR) staticarray.c -expect 3
1581 ### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
1584 .PHONY: stringliteral
1586 -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
1587 -$(SPLINTR) stringliteral.c -expect 4
1591 -$(SPLINTR) strings.c -expect 3
1592 -$(SPLINTR) -readonlystrings -expect 1 strings.c
1593 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1595 .PHONY: structassign
1597 -$(SPLINTR) structassign.c -expect 4
1601 -$(SPLINTR) typeof.c -expect 2
1605 -$(SPLINTR) typequals.c tq.lcl -expect 5
1606 -$(SPLINTR) typequals.c -expect 2
1610 -$(SPLINTR) ud.c -expect 9
1611 -$(SPLINTR) ud2 -specundef -expect 3
1615 -$(SPLINTR) ulstypes.c -expect 8
1616 -$(SPLINTR) ulstypes.c +ignorequals
1617 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1619 # 3 more detected with version 2.5 (change in -numliteral setting)
1623 -$(SPLINTR) +memchecks union.c -expect 8
1626 ### Added 2001-12-30: fixed union initializer checking in response to
1627 ### bug report from Jim Zelenka.
1632 -$(SPLINTR) unioninit.c -expect 2
1636 -$(SPLINTR) unnamedsu.c -expect 0
1640 -$(SPLINTR) unreachable.c -expect 5
1641 -$(SPLINTR) -unreachable unreachable.c -expect 2
1642 -$(SPLINTR) switch.c -expect 4
1644 .PHONY: unsignedcompare
1646 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1649 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1654 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
1655 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1658 ### 2001-06-10: Provided by Jim Zalenka
1663 ${SPLINTRN} ullint.c -expect 5
1664 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1667 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1672 ${SPLINTRN} utypes.c -expect 6
1678 ${SPLINTRN} void.c -expect 2
1681 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1686 ${SPLINTRN} widestrings.c -expect 2
1694 ${SPLINTR} linked.c -expect 4
1695 ${SPLINTR} linked2.c -expect 3
1696 ${SPLINTR} linked3.c -expect 5
1697 ${SPLINTR} linked4.c -expect 6
1698 ${SPLINTR} linked5.c -expect 4
1699 ${SPLINTR} linked6.c -expect 4
1703 ${SPLINTR} freearray.c -expect 1
1707 -$(SPLINTR) +bounds sizeof.c -expect 1
1711 -$(SPLINTR) +bounds buffertest1.c -expect 5
1713 .PHONY: $(SUBDIRTESTS)
1715 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1716 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1717 # Otherwise a system limit (for SysV at least) may be exceeded.