diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-10-30 15:08:07 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-10-30 15:08:07 +0000 |
commit | 148d36993eb87d9b89f0abaf19479c0881c3ad18 (patch) | |
tree | 350f0aaec9b1536d95be686136bc388a11646c36 /Makefile | |
parent | e12bb97dc596c22048864eccecc06bc18bd34b39 (diff) | |
download | cups-148d36993eb87d9b89f0abaf19479c0881c3ad18.tar.gz |
Fix a few STACK-detected issues:
backend/ipp.c: Off-by-one error in quote_string
test/ipptool.c: Avoid possible optimizer error by using ippSetCollection API.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11369 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 25 insertions, 2 deletions
@@ -128,8 +128,11 @@ depend: # -# Run the clang.llvm.org static code analysis tool on the C sources. -# (at least checker-231 is required for scan-build to work this way) +# Run the Clang static code analysis tool on the sources, available here: +# +# http://clang-analyzer.llvm.org +# +# At least checker-231 is required. # .PHONY: clang clang-changes @@ -141,6 +144,26 @@ clang-changes: # +# Run the STACK tool on the sources, available here: +# +# http://css.csail.mit.edu/stack/ +# +# Do the following to pass options to configure: +# +# make CONFIGFLAGS="--foo --bar" stack +# + +.PHONY: stack +stack: + stack-build ./configure $(CONFIGFLAGS) + stack-build $(MAKE) $(MFLAGS) clean all + poptck + $(MAKE) $(MFLAGS) distclean + $(RM) */*.ll + $(RM) */*.ll.out + + +# # Generate a ctags file... # |