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
22 exec_prefix = ${prefix}
24 bindir = ${exec_prefix}/bin
25 sbindir = ${exec_prefix}/sbin
26 libexecdir = ${exec_prefix}/libexec
27 datadir = ${prefix}/share
28 sysconfdir = ${prefix}/etc
29 sharedstatedir = ${prefix}/com
30 localstatedir = ${prefix}/var
31 libdir = ${exec_prefix}/lib
32 infodir = ${prefix}/info
33 mandir = ${prefix}/man
34 includedir = ${prefix}/include
35 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/splint
37 pkglibdir = $(libdir)/splint
38 pkgincludedir = $(includedir)/splint
41 ACLOCAL = ${SHELL} /af9/drl7x/reTmp/LCLintDev/config/missing --run aclocal
42 AUTOCONF = ${SHELL} /af9/drl7x/reTmp/LCLintDev/config/missing --run autoconf
43 AUTOMAKE = ${SHELL} /af9/drl7x/reTmp/LCLintDev/config/missing --run automake
44 AUTOHEADER = ${SHELL} /af9/drl7x/reTmp/LCLintDev/config/missing --run autoheader
46 INSTALL = /usr/bin/install -c
47 INSTALL_PROGRAM = ${INSTALL}
48 INSTALL_DATA = ${INSTALL} -m 644
49 INSTALL_SCRIPT = ${INSTALL}
50 INSTALL_HEADER = $(INSTALL_DATA)
59 build_triplet = i686-pc-linux-gnu
61 host_triplet = i686-pc-linux-gnu
63 target_triplet = i686-pc-linux-gnu
64 AMTAR = ${SHELL} /af9/drl7x/reTmp/LCLintDev/config/missing --run tar
75 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
76 LCLOBJ = $(lcl_OBJECTS)
86 install_sh = /af9/drl7x/reTmp/LCLintDev/config/install-sh
88 AUTOMAKE_OPTIONS = 1.5 foreign
95 #drl 3/27/2002 get the test suit to print a warning when splint is built under /usr/
96 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
98 ### These are shell-specific
100 ### This is horrible! Can't we make top_builddir absolute?
101 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
103 SPLINTPNEST = @$(SPLINTNEST) -nof
104 SPLINTP = @$(SPLINT) -nof
106 # Make sure .splintrc files are not used so test results do not
107 # depend on local settings.
108 SPLINTRN = $(SPLINTP) -hints -booltype "bool"
109 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
111 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
112 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
116 ### rcfiles not included becuase file names will not match exactly
120 abstptr abstract alias alttypes ansireserved argorder \
121 args arraydims arrayinit arraylit blocks break cases cast charlit clauses commentchar compdestroy \
122 compoundliterals compoundstmt constannot controldepth csyntax czechnames czechoslovaknames deadparam \
123 decl divzero enum exports external fields flags forbody format freearray \
124 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
125 linked lintcomments list loopexec looptesteffect \
126 macros macrosef merge mergenull modifies modtest moduncon \
127 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
128 parentype postnotnull preds prefixes printflike rc refcounts release repexpose \
129 returned sharing shifts slovaknames \
131 special stack staticarray strings \
133 structassign typequals typeof ud ulstypes union unioninit \
134 unnamedsu unreachable unsignedcompare \
135 unused ullint utypes void widestrings
137 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
140 ### warnuse doesn't work yet!
141 SUBDIRTESTS = metastate mergestate tainted fileio \
142 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
143 maxset strchr for manual\
144 tests2.2 tests2.4 tests2.5 db1 db2 db3
146 SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
150 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="
153 #drl temporally take this out.
156 # @echo "Saving old expects..."; \
157 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
158 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
159 # echo "Making $$TEST.expect..."; \
160 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
161 # cat $$TEST.expect; \
163 CheckSystemDir = (pwd | grep -q "/usr" && echo "Warning tests which not run correctly when splint is built in /usr or a subdirectory under /usr. Build splint in a different directory or disregard test failures." )
165 #drl 11/29/2001 This is a very ugly hack to get make dist to work
166 EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
167 ./abstptr.lcl ./abstptr.lcs \
168 ./alias.lcl ./alias.lcs \
169 ./alias2.lcl ./alias2.lcs \
240 ./repexpose.lh.expect \
257 ./globalbufferannotation/.splintrc \
260 ./tests2.2/bool.lcl \
261 ./tests2.2/bool.lcs \
262 ./tests2.2/libraries.lcd \
263 ./tests2.2/obsolete.lcd \
264 ./tests2.2/oldversion.lcd \
265 ./tests2.4/subdir/main.lcl \
266 ./tests2.4/subdir/main.lcs \
267 ./tests2.5/newlint.lcd \
268 ./warnuse/warnuse.lcd \
309 ./compoundliterals.c ./compoundliterals.expect \
310 ./compoundstmt.c ./compoundstmt.expect \
331 ./czechoslovaknames.c \
447 ./unsignedcompare.c \
451 ./conditions/miroslaw.c \
452 ./conditions/releases.c \
454 ./fileio/filebranch.c \
457 ./globalbufferannotation/globalvariable.c \
458 ./maxset/maxsetannotations.c \
459 ./maxset/maxsetnoannotations.c \
460 ./mergestate/taintednm.c \
462 ./metastate/file1.c \
463 ./metastate/file2.c \
464 ./metastate/file3.c \
465 ./metastate/file4.c \
466 ./metastate/file5.c \
467 ./metastate/file6.c \
468 ./metastate/file7.c \
469 ./metastate/filebad.c \
470 ./metastate/global.c \
471 ./metastate/nullbranch.c \
472 ./metastate/nullbranch2.c \
473 ./metastate/nullret.c \
475 ./metastate/sockets.c \
476 ./metastate/sockets2.c \
477 ./metastate/struct.c \
479 ./metastate/voidptr.c \
480 ./moreBufferTests/initialization.c \
481 ./moreBufferTests/simplifyTest.c \
482 ./moreBufferTests/strncatNotReallyGood.c \
483 ./moreBufferTests/strncatReallyGood.c \
484 ./moreBufferTests/strrchr.c \
485 ./moreBufferTests/unrecogCall.c \
486 ./nullterminatedtest/buggy1.c \
487 ./nullterminatedtest/buggy_support1.c \
488 ./nullterminatedtest/buggy_support_fmakeword.c \
489 ./nullterminatedtest/test1.c \
490 ./nullterminatedtest/test3.c \
491 ./simplebufferConstraintTests/m.c \
492 ./simplebufferConstraintTests/sizeof.c \
493 ./simplebufferConstraintTests/test3.c \
494 ./simplebufferConstraintTests/test7.c \
495 ./sizeoftest/sizeof.c \
497 ./suppressfile/test.c \
498 ./tainted/sprintf.c \
500 ./tainted/tainted.c \
501 ./tainted/tainted2.c \
502 ./tainted/tainted3.c \
503 ./tainted/tainted4.c \
504 ./tainted/tainted5.c \
505 ./tainted/taintedimplicit.c \
506 ./tainted/taintedmerge.c \
507 ./tainted/taintedx.c \
509 ./tclauses/globals.c \
511 ./tclauses/modifies.c \
512 ./tclauses/struct.c \
514 ./tests2.2/arbints.c \
515 ./tests2.2/arrayfcn.c \
516 ./tests2.2/booldef.c \
517 ./tests2.2/boolenum.c \
518 ./tests2.2/boolops.c \
520 ./tests2.2/bstring.c \
522 ./tests2.2/enumbool.c \
523 ./tests2.2/extension.c \
524 ./tests2.2/libraries.c \
525 ./tests2.2/modarray.c \
526 ./tests2.2/nestext.c \
527 ./tests2.2/offsetof.c \
529 ./tests2.2/realloc.c \
531 ./tests2.2/sizeofarray.c \
532 ./tests2.2/struct.c \
533 ./tests2.2a/addassign.c \
534 ./tests2.2a/arrayparam.c \
535 ./tests2.2a/bitops.c \
536 ./tests2.2a/boolcomp.c \
537 ./tests2.2a/boolenum.c \
541 ./tests2.2a/floatdouble.c \
542 ./tests2.2a/florian.c \
544 ./tests2.2a/isalpha.c \
545 ./tests2.2a/notreached.c \
546 ./tests2.2a/obviousloop.c \
547 ./tests2.2a/popik.c \
548 ./tests2.2a/sizeof.c \
549 ./tests2.2a/toralf.c \
550 ./tests2.4/subdir/main.c \
551 ./tests2.4/alignof.c \
553 ./tests2.4/bitfields.c \
558 ./tests2.4/cpptest.c \
559 ./tests2.4/driverstub.c \
561 ./tests2.4/emptycase.c \
562 ./tests2.4/enumtest.c \
565 ./tests2.4/flagequal.c \
566 ./tests2.4/forward.c \
568 ./tests2.4/hexconstants.c \
569 ./tests2.4/innercomment.c \
570 ./tests2.4/komazi.c \
571 ./tests2.4/longlong.c \
573 ./tests2.4/nothing.c \
574 ./tests2.4/offsetof.c \
577 ./tests2.4/syncomment.c \
578 ./tests2.4/syslog.c \
582 ./tests2.4/timecard.c \
583 ./tests2.4/toothman.c \
584 ./tests2.4/ulrich.c \
585 ./tests2.5/badcomment.c \
586 ./tests2.5/boolbad.c \
588 ./tests2.5/booltest.c \
589 ./tests2.5/dummyfile.c \
591 ./tests2.5/immutable.c \
592 ./tests2.5/impabsmodule.c \
593 ./tests2.5/literals.c \
596 ./tests2.5/testalt.c \
597 ./tests2.5/testimmutable.c \
598 ./tests2.5/uconstants.c \
600 ./warnuse/warnflags.c \
601 ./warnuse/warngets.c \
602 ./warnuse/warnuse.c \
603 ./moreBufferTests2/unknownsize.c \
604 ./moreBufferTests2/arrayConstExpr.c \
609 ansireserved.expect \
625 controldepth.expect \
628 czechoslovaknames.expect \
646 globalbufferannotation.expect \
657 lintcomments.expect \
659 longconstants.expect \
669 mongoincludes.expect \
670 moreBufferTests.expect \
671 moreBufferTests2.expect \
676 nullterminatedtest.expect \
689 repexpose.lh.expect \
692 simplebufferConstraintTests.expect \
702 structassign.expect \
716 unsignedcompare.expect \
755 ./metastate/global.h \
756 ./suppressfile/test.h \
758 ./tests2.4/forward.h \
760 ./tests2.4/timecard.h \
762 ./tests2.5/bimbim.h \
763 ./tests2.5/immutable.h \
764 ./tests2.5/impabsmodule.h \
765 ./tests2.5/socket.h \
766 ./Makefile-test.os2 \
770 ./conditions/Makefile \
773 ./globalbufferannotation/Makefile \
775 ./mergestate/Makefile \
776 ./metastate/Makefile \
777 ./moreBufferTests/Makefile \
778 ./simplebufferConstraintTests/Makefile \
782 ./tests2.2/Makefile \
783 ./tests2.2/Makefile-tests2.2.os2 \
784 ./tests2.4/Makefile \
785 ./tests2.4/Makefile-tests2.4.os2 \
786 ./tests2.5/Makefile \
790 ./moreBufferTests2/Makefile \
791 ./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 \
792 db2.old-expect union.pp warnuse.old-expect \
793 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect looptesteffect.expect \
794 unioninit.expect unioninit.c utypes.c \
795 utypes.expect widestrings.expect widestrings.c \
796 functionmacro.expect functionmacro.c info.c info.expect \
797 loopexec.c looptesteffect.c mergenull.c shifts.c \
798 manual.expect ./manual/Makefile \
799 ./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 \
800 arraydims.expect arraydims.c \
801 moreBufferTests2/fixedArrayType.c oldstyle2.c \
802 divzero.expect parentype.expect \
803 divzero.c parentype.c \
804 stringliteral.expect stringliteral.c
807 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
808 CONFIG_HEADER = $(top_builddir)/config.h
811 DIST_COMMON = Makefile.am Makefile.in
815 .SUFFIXES: .c .diff .expect
816 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
817 cd $(top_srcdir) && \
818 $(AUTOMAKE) --foreign test/Makefile
819 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
820 cd $(top_builddir) && \
821 CONFIG_HEADERS= CONFIG_LINKS= \
822 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
828 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
831 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
833 distdir: $(DISTFILES)
834 $(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
835 @for file in $(DISTFILES); do \
836 if test -f $$file; then d=.; else d=$(srcdir); fi; \
837 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
838 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
839 $(mkinstalldirs) "$(distdir)/$$dir"; \
841 if test -d $$d/$$file; then \
842 cp -pR $$d/$$file $(distdir) \
845 test -f $(distdir)/$$file \
846 || cp -p $$d/$$file $(distdir)/$$file \
857 install-exec: install-exec-am
858 install-data: install-data-am
859 uninstall: uninstall-am
862 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
864 installcheck: installcheck-am
866 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
867 `test -z '$(STRIP)' || \
868 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
874 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
876 maintainer-clean-generic:
877 @echo "This command is intended for maintainers to use"
878 @echo "it deletes files that may require special tools to rebuild."
881 clean-am: clean-generic clean-local mostlyclean-am
883 distclean: distclean-am
885 distclean-am: clean-am distclean-generic
899 install-info: install-info-am
905 maintainer-clean: maintainer-clean-am
907 maintainer-clean-am: distclean-am maintainer-clean-generic
909 mostlyclean: mostlyclean-am
911 mostlyclean-am: mostlyclean-generic
913 uninstall-am: uninstall-info-am
915 .PHONY: all all-am check check-am clean clean-generic clean-local \
916 distclean distclean-generic distdir dvi dvi-am info info-am \
917 install install-am install-data install-data-am install-exec \
918 install-exec-am install-info install-info-am install-man \
919 install-strip installcheck installcheck-am installdirs \
920 maintainer-clean maintainer-clean-generic mostlyclean \
921 mostlyclean-generic uninstall uninstall-am uninstall-info-am
929 -$(SPLINTP) -help version
935 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
938 -@$(SPLINTP) +boolint +boolint
939 -@$(SPLINTP) -help flags alpha
941 #commenting these out for the release because they will almost always fail
942 #since the default will only fit one system
943 #Don't want to panic the user...
944 # -@$(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> "
945 # -@$(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> "
946 # -@$(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> "
948 #larch and lclimportdir have different hardcoded default paths so don't include the path in the output..
952 -rm -f *~ #*# *.o *.lcs a.out
953 -cd db1; $(MAKE) clean
954 -cd db2; $(MAKE) clean
955 -cd db3; $(MAKE) clean
957 $(SPLINTTESTS): $(SPLINT)
960 cd $(top_builddir)/src; $(MAKE)
963 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
966 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
971 @for TEST in $(QUICKTESTS); do \
972 echo "Checking $$TEST..."; \
973 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
974 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
975 echo "*** FAIL ***"; \
980 @echo "Testing $(PACKAGE) $(VERSION)..."
982 @echo "Version Info:"
983 @$(SPLINTP) -help version
984 @$(SPLINTP) -help vars
988 @for TEST in $(SPLINTTESTS); do \
989 echo "Checking $$TEST..."; \
990 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
991 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
992 echo "*** FAIL ***"; \
995 ### Rules for tests start here
999 -$(SPLINTR) abstptr -expect 9
1000 -$(SPLINTR) abstptr +voidabstract -expect 6
1004 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
1009 -$(SPLINTR) mut alias +globalias -expect 19
1010 -$(SPLINTR) mut alias2 +globalias -expect 17
1011 -$(SPLINTR) +lh alias3 -expect 14
1012 -$(SPLINTR) +lh alias4 +boolint
1013 -$(SPLINTR) alias4 -pred +retalias -expect 6
1014 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
1018 -$(SPLINTR) alttypes.c -expect 2
1021 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1022 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1023 ### variable (could be a macro?)
1024 ### Reports 3 additional errors for +checks; no longer suppresses name errors
1025 ### in the presense of other errors.
1028 .PHONY: ansireserved
1030 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1031 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1032 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1033 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
1037 -$(SPLINTR) argorder.c -expect 4
1038 -$(SPLINTR) argorder2 -expect 5
1039 -$(SPLINTR) argorder3.c -expect 8
1040 -$(SPLINTR) argorder4 -expect 9
1041 -$(SPLINTR) argorder4 -evalorder -expect 1
1042 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
1046 -$(SPLINTR) args -noeffect -expect 12
1050 -$(SPLINTR) arraydims.c -varuse -expect 2
1051 -$(SPLINTR) arraydims.c -initsize -varuse
1055 -$(SPLINTR) arrayinit.c -expect 9
1059 -$(SPLINTR) arraylit.c -expect 2
1060 -$(SPLINTR) arraylit.c +stringliteralsmaller -expect 4
1064 -$(SPLINTR) blocks.c -expect 4
1065 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1066 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1067 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1068 -$(SPLINTR) blocks.c +allempty -expect 6
1069 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1073 -$(SPLINTR) break.c -expect 4
1074 -$(SPLINTR) break.c +deepbreak -expect 6
1075 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1079 -$(SPLINTR) cases.c -expect 5
1080 -$(SPLINTR) cases2.c -expect 2
1081 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1082 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1086 -$(SPLINTR) cast -accessmodule -expect 20
1087 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1089 ### Two addition errors detected with 2.5 with -numliteral.
1093 -$(SPLINTR) +hints charlit.c -expect 4
1094 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
1095 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1099 -$(SPLINTR) clauses.c +memchecks -expect 4
1100 -$(SPLINTR) clauses2.c +memchecks
1101 -$(SPLINTR) clauses3.c +memchecks -expect 2
1102 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1106 -$(SPLINTR) commentchar.c -expect 4
1107 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
1109 .PHONY: controldepth
1111 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1112 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1116 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1117 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1118 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1119 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1121 .PHONY: compoundliterals
1123 ${SPLINTRN} compoundliterals.c
1125 .PHONY: compoundstmt
1127 ${SPLINTRN} compoundstmt.c -expect 3
1131 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
1135 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1136 -$(SPLINTR) +quiet csyntax2.c -expect 2
1137 -$(SPLINTR) +quiet csyntax3.c -expect 1
1138 -$(SPLINTR) +quiet -incondefs csyntax4.c
1139 -$(SPLINTR) +quiet csyntax5.c
1140 -$(SPLINTR) +quiet csyntax6.c
1141 -$(SPLINTR) +quiet csyntax7.c
1142 -$(SPLINTR) +quiet csyntax8.c
1143 -$(SPLINTR) +quiet csyntax9.c
1144 -$(SPLINTR) +quiet csyntax10.c
1145 -$(SPLINTR) +quiet csyntax11.c
1146 -$(SPLINTR) +quiet csyntax12.c
1147 -$(SPLINTR) +quiet csyntax13.c -expect 1
1148 -$(SPLINTR) +quiet csyntax14.c
1149 -$(SPLINTR) +quiet csyntax15.c
1150 -$(SPLINTR) +quiet csyntax16.c -expect 2
1151 -$(SPLINTR) +quiet csyntax17.c -expect 3
1155 -$(SPLINTR) czechnames.c
1156 -$(SPLINTR) +hints +czech czechnames.c -expect 2
1157 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1158 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1160 .PHONY: czechoslovaknames
1162 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1163 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1164 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1167 ### deadparam added 2001-05-27
1172 ${SPLINTR} deadparam.c -expect 3
1175 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1176 # function pointers correctly.
1181 -$(SPLINTR) decl.c -expect 2
1182 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
1183 -$(SPLINTR) decl2 -expect 4
1187 -$(SPLINTR) divzero.c -varuse -expect 0
1191 -$(SPLINTR) enum -expect 16
1192 -$(SPLINTR) enum -misscase -expect 14
1196 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1197 -$(SPLINTR) exports.c +exportany -expect 3
1198 -$(SPLINTR) exports.c
1202 -$(SPLINTR) external.c +partial
1203 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
1204 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1205 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1206 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1210 -$(SPLINTR) fields.c +memchecks -expect 6
1211 -$(SPLINTR) fields2.c +memchecks -expect 5
1212 -$(SPLINTR) fields3.c +memchecks
1216 -$(SPLINTR) flags.c -expect 8
1217 -$(SPLINTR) +nocomments flags.c -expect 2
1219 ### Added 2001-06-02
1223 ${SPLINTR} forbody.c -expect 2
1225 ### Added 2001-06-03
1228 ${SPLINTR} format.c -expect 3
1229 ${SPLINTR} format.c -formatconst
1231 # two new errors (invalid lhs)
1235 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1237 .PHONY: functionmacro
1239 -$(SPLINTR) functionmacro.c -expect 2
1243 -$(SPLINTR) glob -expect 4
1244 -$(SPLINTR) glob -globuse -expect 3
1245 -$(SPLINTR) glob +globunspec -expect 6
1249 -$(SPLINTR) -modifies globals.c -expect 5
1250 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
1251 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1252 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1253 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
1254 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1259 -$(SPLINTR) -accessmodule impabstract.c
1260 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1261 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1264 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1265 ### (Reported by Pierluigi Sanzani)
1269 ${SPLINTR} info.c -expect 4
1271 ### evans 2001-10-14: Expected errors updated
1274 -$(SPLINTR) init.c -expect 14
1275 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1279 -$(SPLINTR) inparam.c -expect 2
1280 -$(SPLINTR) +impouts inparam.c -expect 1
1284 -$(SPLINTR) internal.c -expect 1
1285 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
1286 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
1287 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
1288 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1289 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1293 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1298 -$(SPLINTR) iter -expect 14 -lclexpect 1
1299 -$(SPLINTR) iter2.c -expect 12
1303 -$(SPLINTR) keep.c +memchecks -expect 6
1306 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1307 ### 2001-05-30: 3 new errors found (formatconst)
1311 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1312 -$(SPLINTR) libs.c -expect 22
1313 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
1314 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1316 .PHONY: lintcomments
1318 -$(SPLINTR) lintcomments.c -expect 5
1319 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1320 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
1324 -$(SPLINTR) list.c -expect 3
1327 ### 2002-01-01: Added test case for obvious loop execution.
1332 -$(SPLINTR) loopexec.c -expect 1
1333 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
1335 .PHONY: looptesteffect
1337 -$(SPLINTR) looptesteffect.c -expect 1
1341 -$(SPLINTR) macros -expect 17
1342 -$(SPLINTR) macros.c +allmacros -expect 34
1343 -$(SPLINTR) macros.c +fcnmacros -expect 31
1347 -$(SPLINTR) macrosef -expect 4
1348 -$(SPLINTR) macrosef.c +allmacros -expect 3
1349 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1353 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1357 -$(SPLINTRN) mergenull.c
1361 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1365 -$(SPLINTR) modtest -expect 10
1366 -$(SPLINTR) modtest +modunspec -expect 13
1367 -$(SPLINTR) modtest +mustmod -expect 14
1371 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1372 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1374 .PHONY: mongoincludes
1376 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1377 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1378 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1379 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1380 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1384 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
1388 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
1391 ### 2002-01-01: null1.c: expect increased to 15 because out must be defined
1392 ### checking detects one new error
1397 -$(SPLINTR) null1.c -expect 15
1398 -$(SPLINTR) null1.c -null -mustdefine -expect 4
1399 -$(SPLINTR) null2.c -expect 11
1400 -$(SPLINTR) null3.c -expect 15
1401 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1402 -$(SPLINTR) null4.c -expect 1
1403 -$(SPLINTR) null5.c -expect 4
1404 -$(SPLINTR) null6 -expect 4
1405 -$(SPLINTR) +quiet null6.lcl -dump null6
1406 -$(SPLINTR) null6.c -load null6 -expect 4
1408 ### Added for 3.0 (bugs reported by Kevin Broady)
1412 -$(SPLINTR) nullret.c -expect 2
1413 -$(SPLINTR) -nullret nullret.c -expect 1
1417 -$(SPLINTR) nullassign.c -expect 2
1418 -$(SPLINTR) -nullassign nullassign.c -expect 1
1421 # Before 2.4, expected one more because error was reported both as
1422 # dependent and observer.
1427 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1428 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1429 -$(SPLINTR) observer.c -expect 7
1433 -$(SPLINTR) oldstyle oldstyle2.c -expect 5
1437 -$(SPLINTR) outglob -expect 10
1441 -$(SPLINTR) outparam -expect 12
1443 ### evans 2001-08-26: postnotnull new
1447 ${SPLINTR} postnotnull.c -expect 1
1449 ### evans 2002-02-09: added parentype.c
1452 ${SPLINTR} parentype.c
1455 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1460 -$(SPLINTR) +hints preds.c -expect 6
1461 -$(SPLINTRN) +hints preds.c -weak -expect 1
1462 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1466 -$(SPLINTR) prefixes.c +partial
1467 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1468 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1469 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1470 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1471 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1472 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1473 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1474 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1475 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1476 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1477 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1478 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1479 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1480 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1481 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1485 -$(SPLINTR) printflike.c -expect 6
1486 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
1490 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1491 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1492 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
1493 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1494 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
1498 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
1502 -$(SPLINTR) refcounts.c -expect 7
1506 -$(SPLINTR) release.c +memchecks -expect 1
1510 -$(SPLINTR) +lh repexpose +memchecks -expect 12
1511 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
1512 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
1514 ### returned added 2001-05-27
1515 ### (Bug discovered checking splint sources.)
1519 ${SPLINTR} returned.c -expect 1
1523 -$(SPLINTR) sharing1.c -expect 21
1524 -$(SPLINTR) sharing3.c -expect 3
1525 -$(SPLINTR) sharing4.c -expect 13
1526 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
1527 -$(SPLINTR) sharing5.c -expect 6
1531 -$(SPLINTR) shifts.c -expect 4
1532 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
1533 -$(SPLINTR) shifts.c -shiftnegative -expect 1
1537 -$(SPLINTR) +hints slovaknames.c -expect 1
1538 -$(SPLINTR) +hints slovaknames.c +accessslovak
1539 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
1540 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1541 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1545 -$(SPLINTR) specclauses.c -expect 6
1546 -$(SPLINTR) specclauses2.c -expect 8
1547 -$(SPLINTR) specclauses3.c -expect 6
1548 -$(SPLINTR) specclauses4.c -expect 3
1549 -$(SPLINTR) specclauses5.c -expect 3
1551 .PHONY: specclauses1
1553 -$(SPLINTR) specclauses.c -expect 6
1555 .PHONY: specclauses2
1557 -$(SPLINTR) specclauses2.c -expect 8
1559 .PHONY: specclauses3
1561 -$(SPLINTR) specclauses3.c -expect 6
1563 .PHONY: specclauses4
1565 -$(SPLINTR) specclauses4.c -expect 3
1567 .PHONY: specclauses5
1569 -$(SPLINTR) specclauses5.c -expect 3
1573 -$(SPLINTR) special -expect 20
1574 -$(SPLINTR) special -relaxquals -expect 22
1578 -$(SPLINTR) stack.c -expect 5
1579 -$(SPLINTR) stack.c -stackref
1583 -$(SPLINTR) staticarray.c -expect 3
1586 ### evans 2002-03-16: Default setting of stringliteralnoroomfinalnull changed
1589 .PHONY: stringliteral
1591 -$(SPLINTR) stringliteral.c -stringliteralnoroomfinalnull -expect 3
1592 -$(SPLINTR) stringliteral.c -expect 4
1596 -$(SPLINTR) strings.c -expect 3
1597 -$(SPLINTR) -readonlystrings -expect 1 strings.c
1598 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1600 .PHONY: structassign
1602 -$(SPLINTR) structassign.c -expect 4
1606 -$(SPLINTR) typeof.c -expect 2
1610 -$(SPLINTR) typequals.c tq.lcl -expect 5
1611 -$(SPLINTR) typequals.c -expect 2
1615 -$(SPLINTR) ud.c -expect 9
1616 -$(SPLINTR) ud2 -specundef -expect 3
1620 -$(SPLINTR) ulstypes.c -expect 8
1621 -$(SPLINTR) ulstypes.c +ignorequals
1622 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1624 # 3 more detected with version 2.5 (change in -numliteral setting)
1628 -$(SPLINTR) +memchecks union.c -expect 8
1631 ### Added 2001-12-30: fixed union initializer checking in response to
1632 ### bug report from Jim Zelenka.
1637 -$(SPLINTR) unioninit.c -expect 2
1641 -$(SPLINTR) unnamedsu.c -expect 0
1645 -$(SPLINTR) unreachable.c -expect 5
1646 -$(SPLINTR) -unreachable unreachable.c -expect 2
1647 -$(SPLINTR) switch.c -expect 4
1649 .PHONY: unsignedcompare
1651 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1654 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1659 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
1660 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1663 ### 2001-06-10: Provided by Jim Zalenka
1668 ${SPLINTRN} ullint.c -expect 5
1669 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1672 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1677 ${SPLINTRN} utypes.c -expect 6
1683 ${SPLINTRN} void.c -expect 2
1686 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1691 ${SPLINTRN} widestrings.c -expect 2
1699 ${SPLINTR} linked.c -expect 4
1700 ${SPLINTR} linked2.c -expect 3
1701 ${SPLINTR} linked3.c -expect 5
1702 ${SPLINTR} linked4.c -expect 6
1703 ${SPLINTR} linked5.c -expect 4
1704 ${SPLINTR} linked6.c -expect 4
1708 ${SPLINTR} freearray.c -expect 1
1712 -$(SPLINTR) +bounds sizeof.c -expect 1
1716 -$(SPLINTR) +bounds buffertest1.c -expect 5
1718 .PHONY: $(SUBDIRTESTS)
1720 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1721 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1722 # Otherwise a system limit (for SysV at least) may be exceeded.