X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Makefile;h=4fbbb057806b2e0217f4c843727486452469305a;hb=240214ef2354ccad90d971e5d935cda6842e0697;hp=ca8416dae02bcb2a46e22bb3ab1b5fb2a1461d5e;hpb=a29fd7ddb5d63688a4d44d08e4ab16428921c321;p=thirdparty%2Fcups.git diff --git a/Makefile b/Makefile index ca8416dae..4fbbb0578 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ # -# "$Id: Makefile 9391 2010-11-30 21:53:04Z mike $" +# "$Id$" # -# Top-level Makefile for CUPS. +# Top-level Makefile for CUPS. # -# Copyright 2007-2012 by Apple Inc. -# Copyright 1997-2007 by Easy Software Products, all rights reserved. +# Copyright 2007-2013 by Apple Inc. +# Copyright 1997-2007 by Easy Software Products, all rights reserved. # -# These coded instructions, statements, and computer programs are the -# property of Apple Inc. and are protected by Federal copyright -# law. Distribution and use rights are outlined in the file "LICENSE.txt" -# which should have been included with this file. If this file is -# file is missing or damaged, see the license at "http://www.cups.org/". +# These coded instructions, statements, and computer programs are the +# property of Apple Inc. and are protected by Federal copyright +# law. Distribution and use rights are outlined in the file "LICENSE.txt" +# which should have been included with this file. If this file is +# file is missing or damaged, see the license at "http://www.cups.org/". # include Makedefs @@ -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 @@ -140,6 +143,26 @@ clang-changes: scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) all +# +# 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... # @@ -242,7 +265,7 @@ debugcheck: all unittests # -# Create HTML documentation... +# Create HTML documentation using Mini-XML's mxmldoc (http://www.msweet.org/)... # apihelp: @@ -259,7 +282,7 @@ framedhelp: # -# Create an Xcode docset... +# Create an Xcode docset using Mini-XML's mxmldoc (http://www.msweet.org/)... # docset: apihelp @@ -295,12 +318,12 @@ sloc: # -# Make software distributions using EPM (http://www.epmhome.org/)... +# Make software distributions using EPM (http://www.msweet.org/)... # EPMFLAGS = -v --output-dir dist $(EPMARCH) -aix bsd deb depot inst pkg setld slackware swinstall tardist: +bsd deb pkg slackware tardist: epm $(EPMFLAGS) -f $@ cups packaging/cups.list epm: @@ -316,7 +339,6 @@ dist: all case `uname` in \ *BSD*) $(MAKE) $(MFLAGS) bsd;; \ Darwin*) $(MAKE) $(MFLAGS) osx;; \ - IRIX*) $(MAKE) $(MFLAGS) tardist;; \ Linux*) test ! -x /usr/bin/rpm || $(MAKE) $(MFLAGS) rpm;; \ SunOS*) $(MAKE) $(MFLAGS) pkg;; \ esac @@ -330,5 +352,5 @@ dist: all # -# End of "$Id: Makefile 9391 2010-11-30 21:53:04Z mike $". +# End of "$Id$". #