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} /net/af9/drl7x/reTmp/LCLintDev/config/missing --run aclocal
42 AUTOCONF = ${SHELL} /net/af9/drl7x/reTmp/LCLintDev/config/missing --run autoconf
43 AUTOMAKE = ${SHELL} /net/af9/drl7x/reTmp/LCLintDev/config/missing --run automake
44 AUTOHEADER = ${SHELL} /net/af9/drl7x/reTmp/LCLintDev/config/missing --run autoheader
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} /net/af9/drl7x/reTmp/LCLintDev/config/missing --run tar
75 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
76 LCLOBJ = $(lcl_OBJECTS)
86 install_sh = /net/af9/drl7x/reTmp/LCLintDev/config/install-sh
88 AUTOMAKE_OPTIONS = 1.5 foreign
94 SPLINT = $(top_builddir)/src/splint$(EXEEXT)
96 ### This is horrible! Can't we make top_builddir absolute?
97 SPLINTNEST = ../$(top_builddir)/src/splint$(EXEEXT)
99 SPLINTPNEST = @$(SPLINTNEST) -nof
100 SPLINTP = @$(SPLINT) -nof
102 # Make sure .splintrc files are not used so test results do not
103 # depend on local settings.
104 SPLINTRN = $(SPLINTP) -hints -booltype "bool"
105 SPLINTR = $(SPLINTRN) -exportlocal +debugfcnconstraint
107 SPLINTRNNEST = $(SPLINTPNEST) -hints -booltype "bool"
108 SPLINTRNEST = $(SPLINTRNNEST) -exportlocal +debugfcnconstraint
112 ### rcfiles not included becuase file names will not match exactly
116 abstptr abstract alias alttypes ansireserved argorder \
117 args blocks break cases cast charlit clauses commentchar compdestroy \
118 constannot controldepth csyntax czechnames czechoslovaknames deadparam \
119 decl enum exports external fields flags forbody format freearray \
120 funcpointer functionmacro glob globals impabstract info init inparam internal iter keep libs \
121 linked lintcomments list loopexec \
122 macros macrosef merge mergenull modifies modtest moduncon \
123 mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
124 postnotnull preds prefixes printflike rc refcounts release repexpose \
125 returned sharing shifts slovaknames \
127 special stack staticarray strings \
128 structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
129 unused ullint utypes void widestrings
131 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
134 ### warnuse doesn't work yet!
135 SUBDIRTESTS = metastate mergestate tainted fileio \
136 simplebufferConstraintTests moreBufferTests moreBufferTests2 globalbufferannotation \
137 maxset strchr for manual\
138 tests2.2 tests2.4 tests2.5 db1 db2 db3
140 SPLINTTESTS = $(UNITTESTS) $(SUBDIRTESTS)
144 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="
146 #drl 11/29/2001 This is a very ugly hack to get make dist to work
147 EXTRA_DIST = ./abst_t.lcl ./abst_t.lcs \
148 ./abstptr.lcl ./abstptr.lcs \
149 ./alias.lcl ./alias.lcs \
150 ./alias2.lcl ./alias2.lcs \
221 ./repexpose.lh.expect \
238 ./globalbufferannotation/.splintrc \
241 ./tests2.2/bool.lcl \
242 ./tests2.2/bool.lcs \
243 ./tests2.2/libraries.lcd \
244 ./tests2.2/obsolete.lcd \
245 ./tests2.2/oldversion.lcd \
246 ./tests2.4/subdir/main.lcl \
247 ./tests2.4/subdir/main.lcs \
248 ./tests2.5/newlint.lcd \
249 ./warnuse/warnuse.lcd \
309 ./czechoslovaknames.c \
425 ./unsignedcompare.c \
428 ./conditions/miroslaw.c \
429 ./conditions/releases.c \
431 ./fileio/filebranch.c \
434 ./globalbufferannotation/globalvariable.c \
435 ./maxset/maxsetannotations.c \
436 ./maxset/maxsetnoannotations.c \
437 ./mergestate/taintednm.c \
439 ./metastate/file1.c \
440 ./metastate/file2.c \
441 ./metastate/file3.c \
442 ./metastate/file4.c \
443 ./metastate/file5.c \
444 ./metastate/file6.c \
445 ./metastate/file7.c \
446 ./metastate/filebad.c \
447 ./metastate/global.c \
448 ./metastate/nullbranch.c \
449 ./metastate/nullbranch2.c \
450 ./metastate/nullret.c \
452 ./metastate/sockets.c \
453 ./metastate/sockets2.c \
454 ./metastate/struct.c \
456 ./metastate/voidptr.c \
457 ./moreBufferTests/initialization.c \
458 ./moreBufferTests/simplifyTest.c \
459 ./moreBufferTests/strncatNotReallyGood.c \
460 ./moreBufferTests/strncatReallyGood.c \
461 ./moreBufferTests/strrchr.c \
462 ./moreBufferTests/unrecogCall.c \
463 ./nullterminatedtest/buggy1.c \
464 ./nullterminatedtest/buggy_support1.c \
465 ./nullterminatedtest/buggy_support_fmakeword.c \
466 ./nullterminatedtest/test1.c \
467 ./nullterminatedtest/test3.c \
468 ./simplebufferConstraintTests/m.c \
469 ./simplebufferConstraintTests/sizeof.c \
470 ./simplebufferConstraintTests/test3.c \
471 ./simplebufferConstraintTests/test7.c \
472 ./sizeoftest/sizeof.c \
474 ./suppressfile/test.c \
475 ./tainted/sprintf.c \
477 ./tainted/tainted.c \
478 ./tainted/tainted2.c \
479 ./tainted/tainted3.c \
480 ./tainted/tainted4.c \
481 ./tainted/tainted5.c \
482 ./tainted/taintedimplicit.c \
483 ./tainted/taintedmerge.c \
484 ./tainted/taintedx.c \
486 ./tclauses/globals.c \
488 ./tclauses/modifies.c \
489 ./tclauses/struct.c \
491 ./tests2.2/arbints.c \
492 ./tests2.2/arrayfcn.c \
493 ./tests2.2/booldef.c \
494 ./tests2.2/boolenum.c \
495 ./tests2.2/boolops.c \
497 ./tests2.2/bstring.c \
499 ./tests2.2/enumbool.c \
500 ./tests2.2/extension.c \
501 ./tests2.2/libraries.c \
502 ./tests2.2/modarray.c \
503 ./tests2.2/nestext.c \
504 ./tests2.2/offsetof.c \
506 ./tests2.2/realloc.c \
508 ./tests2.2/sizeofarray.c \
509 ./tests2.2/struct.c \
510 ./tests2.2a/addassign.c \
511 ./tests2.2a/arrayparam.c \
512 ./tests2.2a/bitops.c \
513 ./tests2.2a/boolcomp.c \
514 ./tests2.2a/boolenum.c \
518 ./tests2.2a/floatdouble.c \
519 ./tests2.2a/florian.c \
521 ./tests2.2a/isalpha.c \
522 ./tests2.2a/notreached.c \
523 ./tests2.2a/obviousloop.c \
524 ./tests2.2a/popik.c \
525 ./tests2.2a/sizeof.c \
526 ./tests2.2a/toralf.c \
527 ./tests2.4/subdir/main.c \
528 ./tests2.4/alignof.c \
530 ./tests2.4/bitfields.c \
535 ./tests2.4/cpptest.c \
536 ./tests2.4/driverstub.c \
538 ./tests2.4/emptycase.c \
539 ./tests2.4/enumtest.c \
542 ./tests2.4/flagequal.c \
543 ./tests2.4/forward.c \
545 ./tests2.4/hexconstants.c \
546 ./tests2.4/innercomment.c \
547 ./tests2.4/komazi.c \
548 ./tests2.4/longlong.c \
550 ./tests2.4/nothing.c \
551 ./tests2.4/offsetof.c \
554 ./tests2.4/syncomment.c \
555 ./tests2.4/syslog.c \
559 ./tests2.4/timecard.c \
560 ./tests2.4/toothman.c \
561 ./tests2.4/ulrich.c \
562 ./tests2.5/badcomment.c \
563 ./tests2.5/boolbad.c \
565 ./tests2.5/booltest.c \
566 ./tests2.5/dummyfile.c \
568 ./tests2.5/immutable.c \
569 ./tests2.5/impabsmodule.c \
570 ./tests2.5/literals.c \
573 ./tests2.5/testalt.c \
574 ./tests2.5/testimmutable.c \
575 ./tests2.5/uconstants.c \
577 ./warnuse/warnflags.c \
578 ./warnuse/warngets.c \
579 ./warnuse/warnuse.c \
580 ./moreBufferTests2/unknownsize.c \
581 ./moreBufferTests2/arrayConstExpr.c \
586 ansireserved.expect \
601 controldepth.expect \
604 czechoslovaknames.expect \
622 globalbufferannotation.expect \
633 lintcomments.expect \
635 longconstants.expect \
645 mongoincludes.expect \
646 moreBufferTests.expect \
647 moreBufferTests2.expect \
652 nullterminatedtest.expect \
665 repexpose.lh.expect \
668 simplebufferConstraintTests.expect \
678 structassign.expect \
691 unsignedcompare.expect \
730 ./metastate/global.h \
731 ./suppressfile/test.h \
733 ./tests2.4/forward.h \
735 ./tests2.4/timecard.h \
737 ./tests2.5/bimbim.h \
738 ./tests2.5/immutable.h \
739 ./tests2.5/impabsmodule.h \
740 ./tests2.5/socket.h \
741 ./Makefile-test.os2 \
745 ./conditions/Makefile \
748 ./globalbufferannotation/Makefile \
750 ./mergestate/Makefile \
751 ./metastate/Makefile \
752 ./moreBufferTests/Makefile \
753 ./simplebufferConstraintTests/Makefile \
757 ./tests2.2/Makefile \
758 ./tests2.2/Makefile-tests2.2.os2 \
759 ./tests2.4/Makefile \
760 ./tests2.4/Makefile-tests2.4.os2 \
761 ./tests2.5/Makefile \
765 ./moreBufferTests2/Makefile \
766 ./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 \
767 db2.old-expect union.pp warnuse.old-expect \
768 ./tests2.5/badcomment ./tests2.5/boolbad ./tests2.5/booltest ./tests2.5/uconstants loopexec.expect mergenull.expect shifts.expect \
769 unioninit.expect unioninit.c utypes.c \
770 utypes.expect widestrings.expect widestrings.c \
771 functionmacro.expect functionmacro.c info.c info.expect \
772 loopexec.c mergenull.c shifts.c \
773 manual.expect ./manual/Makefile \
774 ./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
777 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
778 CONFIG_HEADER = $(top_builddir)/config.h
781 DIST_COMMON = Makefile.am Makefile.in
785 .SUFFIXES: .c .diff .expect
786 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
787 cd $(top_srcdir) && \
788 $(AUTOMAKE) --foreign test/Makefile
789 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
790 cd $(top_builddir) && \
791 CONFIG_HEADERS= CONFIG_LINKS= \
792 CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
798 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
801 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
803 distdir: $(DISTFILES)
804 $(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
805 @for file in $(DISTFILES); do \
806 if test -f $$file; then d=.; else d=$(srcdir); fi; \
807 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
808 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
809 $(mkinstalldirs) "$(distdir)/$$dir"; \
811 if test -d $$d/$$file; then \
812 cp -pR $$d/$$file $(distdir) \
815 test -f $(distdir)/$$file \
816 || cp -p $$d/$$file $(distdir)/$$file \
827 install-exec: install-exec-am
828 install-data: install-data-am
829 uninstall: uninstall-am
832 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
834 installcheck: installcheck-am
836 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
837 `test -z '$(STRIP)' || \
838 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
844 -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
846 maintainer-clean-generic:
847 @echo "This command is intended for maintainers to use"
848 @echo "it deletes files that may require special tools to rebuild."
851 clean-am: clean-generic clean-local mostlyclean-am
853 distclean: distclean-am
855 distclean-am: clean-am distclean-generic
869 install-info: install-info-am
875 maintainer-clean: maintainer-clean-am
877 maintainer-clean-am: distclean-am maintainer-clean-generic
879 mostlyclean: mostlyclean-am
881 mostlyclean-am: mostlyclean-generic
883 uninstall-am: uninstall-info-am
885 .PHONY: all all-am check check-am clean clean-generic clean-local \
886 distclean distclean-generic distdir dvi dvi-am info info-am \
887 install install-am install-data install-data-am install-exec \
888 install-exec-am install-info install-info-am install-man \
889 install-strip installcheck installcheck-am installdirs \
890 maintainer-clean maintainer-clean-generic mostlyclean \
891 mostlyclean-generic uninstall uninstall-am uninstall-info-am
895 unexport LCLIMPORTDIR
902 -$(SPLINTP) -help version
908 -@LARCH_PATH=/dev/null; $(SPLINT) -nof empty.lcl
911 -@$(SPLINTP) +boolint +boolint
912 -@$(SPLINTP) -help flags alpha
913 -@$(SPLINTP) -help flags all
914 -@$(SPLINTP) -help flags full | $(GREP) -v " Path argument. Default: " | $(GREP) -v " lclimportdir <directory> "
915 -@$(SPLINTP) -help flags manual | $(GREP) -v " Path argument. Default: " | $(GREP) -v " lclimportdir <directory> "
917 #larch and lclimportdir have different hardcoded default paths so don't include the path in the output..
921 -rm -f *~ #*# *.o *.lcs a.out
922 -cd db1; $(MAKE) clean
923 -cd db2; $(MAKE) clean
924 -cd db3; $(MAKE) clean
926 $(SPLINTTESTS): $(SPLINT)
929 cd $(top_builddir)/src; $(MAKE)
932 $(MAKE) $* |& $(CLEANOUTPUT) >$*.expect && cat $*.expect
935 $(MAKE) $* |& $(CLEANOUTPUT) >$*.out && diff $*.expect $*.out
937 #drl temporally take this out.
940 # @echo "Saving old expects..."; \
941 # cat *.expect >expects-`date +"%y-%m-%d-%H"`
942 # @for TEST in $(UNITTESTS) $(INTEGTESTS); do \
943 # echo "Making $$TEST.expect..."; \
944 # $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.expect; \
945 # cat $$TEST.expect; \
950 @for TEST in $(QUICKTESTS); do \
951 echo "Checking $$TEST..."; \
952 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
953 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
954 echo "*** FAIL ***"; \
959 @echo "Testing $(PACKAGE) $(VERSION)..."
961 @echo "Version Info:"
962 @$(SPLINTP) -help version
963 @$(SPLINTP) -help vars
967 @for TEST in $(SPLINTTESTS); do \
968 echo "Checking $$TEST..."; \
969 $(MAKE) $$TEST 2>&1 | $(CLEANOUTPUT) >$$TEST.out && \
970 $(DIFF) $(DIFFFLAGS) $$TEST.expect $$TEST.out || \
971 echo "*** FAIL ***"; \
974 ### Rules for tests start here
978 -$(SPLINTR) abstptr -expect 9
979 -$(SPLINTR) abstptr +voidabstract -expect 6
983 -$(SPLINTR) abst_t.lcl commentcmd.c -expect 15
988 -$(SPLINTR) mut alias +globalias -expect 19
989 -$(SPLINTR) mut alias2 +globalias -expect 17
990 -$(SPLINTR) +lh alias3 -expect 14
991 -$(SPLINTR) +lh alias4 +boolint
992 -$(SPLINTR) alias4 -pred +retalias -expect 6
993 -$(SPLINTR) +lh alias5 +memchecks -null -specundef -expect 5
997 -$(SPLINTR) alttypes.c -expect 2
1000 ### evans 2001-06-07 - updated nameCheck.c to reflect C9X.
1001 ### Reports one new errors for ansireserved.c - wctomb is bad even as a local
1002 ### variable (could be a macro?)
1003 ### Reports 3 additional errors for +checks; no longer suppresses name errors
1004 ### in the presense of other errors.
1007 .PHONY: ansireserved
1009 -$(SPLINTR) ansireserved.c +ansireserved -nolib -expect 9
1010 -$(SPLINTR) ansireserved.c +ansireserved +ansireservedlocal -nolib -expect 11
1011 -$(SPLINTRN) ansireserved.c +checks -exportlocal -exportheadervar -exportheader -expect 12
1012 -$(SPLINTR) ansireserved2.c +ansireserved -expect 1
1016 -$(SPLINTR) argorder.c -expect 4
1017 -$(SPLINTR) argorder2 -expect 5
1018 -$(SPLINTR) argorder3.c -expect 8
1019 -$(SPLINTR) argorder4 -expect 9
1020 -$(SPLINTR) argorder4 -evalorder -expect 1
1021 -$(SPLINTR) argorder5.c +evalorderuncon -expect 3
1025 -$(SPLINTR) args -noeffect -expect 12
1029 -$(SPLINTR) blocks.c -expect 4
1030 -$(SPLINTR) blocks.c +ifblock +elseifcomplete -expect 7
1031 -$(SPLINTR) blocks.c -ifempty +whileempty +whileblock -expect 3
1032 -$(SPLINTR) blocks.c -ifempty +forempty +forblock -expect 3
1033 -$(SPLINTR) blocks.c +allempty -expect 6
1034 -$(SPLINTRN) blocks.c +strict -exportlocal +partial -exportheader -expect 11
1038 -$(SPLINTR) break.c -expect 4
1039 -$(SPLINTR) break.c +deepbreak -expect 6
1040 -$(SPLINTR) break.c +deepbreak -looploopbreak -expect 5
1044 -$(SPLINTR) cases.c -expect 5
1045 -$(SPLINTR) cases2.c -expect 2
1046 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -expect 3
1047 -$(SPLINTRN) cases2.c +checks -exportlocal -exportheader -branchstate -expect 3
1051 -$(SPLINTR) cast -accessmodule -expect 20
1052 -$(SPLINTRN) cast2.c +checks -exportlocal -exportheader -expect 3
1054 ### Two addition errors detected with 2.5 with -numliteral.
1058 -$(SPLINTR) +hints charlit.c -expect 4
1059 -$(SPLINTR) +hints -numliteral charlit.c -expect 6
1060 -$(SPLINTR) +hints charlit.c +charintliteral +ignoresigns
1064 -$(SPLINTR) clauses.c +memchecks -expect 4
1065 -$(SPLINTR) clauses2.c +memchecks
1066 -$(SPLINTR) clauses3.c +memchecks -expect 2
1067 -$(SPLINTR) clauses3.c +memchecks +unixlib -expect 3
1071 -$(SPLINTR) commentchar.c -expect 4
1072 -$(SPLINTR) -commentchar '#' commentchar.c -expect 4
1074 .PHONY: controldepth
1076 -$(SPLINTR) +hints -controlnestdepth 2 controldepth.c -expect 2
1077 -$(SPLINTR) +hints -controlnestdepth 1 controldepth.c -expect 2
1081 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader -expect 1
1082 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy -expect 2
1083 -$(SPLINTRN) compdestroy.c +checks -exportlocal -exportheader +strictdestroy +strictusereleased -expect 3
1084 -$(SPLINTRN) compdestroy.c +strict +partial -exportheader -expect 3
1088 ${SPLINTRN} constannot.c +boundswrite -exportlocal -expect 2
1092 -$(SPLINTR) +quiet -incondefs csyntax.c -expect 1
1093 -$(SPLINTR) +quiet csyntax2.c -expect 2
1094 -$(SPLINTR) +quiet csyntax3.c -expect 1
1095 -$(SPLINTR) +quiet -incondefs csyntax4.c
1096 -$(SPLINTR) +quiet csyntax5.c
1097 -$(SPLINTR) +quiet csyntax6.c
1098 -$(SPLINTR) +quiet csyntax7.c
1099 -$(SPLINTR) +quiet csyntax8.c
1100 -$(SPLINTR) +quiet csyntax9.c
1101 -$(SPLINTR) +quiet csyntax10.c
1102 -$(SPLINTR) +quiet csyntax11.c
1103 -$(SPLINTR) +quiet csyntax12.c
1104 -$(SPLINTR) +quiet csyntax13.c -expect 1
1105 -$(SPLINTR) +quiet csyntax14.c
1106 -$(SPLINTR) +quiet csyntax15.c
1107 -$(SPLINTR) +quiet csyntax16.c -expect 2
1108 -$(SPLINTR) +quiet csyntax17.c -expect 3
1112 -$(SPLINTR) czechnames.c
1113 -$(SPLINTR) +hints +czech czechnames.c -expect 2
1114 -$(SPLINTR) +hints +czech -czechvars czechnames.c -expect 1
1115 -$(SPLINTR) +hints +czech -accessczech czechnames.c -expect 6
1117 .PHONY: czechoslovaknames
1119 -$(SPLINTR) +hints +czechoslovak czechnames.c -expect 1
1120 -$(SPLINTR) +hints +czechoslovak slovaknames.c -expect 1
1121 -$(SPLINTR) +hints +czechoslovak +slovakvars slovaknames.c -expect 2
1124 ### deadparam added 2001-05-27
1129 ${SPLINTR} deadparam.c -expect 3
1132 # Was expect 3 before 2.4. Earlier versions did not handle implicit
1133 # function pointers correctly.
1138 -$(SPLINTR) decl.c -expect 2
1139 -$(SPLINTRN) decl.c +strict -exportlocal -expect 5
1140 -$(SPLINTR) decl2 -expect 4
1144 -$(SPLINTR) enum -expect 16
1145 -$(SPLINTR) enum -misscase -expect 14
1149 -$(SPLINTR) exports.c +exporttype +exportvar +exportfcn +topuse +typeuse -expect 6
1150 -$(SPLINTR) exports.c +exportany -expect 3
1151 -$(SPLINTR) exports.c
1155 -$(SPLINTR) external.c +partial
1156 -$(SPLINTR) external.c +partial +distinctexternalnames +ansi89limits -expect 2
1157 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 -expect 3
1158 -$(SPLINTR) external.c -nolib +partial -externalnamelength 3 +externalnamecaseinsensitive -expect 3
1159 -$(SPLINTR) external.c +partial -externalnamelength 3 -expect 4
1163 -$(SPLINTR) fields.c +memchecks -expect 6
1164 -$(SPLINTR) fields2.c +memchecks -expect 5
1165 -$(SPLINTR) fields3.c +memchecks
1169 -$(SPLINTR) flags.c -expect 8
1170 -$(SPLINTR) +nocomments flags.c -expect 2
1172 ### Added 2001-06-02
1176 ${SPLINTR} forbody.c -expect 2
1178 ### Added 2001-06-03
1181 ${SPLINTR} format.c -expect 3
1182 ${SPLINTR} format.c -formatconst
1184 # two new errors (invalid lhs)
1188 -$(SPLINTR) +memchecks +noparams funcpointer.c -expect 18
1190 .PHONY: functionmacro
1192 -$(SPLINTR) functionmacro.c -expect 2
1196 -$(SPLINTR) glob -expect 4
1197 -$(SPLINTR) glob -globuse -expect 3
1198 -$(SPLINTR) glob +globunspec -expect 6
1202 -$(SPLINTR) -modifies globals.c -expect 5
1203 -$(SPLINTR) -modifies globals.c +allglobals -expect 6
1204 -$(SPLINTR) -modifies globals.c +impcheckedglobals -expect 6
1205 -$(SPLINTR) -modifies globals.c -globals -checkstrictglobals -expect 2
1206 -$(SPLINTR) -modifies globals.c +globunspec -expect 6
1207 -$(SPLINTR) -modifies globals.c +globunspec +allglobals -expect 8
1212 -$(SPLINTR) -accessmodule impabstract.c
1213 -$(SPLINTR) -accessmodule +hints +impabstract impabstract.c -expect 2
1214 -$(SPLINTR) -accessmodule +hints +impabstract impabstract -expect 4
1217 ### evans 2001-12-30: Handle unrecognized pre-processor directives
1218 ### (Reported by Pierluigi Sanzani)
1222 ${SPLINTR} info.c -expect 4
1224 ### evans 2001-10-14: Expected errors updated
1227 -$(SPLINTR) init.c -expect 14
1228 -$(SPLINTRN) init.c +checks -exportlocal -exportheadervar -expect 17
1232 -$(SPLINTR) inparam.c -expect 2
1233 -$(SPLINTR) +impouts inparam.c -expect 1
1237 -$(SPLINTR) internal.c -expect 1
1238 -$(SPLINTR) internal.c +distinctinternalnames -expect 1
1239 -$(SPLINTR) internal.c +distinctinternalnames +ansi89limits -expect 2
1240 -$(SPLINTR) internal.c -internalnamelen 28 -expect 3
1241 -$(SPLINTR) internal.c +internalnamecaseinsensitive -expect 3
1242 -$(SPLINTR) internal.c +internalnamecaseinsensitive +internalnamelookalike -expect 11
1246 ### 2001-06-06: Error message for iter.lcl:3,6 fixed to iter.lcl:3:6
1251 -$(SPLINTR) iter -expect 14 -lclexpect 1
1252 -$(SPLINTR) iter2.c -expect 12
1256 -$(SPLINTR) keep.c +memchecks -expect 6
1259 ### 2001-05-22: 2 new errors found (fixed spec of signal)
1260 ### 2001-05-30: 3 new errors found (formatconst)
1264 -$(SPLINTR) libs.c +longunsignedunsignedintegral -expect 18
1265 -$(SPLINTR) libs.c -expect 22
1266 -$(SPLINTR) libs.c +globunspec +modunspec -expect 25
1267 -$(SPLINTR) libs.c +strictlib +globunspec +modunspec -expect 42
1269 .PHONY: lintcomments
1271 -$(SPLINTR) lintcomments.c -expect 5
1272 -$(SPLINTR) lintcomments.c -warnlintcomments -expect 1
1273 -$(SPLINTR) lintcomments.c -lintcomments -expect 4
1277 -$(SPLINTR) list.c -expect 3
1280 ### 2002-01-01: Added test case for obvious loop execution.
1285 -$(SPLINTR) loopexec.c -expect 1
1286 -$(SPLINTR) loopexec.c -obviousloopexec -expect 3
1290 -$(SPLINTR) macros -expect 17
1291 -$(SPLINTR) macros.c +allmacros -expect 34
1292 -$(SPLINTR) macros.c +fcnmacros -expect 31
1296 -$(SPLINTR) macrosef -expect 4
1297 -$(SPLINTR) macrosef.c +allmacros -expect 3
1298 -$(SPLINTR) macrosef.c +allmacros +sefuncon -expect 4
1302 -$(SPLINTRN) merge.c +checks -exportlocal -exportheadervar -exportheader -expect 3
1306 -$(SPLINTRN) mergenull.c
1310 -$(SPLINTR) modifies.c modclient.c +impcheckedstatics +mustmod -expect 7
1314 -$(SPLINTR) modtest -expect 10
1315 -$(SPLINTR) modtest +modunspec -expect 13
1316 -$(SPLINTR) modtest +mustmod -expect 14
1320 -$(SPLINTR) moduncon.c +moduncon -memchecks -expect 4
1321 -$(SPLINTRN) moduncon.c +strict -exportlocal -expect 22
1323 .PHONY: mongoincludes
1325 -$(SPLINTR) mongoincludes.c -includenest 1 -expect 19
1326 -$(SPLINTR) mongoincludes.c -includenest 2 -expect 10
1327 -$(SPLINTR) mongoincludes.c -includenest 3 -expect 4
1328 -$(SPLINTR) mongoincludes.c -includenest 4 -expect 1
1329 -$(SPLINTR) mongoincludes.c -includenest 5 -expect 0
1333 -$(SPLINTR) mystrncat.c +boundsread +boundswrite -expect 4
1337 ${SPLINTP} noeffect.c +allmacros +checks -expect 3
1340 ### 2002-01-01: null1.c: expect increased to 15 because out must be defined
1341 ### checking detects one new error
1346 -$(SPLINTR) null1.c -expect 15
1347 -$(SPLINTR) null1.c -null -mustdefine -expect 4
1348 -$(SPLINTR) null2.c -expect 11
1349 -$(SPLINTR) null3.c -expect 15
1350 -$(SPLINTR) null3.c -warnunixlib +unixlib -expect 16
1351 -$(SPLINTR) null4.c -expect 1
1352 -$(SPLINTR) null5.c -expect 4
1353 -$(SPLINTR) null6 -expect 4
1354 -$(SPLINTR) +quiet null6.lcl -dump null6
1355 -$(SPLINTR) null6.c -load null6 -expect 4
1357 ### Added for 3.0 (bugs reported by Kevin Broady)
1361 -$(SPLINTR) nullret.c -expect 2
1362 -$(SPLINTR) -nullret nullret.c -expect 1
1366 -$(SPLINTR) nullassign.c -expect 2
1367 -$(SPLINTR) -nullassign nullassign.c -expect 1
1370 # Before 2.4, expected one more because error was reported both as
1371 # dependent and observer.
1376 -$(SPLINTRN) observer +checks -exportlocal -exportheader -expect 9
1377 -$(SPLINTRN) observer.c +checks -exportlocal -exportheader -expect 8
1378 -$(SPLINTR) observer.c -expect 7
1382 -$(SPLINTR) oldstyle -expect 3
1386 -$(SPLINTR) outglob -expect 10
1390 -$(SPLINTR) outparam -expect 12
1392 ### evans 2001-08-26: postnotnull new
1396 ${SPLINTR} postnotnull.c -expect 1
1398 # Four new +fcnuse errors for -strict (evans 2001-07-22)
1403 -$(SPLINTR) +hints preds.c -expect 6
1404 -$(SPLINTRN) +hints preds.c -weak -expect 1
1405 -$(SPLINTRN) +hints preds.c -strict -exportlocal -exportheader -expect 12
1409 -$(SPLINTR) prefixes.c +partial
1410 -$(SPLINTRN) prefixes.c +allmacros +checks -exportlocal +partial -exportheader -exportheadervar -expect 4
1411 -$(SPLINTR) prefixes.c -typeprefix "T" -expect 2
1412 -$(SPLINTR) prefixes.c -typeprefix "^" -expect 1
1413 -$(SPLINTR) prefixes.c -typeprefix "^*" -expect 2
1414 -$(SPLINTR) prefixes.c -typeprefix "^%*" -expect 2
1415 -$(SPLINTR) prefixes.c -typeprefix "^~*" -expect 2
1416 -$(SPLINTR) prefixes.c -typeprefix "^" +typeprefixexclude -expect 7
1417 -$(SPLINTR) prefixes.c -filestaticprefix "^^" -expect 4
1418 -$(SPLINTR) prefixes.c -filestaticprefix "^#" -expect 5
1419 -$(SPLINTR) prefixes.c -filestaticprefix "^?&x" -expect 5
1420 -$(SPLINTR) prefixes.c -globalprefix "G" -expect 1
1421 -$(SPLINTR) prefixes.c -globalprefix "&G?_^" -expect 1
1422 -$(SPLINTR) prefixes.c -externalprefix "G" -expect 5
1423 -$(SPLINTR) prefixes.c -typeprefix "T" -externalprefix "G" -expect 4
1424 -$(SPLINTR) prefixes.c -localprefix "?*" +localprefixexclude -expect 13
1428 -$(SPLINTR) printflike.c -expect 6
1429 -$(SPLINTR) printflike.c -warnlintcomments -expect 5
1433 -$(SPLINTR) -DMYSTERY='"a flag\"wicked cool"' rc.c -expect 1
1434 -$(SPLINTR) -DMYSTERY=12 rc.c -expect 1
1435 -$(SPLINTR) -f rc1.splintrc rc.c -expect 1
1436 -$(SPLINTR) -UMYSTERY -f rc1.splintrc rc.c -expect 1
1437 -$(SPLINTR) -f rc3.splintrc rc.c -expect 1
1441 cd rcfiles; ${MAKE} SPLINT="-$(SPLINTPNEST)"
1445 -$(SPLINTR) refcounts.c -expect 7
1449 -$(SPLINTR) release.c +memchecks -expect 1
1453 -$(SPLINTR) +lh repexpose +memchecks -expect 12
1454 -$(SPLINTR) repexpose +memchecks +retalias -expect 15
1455 -$(SPLINTRN) repexpose +checks -exportlocal -expect 27
1457 ### returned added 2001-05-27
1458 ### (Bug discovered checking splint sources.)
1462 ${SPLINTR} returned.c -expect 1
1466 -$(SPLINTR) sharing1.c -expect 21
1467 -$(SPLINTR) sharing3.c -expect 3
1468 -$(SPLINTR) sharing4.c -expect 13
1469 -$(SPLINTR) sharing4.c -paramimptemp -expect 12
1470 -$(SPLINTR) sharing5.c -expect 6
1474 -$(SPLINTR) shifts.c -expect 4
1475 -$(SPLINTR) shifts.c -shiftimplementation -expect 3
1476 -$(SPLINTR) shifts.c -shiftnegative -expect 1
1480 -$(SPLINTR) +hints slovaknames.c -expect 1
1481 -$(SPLINTR) +hints slovaknames.c +accessslovak
1482 -$(SPLINTR) +hints +slovak slovaknames.c -expect 3
1483 -$(SPLINTR) +hints +slovak -slovakvars slovaknames.c -expect 2
1484 -$(SPLINTR) +hints +slovak -accessslovak slovaknames.c -expect 7
1488 -$(SPLINTR) specclauses.c -expect 6
1489 -$(SPLINTR) specclauses2.c -expect 8
1490 -$(SPLINTR) specclauses3.c -expect 6
1491 -$(SPLINTR) specclauses4.c -expect 3
1492 -$(SPLINTR) specclauses5.c -expect 3
1494 .PHONY: specclauses1
1496 -$(SPLINTR) specclauses.c -expect 6
1498 .PHONY: specclauses2
1500 -$(SPLINTR) specclauses2.c -expect 8
1502 .PHONY: specclauses3
1504 -$(SPLINTR) specclauses3.c -expect 6
1506 .PHONY: specclauses4
1508 -$(SPLINTR) specclauses4.c -expect 3
1510 .PHONY: specclauses5
1512 -$(SPLINTR) specclauses5.c -expect 3
1516 -$(SPLINTR) special -expect 20
1517 -$(SPLINTR) special -relaxquals -expect 22
1521 -$(SPLINTR) stack.c -expect 5
1522 -$(SPLINTR) stack.c -stackref
1526 -$(SPLINTR) staticarray.c -expect 3
1530 -$(SPLINTR) strings.c -expect 3
1531 -$(SPLINTR) -readonlystrings -expect 1 strings.c
1532 -$(SPLINTR) +modobserverstrict -maintype -expect 4 strings.c
1534 .PHONY: structassign
1536 -$(SPLINTR) structassign.c -expect 4
1540 -$(SPLINTR) typequals.c tq.lcl -expect 5
1541 -$(SPLINTR) typequals.c -expect 2
1545 -$(SPLINTR) ud.c -expect 9
1546 -$(SPLINTR) ud2 -specundef -expect 3
1550 -$(SPLINTR) ulstypes.c -expect 8
1551 -$(SPLINTR) ulstypes.c +ignorequals
1552 -$(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
1554 # 3 more detected with version 2.5 (change in -numliteral setting)
1558 -$(SPLINTR) +memchecks union.c -expect 8
1561 ### Added 2001-12-30: fixed union initializer checking in response to
1562 ### bug report from Jim Zelenka.
1567 -$(SPLINTR) unioninit.c -expect 2
1571 -$(SPLINTR) unreachable.c -expect 5
1572 -$(SPLINTR) -unreachable unreachable.c -expect 2
1573 -$(SPLINTR) switch.c -expect 4
1575 .PHONY: unsignedcompare
1577 ${SPLINTR} +posixlib unsignedcompare.c -expect 4
1580 ### 2001-06-08 evans: 2 new errors after fixing ansireserved name checks
1585 -$(SPLINTRN) unused.c +checks -exportlocal -expect 5
1586 -$(SPLINTRN) unused.c +checks -exportlocal +topuse -expect 8
1589 ### 2001-06-10: Provided by Jim Zalenka
1594 ${SPLINTRN} ullint.c -expect 5
1595 ${SPLINTRN} ullint.c +charint +charintliteral -expect 2
1598 ### 2001-12-30: Poor warnings reported by Peter Deutsch
1603 ${SPLINTRN} utypes.c -expect 6
1609 ${SPLINTRN} void.c -expect 2
1612 ### 2001-12-30: Problems with wide character strings reported by Nelson Beebe
1617 ${SPLINTRN} widestrings.c -expect 2
1625 ${SPLINTR} linked.c -expect 4
1626 ${SPLINTR} linked2.c -expect 3
1627 ${SPLINTR} linked3.c -expect 5
1628 ${SPLINTR} linked4.c -expect 6
1629 ${SPLINTR} linked5.c -expect 4
1630 ${SPLINTR} linked6.c -expect 4
1634 ${SPLINTR} freearray.c -expect 1
1638 -$(SPLINTR) +bounds sizeof.c -expect 1
1642 -$(SPLINTR) +bounds buffertest1.c -expect 5
1644 .PHONY: $(SUBDIRTESTS)
1646 cd $@; $(MAKE) SPLINT="$(SPLINTRNNEST)"
1647 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1648 # Otherwise a system limit (for SysV at least) may be exceeded.