X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=Makefile;h=afc90ce1e5c0c6da79d8867021f3f8c7495482a3;hp=0465d8a4a98752d5fe21d5dcde91f3d20b3fa84c;hb=83bf1f7b59aece62a889290fc24e748ac617a16e;hpb=d95bd167bc5f1e0eb6bb082d8b5a8e50602fd9a2 diff --git a/Makefile b/Makefile index 0465d8a4a..afc90ce1e 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,14 @@ # -# "$Id$" -# # Top-level Makefile for CUPS. # -# Copyright 2007-2014 by Apple Inc. +# Copyright 2007-2016 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/". +# missing or damaged, see the license at "http://www.cups.org/". # include Makedefs @@ -105,7 +103,7 @@ distclean: clean $(RM) doc/index.html $(RM) man/client.conf.man man/cups-files.conf.man man/cups-lpd.man man/cups-snmp.man man/cupsaddsmb.man man/cupsd.conf.man man/cupsd.man man/lpoptions.man $(RM) packaging/cups.list - $(RM) scheduler/cups-lpd.xinetd scheduler/cups.sh scheduler/cups.xml scheduler/org.cups.cups-lpd.plist scheduler/org.cups.cupsd.path scheduler/org.cups.cupsd.service scheduler/org.cups.cupsd.socket + $(RM) scheduler/cups-lpd.xinetd scheduler/cups.sh scheduler/cups.xml scheduler/org.cups.cups-lpd.plist scheduler/org.cups.cups-lpdAT.service scheduler/org.cups.cupsd.path scheduler/org.cups.cupsd.service scheduler/org.cups.cupsd.socket $(RM) templates/header.tmpl -$(RM) doc/*/index.html -$(RM) templates/*/header.tmpl @@ -130,6 +128,9 @@ depend: # # At least checker-231 is required. # +# Alternatively, use "--analyze -Xanalyzer -analyzer-output=text" for OPTIM (text +# output instead of HTML...) +# .PHONY: clang clang-changes clang: @@ -265,17 +266,11 @@ debugcheck: all unittests # apihelp: - for dir in cgi-bin cups filter ppdc scheduler; do\ + for dir in cups filter; do\ echo Generating API help in $$dir... ;\ (cd $$dir; $(MAKE) $(MFLAGS) apihelp) || exit 1;\ done -framedhelp: - for dir in cgi-bin cups filter ppdc scheduler; do\ - echo Generating framed API help in $$dir... ;\ - (cd $$dir; $(MAKE) $(MFLAGS) framedhelp) || exit 1;\ - done - # # Create an Xcode docset using Mini-XML's mxmldoc (http://www.msweet.org/)... @@ -319,22 +314,15 @@ sloc: EPMFLAGS = -v --output-dir dist $(EPMARCH) -bsd deb pkg slackware tardist: +bsd deb epm pkg rpm slackware: epm $(EPMFLAGS) -f $@ cups packaging/cups.list -epm: - epm $(EPMFLAGS) -s packaging/installer.gif cups packaging/cups.list - -rpm: - epm $(EPMFLAGS) -f rpm -s packaging/installer.gif cups packaging/cups.list - -.PHONEY: dist +.PHONY: dist dist: all $(RM) -r dist $(MAKE) $(MFLAGS) epm case `uname` in \ *BSD*) $(MAKE) $(MFLAGS) bsd;; \ - Darwin*) $(MAKE) $(MFLAGS) osx;; \ Linux*) test ! -x /usr/bin/rpm || $(MAKE) $(MFLAGS) rpm;; \ SunOS*) $(MAKE) $(MFLAGS) pkg;; \ esac @@ -345,8 +333,3 @@ dist: all # .NOTPARALLEL: - - -# -# End of "$Id$". -#