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
88 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
90 ### This is horrible! Can't we make top_builddir absolute?
91 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
93 SPLINTPNEST = @$(SPLINTNEST)
96 # Make sure .splintrc files are not used so test results do not
97 # depend on local settings.
98 SPLINTRN = $(SPLINTP) -nof -hints -booltype "bool"
99 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
101 SPLINTRNNEST = $(SPLINTPNEST) -nof -hints -booltype "bool"
102 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
107 ### These tests have been temporarily removed because of problems with the new build process:
108 ### fileio tainted mergestate metastate \
109 ### tests2.2 tests2.2a tests2.4 tests2.5
111 ### maxset strchr for
114 fileio tainted mergestate metastate sizeof buffertest \
115 tests2.2 tests2.4 tests2.5 \
116 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
118 abstptr abstract alias alttypes ansireserved argorder \
119 args blocks break cases cast charlit clauses commentchar compdestroy \
120 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
121 decl enum exports external fields flags forbody format freearray \
122 funcpointer glob globals impabstract init inparam internal iter keep libs \
123 linked lintcomments list macros macrosef merge modifies modtest moduncon \
124 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
125 postnotnull preds prefixes printflike rc refcounts release repexpose \
126 returned sharing slovaknames specclauses special stack staticarray strings \
127 structassign typequals ud ulstypes union unreachable unsignedcompare \
130 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
132 INTEGTESTS = db1 db2 db3
133 INTEGEXPECTS = $(addsuffix .expect, $(INTEGTESTS))
135 SPLINTTESTS = $(UNITTESTS) $(INTEGTESTS)
139 CLEANOUTPUT = $(GREP) -v "Splint 3." | $(GREP) -v "$(SPLINT)" | $(GREP) -v "^make.*\[[1-9]*\]:"
142 ### Rules for tests start here
145 ### Bugs fixed and new features since version 2.1b
147 SUBDIRTESTS = metastate mergestate tainted fileio warnuse ensuresclauses \
148 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
150 tests2.2 tests2.2a tests2.4 tests2.5 db1 db2 db3
152 #drl 11/29/2001 This is a very ugly hack to get make dist to work
153 EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
154 ./abstptr.lcl ./abstptr.lcs \
155 ./alias.lcl ./alias.lcs \
156 ./alias2.lcl ./alias2.lcs \
227 ./repexpose.lh.expect \
244 ./globalbufferannotation/.splintrc \
247 ./tests2.2/bool.lcl \
248 ./tests2.2/bool.lcs \
249 ./tests2.2/libraries.lcd \
250 ./tests2.2/obsolete.lcd \
251 ./tests2.2/oldversion.lcd \
252 ./tests2.4/subdir/main.lcl \
253 ./tests2.4/subdir/main.lcs \
254 ./tests2.5/newlint.lcd \
255 ./warnuse/warnuse.lcd \
315 ./czechoslovaknames.c \
431 ./unsignedcompare.c \
434 ./conditions/miroslaw.c \
435 ./conditions/releases.c \
437 ./fileio/filebranch.c \
440 ./globalbufferannotation/globalvariable.c \
441 ./maxset/maxsetannotations.c \
442 ./maxset/maxsetnoannotations.c \
443 ./mergestate/taintednm.c \
445 ./metastate/file1.c \
446 ./metastate/file2.c \
447 ./metastate/file3.c \
448 ./metastate/file4.c \
449 ./metastate/file5.c \
450 ./metastate/file6.c \
451 ./metastate/file7.c \
452 ./metastate/filebad.c \
453 ./metastate/global.c \
454 ./metastate/nullbranch.c \
455 ./metastate/nullbranch2.c \
456 ./metastate/nullret.c \
458 ./metastate/sockets.c \
459 ./metastate/sockets2.c \
460 ./metastate/struct.c \
462 ./metastate/voidptr.c \
463 ./moreBufferTests/initialization.c \
464 ./moreBufferTests/simplifyTest.c \
465 ./moreBufferTests/strncatNotReallyGood.c \
466 ./moreBufferTests/strncatReallyGood.c \
467 ./moreBufferTests/strrchr.c \
468 ./moreBufferTests/unrecogCall.c \
469 ./nullterminatedtest/buggy1.c \
470 ./nullterminatedtest/buggy_support1.c \
471 ./nullterminatedtest/buggy_support_fmakeword.c \
472 ./nullterminatedtest/test1.c \
473 ./nullterminatedtest/test3.c \
474 ./simplebufferConstraintTests/m.c \
475 ./simplebufferConstraintTests/sizeof.c \
476 ./simplebufferConstraintTests/test3.c \
477 ./simplebufferConstraintTests/test7.c \
478 ./sizeoftest/sizeof.c \
480 ./suppressfile/test.c \
481 ./tainted/sprintf.c \
483 ./tainted/tainted.c \
484 ./tainted/tainted2.c \
485 ./tainted/tainted3.c \
486 ./tainted/tainted4.c \
487 ./tainted/tainted5.c \
488 ./tainted/taintedimplicit.c \
489 ./tainted/taintedmerge.c \
490 ./tainted/taintedx.c \
492 ./tclauses/globals.c \
494 ./tclauses/modifies.c \
495 ./tclauses/struct.c \
497 ./tests2.2/arbints.c \
498 ./tests2.2/arrayfcn.c \
499 ./tests2.2/booldef.c \
500 ./tests2.2/boolenum.c \
501 ./tests2.2/boolops.c \
503 ./tests2.2/bstring.c \
505 ./tests2.2/enumbool.c \
506 ./tests2.2/extension.c \
507 ./tests2.2/libraries.c \
508 ./tests2.2/modarray.c \
509 ./tests2.2/nestext.c \
510 ./tests2.2/offsetof.c \
512 ./tests2.2/realloc.c \
514 ./tests2.2/sizeofarray.c \
515 ./tests2.2/struct.c \
516 ./tests2.2a/addassign.c \
517 ./tests2.2a/arrayparam.c \
518 ./tests2.2a/bitops.c \
519 ./tests2.2a/boolcomp.c \
520 ./tests2.2a/boolenum.c \
524 ./tests2.2a/floatdouble.c \
525 ./tests2.2a/florian.c \
527 ./tests2.2a/isalpha.c \
528 ./tests2.2a/notreached.c \
529 ./tests2.2a/obviousloop.c \
530 ./tests2.2a/popik.c \
531 ./tests2.2a/sizeof.c \
532 ./tests2.2a/toralf.c \
533 ./tests2.4/subdir/main.c \
534 ./tests2.4/alignof.c \
536 ./tests2.4/bitfields.c \
541 ./tests2.4/cpptest.c \
542 ./tests2.4/driverstub.c \
544 ./tests2.4/emptycase.c \
545 ./tests2.4/enumtest.c \
548 ./tests2.4/flagequal.c \
549 ./tests2.4/forward.c \
551 ./tests2.4/hexconstants.c \
552 ./tests2.4/innercomment.c \
553 ./tests2.4/komazi.c \
554 ./tests2.4/longlong.c \
556 ./tests2.4/nothing.c \
557 ./tests2.4/offsetof.c \
560 ./tests2.4/syncomment.c \
561 ./tests2.4/syslog.c \
565 ./tests2.4/timecard.c \
566 ./tests2.4/toothman.c \
567 ./tests2.4/ulrich.c \
568 ./tests2.5/badcomment.c \
569 ./tests2.5/boolbad.c \
571 ./tests2.5/booltest.c \
572 ./tests2.5/dummyfile.c \
574 ./tests2.5/immutable.c \
575 ./tests2.5/impabsmodule.c \
576 ./tests2.5/literals.c \
579 ./tests2.5/testalt.c \
580 ./tests2.5/testimmutable.c \
581 ./tests2.5/uconstants.c \
583 ./warnuse/warnflags.c \
584 ./warnuse/warngets.c \
585 ./warnuse/warnuse.c \
586 ./moreBufferTests2/unknownsize.c \
587 ./moreBufferTests2/arrayConstExpr.c \
592 ansireserved.expect \
607 controldepth.expect \
610 czechoslovaknames.expect \
628 globalbufferannotation.expect \
639 lintcomments.expect \
641 longconstants.expect \
651 mongoincludes.expect \
652 moreBufferTests.expect \
653 moreBufferTests2.expect \
658 nullterminatedtest.expect \
671 repexpose.lh.expect \
674 simplebufferConstraintTests.expect \
684 structassign.expect \
697 unsignedcompare.expect \
736 ./metastate/global.h \
737 ./suppressfile/test.h \
738 ./tests2.2/Makefile.hide \
740 ./tests2.4/forward.h \
742 ./tests2.4/timecard.h \
744 ./tests2.5/bimbim.h \
745 ./tests2.5/immutable.h \
746 ./tests2.5/impabsmodule.h \
747 ./tests2.5/socket.h \
748 ./Makefile-test.os2 \
752 ./conditions/Makefile \
755 ./globalbufferannotation/Makefile \
757 ./mergestate/Makefile \
758 ./metastate/Makefile \
759 ./moreBufferTests/Makefile \
760 ./simplebufferConstraintTests/Makefile \
764 ./tests2.2/Makefile.hide \
765 ./tests2.2/Makefile \
766 ./tests2.2/Makefile-tests2.2.os2 \
767 ./tests2.2a/Makefile \
768 ./tests2.4/Makefile \
769 ./tests2.4/Makefile-tests2.4.os2 \
770 ./tests2.5/Makefile \
774 ./moreBufferTests2/Makefile \
775 ./fileio/eof.mts ./fileio/file.mts ./fileio/filerw.mts ./mergestate/tainted.mts ./mergestate/taintednm.mts ./metastate/file.mts ./metastate/nullterminated.mts ./metastate/sockets.mts ./tainted/tainted-bad.mts ./tainted/tainted.mts ./fileio/file.xh ./fileio/filerw.xh ./mergestate/tainted.xh ./mergestate/taintednm.xh ./metastate/file.xh ./tainted/tainted.xh \
776 alias alttypes ansireserved \
777 db2.old-expect outglob outparam preds union.pp warnuse.old-expect \
778 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants
781 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
782 CONFIG_HEADER = $(top_builddir)/config.h
785 DIST_COMMON = Makefile.am Makefile.in
789 .SUFFIXES: .c .diff .expect
790 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
791 cd $(top_srcdir) && \
792 $(AUTOMAKE) --foreign test/Makefile
793 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
794 cd $(top_builddir) && \
795 CONFIG_HEADERS= CONFIG_LINKS= \
796 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
802 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
805 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
807 distdir: $(DISTFILES)
808 $(mkinstalldirs) $(distdir)/./conditions $(distdir)/./db1 $(distdir)/./db2 $(distdir)/./db3 $(distdir)/./fileio $(distdir)/./for $(distdir)/./globalbufferannotation $(distdir)/./maxset $(distdir)/./mergestate $(distdir)/./metastate $(distdir)/./moreBufferTests $(distdir)/./moreBufferTests2 $(distdir)/./nullterminatedtest $(distdir)/./simplebufferConstraintTests $(distdir)/./sizeoftest $(distdir)/./strchr $(distdir)/./suppressfile $(distdir)/./tainted $(distdir)/./tclauses $(distdir)/./temp $(distdir)/./tests2.2 $(distdir)/./tests2.2a $(distdir)/./tests2.4 $(distdir)/./tests2.4/subdir $(distdir)/./tests2.5 $(distdir)/./warnuse
809 @for file in $(DISTFILES); do \
810 if test -f $$file; then d=.; else d=$(srcdir); fi; \
811 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
812 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
813 $(mkinstalldirs) "$(distdir)/$$dir"; \
815 if test -d $$d/$$file; then \
816 cp -pR $$d/$$file $(distdir) \
819 test -f $(distdir)/$$file \
820 || cp -p $$d/$$file $(distdir)/$$file \
831 install-exec: install-exec-am
832 install-data: install-data-am
833 uninstall: uninstall-am
836 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
838 installcheck: installcheck-am
840 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
841 `test -z '$(STRIP)' || \
842 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
848 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
850 maintainer-clean-generic:
851 @echo "This command is intended for maintainers to use"
852 @echo "it deletes files that may require special tools to rebuild."
855 clean-am: clean-generic clean-local mostlyclean-am
857 distclean: distclean-am
859 distclean-am: clean-am distclean-generic
873 install-info: install-info-am
879 maintainer-clean: maintainer-clean-am
881 maintainer-clean-am: distclean-am maintainer-clean-generic
883 mostlyclean: mostlyclean-am
885 mostlyclean-am: mostlyclean-generic
887 uninstall-am: uninstall-info-am
889 .PHONY: all all-am check check-am clean clean-generic clean-local \
890 distclean distclean-generic distdir dvi dvi-am info info-am \
891 install install-am install-data install-data-am install-exec \
892 install-exec-am install-info install-info-am install-man \
893 install-strip installcheck installcheck-am installdirs \
894 maintainer-clean maintainer-clean-generic mostlyclean \
895 mostlyclean-generic uninstall uninstall-am uninstall-info-am
899 unexport LCLIMPORTDIR
906 -$(SPLINTP) -help version
911 -@LARCH_PATH=/dev/null; $(SPLINT) empty.lcl
914 -@$(SPLINTP) +boolint +boolint
915 -@$(SPLINTP) -help flags alpha
916 -@$(SPLINTP) -help flags all
920 -rm -f *~ #*# *.o *.lcs a.out
921 -cd db1; $(MAKE) clean
922 -cd db2; $(MAKE) clean
923 -cd db3; $(MAKE) clean
925 $(SPLINTTESTS): $(SPLINT)
928 cd $(top_builddir)/src; $(MAKE)
931 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
934 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
936 #drl temporally take this out.
939 # @echo "Saving old expects..."; \
940 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
941 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
942 # echo "Making $$TEST.expect..."; \
943 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
944 # cat $$TEST.expect; \
949 @for TEST in $(QUICKTESTS); do \
950 echo "Checking $$TEST..."; \
951 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
952 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
953 echo "*** FAIL ***"; \
958 @echo "Testing $(PACKAGE) $(VERSION)..."
960 @echo "Version Info:"
961 @$(SPLINTP) -help version
962 @$(SPLINTP) -help vars
966 @for TEST in $(UNITTESTS); do \
967 echo "Checking $$TEST..."; \
968 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
969 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
970 echo "*** FAIL ***"; \
973 @echo "Integration tests:"
975 @for TEST in $(INTEGTESTS); do \
976 echo "Checking $$TEST..."; \
977 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
978 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
979 echo "*** FAIL ***"; \
984 $(SPLINTR) abstptr -expect 9
985 $(SPLINTR) abstptr +voidabstract -expect 6
989 $(SPLINTR) abst_t.lcl commentcmd.c -expect 15
994 $(SPLINTR) mut alias +globalias -expect 19
995 $(SPLINTR) mut alias2 +globalias -expect 17
996 $(SPLINTR) +lh alias3 -expect 14
997 $(SPLINTR) +lh alias4 +boolint
998 $(SPLINTR) alias4 -pred +retalias -expect 6
999 $(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
1003 $(SPLINTR) alttypes.c -expect 2
1006 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1007 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1008 ### variable (could be a macro?)
1009 ### Reports 3 additional errors for +checks; no longer suppresses name errors
1010 ### in the presense of other errors.
1013 .PHONY: ansireserved
1015 $(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1016 $(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1017 $(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1018 $(SPLINTR) ansireserved2.c +ansireserved -expect 1
1022 $(SPLINTR) argorder.c -expect 4
1023 $(SPLINTR) argorder2 -expect 5
1024 $(SPLINTR) argorder3.c -expect 8
1025 $(SPLINTR) argorder4 -expect 9
1026 $(SPLINTR) argorder4 -evalorder -expect 1
1027 $(SPLINTR) argorder5.c +evalorderuncon -expect 3
1031 $(SPLINTR) args -noeffect -expect 12
1035 $(SPLINTR) blocks.c -expect 4
1036 $(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1037 $(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1038 $(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1039 $(SPLINTR) blocks.c +allempty -expect 6
1040 $(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1044 $(SPLINTR) break.c -expect 4
1045 $(SPLINTR) break.c +deepbreak -expect 6
1046 $(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1050 $(SPLINTR) cases.c -expect 5
1051 $(SPLINTR) cases2.c -expect 2
1052 $(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1053 $(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1057 $(SPLINTR) cast -accessmodule -expect 20
1058 $(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1060 ### Two addition errors detected with 2.5 with -numliteral.
1064 $(SPLINTR) +hints charlit.c -expect 4
1065 $(SPLINTR) +hints -numliteral charlit.c -expect 6
1066 $(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1070 $(SPLINTR) clauses.c +memchecks -expect 4
1071 $(SPLINTR) clauses2.c +memchecks
1072 $(SPLINTR) clauses3.c +memchecks -expect 2
1073 $(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1077 $(SPLINTR) commentchar.c -expect 4
1078 $(SPLINTR) -commentchar '#' commentchar.c -expect 4
1080 .PHONY: controldepth
1082 $(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1083 $(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1087 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1088 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1089 $(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1090 $(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1094 ${SPLINTRN} constannot.c +arraybounds -exportlocal -expect 2
1098 $(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1099 $(SPLINTR) +quiet csyntax2.c -expect 2
1100 $(SPLINTR) +quiet csyntax3.c -expect 1
1101 $(SPLINTR) +quiet -incondefs csyntax4.c
1102 $(SPLINTR) +quiet csyntax5.c
1103 $(SPLINTR) +quiet csyntax6.c
1104 $(SPLINTR) +quiet csyntax7.c
1105 $(SPLINTR) +quiet csyntax8.c
1106 $(SPLINTR) +quiet csyntax9.c
1107 $(SPLINTR) +quiet csyntax10.c
1108 $(SPLINTR) +quiet csyntax11.c
1109 $(SPLINTR) +quiet csyntax12.c
1110 $(SPLINTR) +quiet csyntax13.c -expect 1
1111 $(SPLINTR) +quiet csyntax14.c
1112 $(SPLINTR) +quiet csyntax15.c
1113 $(SPLINTR) +quiet csyntax16.c -expect 2
1114 $(SPLINTR) +quiet csyntax17.c -expect 3
1118 $(SPLINTR) czechnames.c
1119 $(SPLINTR) +hints +czech czechnames.c -expect 2
1120 $(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1121 $(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1123 .PHONY: czechoslovaknames
1125 $(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1126 $(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1127 $(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1130 ### deadparam added 2001-05-27
1135 ${SPLINTR} deadparam.c -expect 3
1138 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1139 # function pointers correctly.
1144 $(SPLINTR) decl.c -expect 2
1145 $(SPLINTRN) decl.c +strict -exportlocal -expect 5
1146 $(SPLINTR) decl2 -expect 4
1150 $(SPLINTR) enum -expect 16
1151 $(SPLINTR) enum -misscase -expect 14
1155 $(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1156 $(SPLINTR) exports.c +exportany -expect 3
1157 $(SPLINTR) exports.c
1161 $(SPLINTR) external.c +partial
1162 $(SPLINTR) external.c +partial +distinctexternalnames -expect 2
1163 $(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1164 $(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1165 $(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1169 $(SPLINTR) fields.c +memchecks -expect 6
1170 $(SPLINTR) fields2.c +memchecks -expect 5
1171 $(SPLINTR) fields3.c +memchecks
1175 $(SPLINTR) flags.c -expect 8
1176 $(SPLINTR) +nocomments flags.c -expect 2
1178 ### Added 2001-06-02
1182 ${SPLINTR} forbody.c -expect 2
1184 ### Added 2001-06-03
1187 ${SPLINTR} format.c -expect 3
1188 ${SPLINTR} format.c -formatconst
1190 # two new errors (invalid lhs)
1194 $(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1198 $(SPLINTR) glob -expect 4
1199 $(SPLINTR) glob -globuse -expect 3
1200 $(SPLINTR) glob +globunspec -expect 6
1204 $(SPLINTR) -modifies globals.c -expect 5
1205 $(SPLINTR) -modifies globals.c +allglobals -expect 6
1206 $(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1207 $(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1208 $(SPLINTR) -modifies globals.c +globunspec -expect 6
1209 $(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1214 $(SPLINTR) -accessmodule impabstract.c
1215 $(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1216 $(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1218 ### evans 2001-10-14: Expected errors updated
1221 $(SPLINTR) init.c -expect 14
1222 $(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1226 $(SPLINTR) inparam.c -expect 2
1227 $(SPLINTR) +impouts inparam.c -expect 1
1231 $(SPLINTR) internal.c -expect 1
1232 $(SPLINTR) internal.c +distinctinternalnames -expect 2
1233 $(SPLINTR) internal.c -internalnamelen 28 -expect 3
1234 $(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1235 $(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1239 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1244 $(SPLINTR) iter -expect 14 -lclexpect 1
1245 $(SPLINTR) iter2.c -expect 12
1249 $(SPLINTR) keep.c +memchecks -expect 6
1252 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1253 ### 2001-05-30: 3 new errors found (formatconst)
1257 $(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1258 $(SPLINTR) libs.c -expect 22
1259 $(SPLINTR) libs.c +globunspec +modunspec -expect 25
1260 $(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1262 .PHONY: lintcomments
1264 $(SPLINTR) lintcomments.c -expect 4
1265 $(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1266 $(SPLINTR) lintcomments.c -lintcomments -expect 4
1270 $(SPLINTR) list.c -expect 3
1274 $(SPLINTR) macros -expect 17
1275 $(SPLINTR) macros.c +allmacros -expect 34
1276 $(SPLINTR) macros.c +fcnmacros -expect 31
1280 $(SPLINTR) macrosef -expect 4
1281 $(SPLINTR) macrosef.c +allmacros -expect 3
1282 $(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1286 $(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1290 $(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1294 $(SPLINTR) modtest -expect 10
1295 $(SPLINTR) modtest +modunspec -expect 13
1296 $(SPLINTR) modtest +mustmod -expect 14
1300 $(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1301 $(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1303 .PHONY: mongoincludes
1305 $(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1306 $(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1307 $(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1308 $(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1309 $(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1313 $(SPLINTR) mystrncat.c +arraybounds +arrayboundsread -expect 4
1317 ${SPLINT} -nof noeffect.c +allmacros +checks -expect 3
1321 $(SPLINTR) null1.c -expect 14
1322 $(SPLINTR) null1.c -null -expect 4
1323 $(SPLINTR) null2.c -expect 10
1324 $(SPLINTR) null3.c -expect 15
1325 $(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1326 $(SPLINTR) null4.c -expect 1
1327 $(SPLINTR) null5.c -expect 4
1328 $(SPLINTR) null6 -expect 4
1329 $(SPLINTR) +quiet null6.lcl -dump null6
1330 $(SPLINTR) null6.c -load null6 -expect 4
1332 ### Added for 3.0 (bugs reported by Kevin Broady)
1336 $(SPLINTR) nullret.c -expect 2
1337 $(SPLINTR) -nullret nullret.c -expect 1
1341 $(SPLINTR) nullassign.c -expect 2
1342 $(SPLINTR) -nullassign nullassign.c -expect 1
1345 # Before 2.4, expected one more because error was reported both as
1346 # dependent and observer.
1351 $(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1352 $(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1353 $(SPLINTR) observer.c -expect 7
1357 $(SPLINTR) oldstyle -expect 3
1361 $(SPLINTR) outglob -expect 10
1365 $(SPLINTR) outparam -expect 12
1367 ### evans 2001-08-26: postnotnull new
1371 ${SPLINTR} postnotnull.c -expect 1
1373 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1378 $(SPLINTR) +hints preds.c -expect 6
1379 $(SPLINTRN) +hints preds.c -weak -expect 1
1380 $(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1384 $(SPLINTR) prefixes.c +partial
1385 $(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1386 $(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1387 $(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1388 $(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1389 $(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1390 $(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1391 $(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1392 $(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1393 $(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1394 $(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1395 $(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1396 $(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1397 $(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1398 $(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1399 $(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1403 $(SPLINTR) printflike.c -expect 6
1404 $(SPLINTR) printflike.c -warnlintcomments -expect 5
1408 $(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1409 $(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1410 $(SPLINTR) -f rc1.splintrc rc.c -expect 1
1411 $(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1412 $(SPLINTR) -f rc3.splintrc rc.c -expect 1
1416 $(SPLINTR) refcounts.c -expect 7
1420 $(SPLINTR) release.c +memchecks -expect 1
1424 $(SPLINTR) +lh repexpose +memchecks -expect 12
1425 $(SPLINTR) repexpose +memchecks +retalias -expect 15
1426 $(SPLINTRN) repexpose +checks -exportlocal -expect 27
1428 ### returned added 2001-05-27
1429 ### (Bug discovered checking splint sources.)
1433 ${SPLINTR} returned.c -expect 1
1437 $(SPLINTR) sharing1.c -expect 21
1438 $(SPLINTR) sharing3.c -expect 3
1439 $(SPLINTR) sharing4.c -expect 13
1440 $(SPLINTR) sharing4.c -paramimptemp -expect 12
1441 $(SPLINTR) sharing5.c -expect 6
1445 $(SPLINTR) +hints slovaknames.c -expect 1
1446 $(SPLINTR) +hints slovaknames.c +accessslovak
1447 $(SPLINTR) +hints +slovak slovaknames.c -expect 3
1448 $(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1449 $(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1453 $(SPLINTR) specclauses.c -expect 6
1454 $(SPLINTR) specclauses2.c -expect 8
1455 $(SPLINTR) specclauses3.c -expect 6
1456 $(SPLINTR) specclauses4.c -expect 3
1457 $(SPLINTR) specclauses5.c -expect 3
1461 $(SPLINTR) special -expect 20
1462 $(SPLINTR) special -relaxquals -expect 22
1466 $(SPLINTR) stack.c -expect 5
1467 $(SPLINTR) stack.c -stackref
1471 $(SPLINTR) staticarray.c -expect 3
1475 $(SPLINTR) strings.c -expect 3
1476 $(SPLINTR) -readonlystrings -expect 1 strings.c
1477 $(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1479 .PHONY: structassign
1481 $(SPLINTR) structassign.c -expect 4
1485 $(SPLINTR) typequals.c tq.lcl -expect 5
1486 $(SPLINTR) typequals.c -expect 2
1490 $(SPLINTR) ud.c -expect 9
1491 $(SPLINTR) ud2 -specundef -expect 3
1495 $(SPLINTR) ulstypes.c -expect 8
1496 $(SPLINTR) ulstypes.c +ignorequals
1497 $(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1498 # 3 more detected with version 2.5 (change in -numliteral setting)
1502 $(SPLINTR) +memchecks union.c -expect 8
1506 $(SPLINTR) unreachable.c -expect 5
1507 $(SPLINTR) -unreachable unreachable.c -expect 2
1508 $(SPLINTR) switch.c -expect 4
1510 .PHONY: unsignedcompare
1512 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1515 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1520 $(SPLINTRN) unused.c +checks -exportlocal -expect 5
1521 $(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1524 ### 2001-06-10: Provided by Jim Zalenka
1529 ${SPLINTRN} ullint.c -expect 5
1530 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1534 ${SPLINTRN} void.c -expect 2
1542 ${SPLINTR} linked.c -expect 4
1543 ${SPLINTR} linked2.c -expect 3
1544 ${SPLINTR} linked3.c -expect 5
1545 ${SPLINTR} linked4.c -expect 6
1546 ${SPLINTR} linked5.c -expect 4
1547 ${SPLINTR} linked6.c -expect 4
1551 ${SPLINTR} freearray.c -expect 1
1555 $(SPLINTR) +arraybounds +arrayboundsread sizeof.c -expect 1
1559 $(SPLINTR) +arraybounds +arrayboundsread buffertest1.c -expect 5
1561 .PHONY: $(SUBDIRTESTS)
1563 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1564 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1565 # Otherwise a system limit (for SysV at least) may be exceeded.