]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scheduler / Makefile
index a5a8653a8e5e28744339bb498493639a87e5828e..fa945ff1a54c55349896d5864fcdd4ce4fc763be 100644 (file)
@@ -1,25 +1,16 @@
 #
-# "$Id: Makefile 6565 2007-06-18 23:50:16Z mike $"
+# "$Id: Makefile 6664 2007-07-13 17:41:02Z mike $"
 #
 #   Scheduler Makefile for the Common UNIX Printing System (CUPS).
 #
+#   Copyright 2007 by Apple Inc.
 #   Copyright 1997-2007 by Easy Software Products, all rights reserved.
 #
 #   These coded instructions, statements, and computer programs are the
-#   property of Easy Software Products 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 missing or damaged please contact Easy Software Products
-#   at:
-#
-#       Attn: CUPS Licensing Information
-#       Easy Software Products
-#       44141 Airport View Drive, Suite 204
-#       Hollywood, Maryland 20636 USA
-#
-#       Voice: (301) 373-9600
-#       EMail: cups-info@cups.org
-#         WWW: http://www.cups.org
+#   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
@@ -55,6 +46,7 @@ MIMEOBJS =    \
 OBJS   =       \
                $(CUPSDOBJS) \
                $(MIMEOBJS) \
+               cupsfilter.o \
                cups-deviced.o \
                cups-driverd.o \
                cups-lpd.o \
@@ -67,6 +59,7 @@ OBJS  =       \
                util.o
 TARGETS        =       \
                cupsd \
+               cupsfilter \
                cups-deviced \
                cups-driverd \
                cups-lpd \
@@ -112,6 +105,8 @@ install:    all
        $(INSTALL_DIR) -m 755 $(SBINDIR)
        echo Installing cupsd in $(SBINDIR)...
        $(INSTALL_BIN) cupsd $(SBINDIR)
+       echo Installing cupsfilter in $(SBINDIR)...
+       $(INSTALL_BIN) cupsfilter $(SBINDIR)
        echo Creating $(SERVERBIN)...
        $(INSTALL_DIR) -m 755 $(SERVERBIN)
        echo Creating $(SERVERBIN)/daemon...
@@ -132,10 +127,10 @@ install:  all
        echo Creating $(SERVERROOT)/ppd...
        $(INSTALL_DIR) -m 755 $(SERVERROOT)/ppd
        -chgrp $(CUPS_GROUP) $(SERVERROOT)/ppd
-       echo Creating $(SERVERROOT)/ssl...
-       $(INSTALL_DIR) -m 700 $(SERVERROOT)/ssl
-       -chgrp $(CUPS_GROUP) $(SERVERROOT)/ssl
        -if test "x`uname`" != xDarwin; then \
+               echo Creating $(SERVERROOT)/ssl...; \
+               $(INSTALL_DIR) -m 700 $(SERVERROOT)/ssl; \
+               -chgrp $(CUPS_GROUP) $(SERVERROOT)/ssl; \
                echo Creating $(STATEDIR)...; \
                $(INSTALL_DIR) -m 755 $(STATEDIR); \
                echo Creating $(STATEDIR)/certs...; \
@@ -208,6 +203,15 @@ cupsd-static:      $(CUPSDOBJS) libmime.a ../cups/libcups.a
                $(LIBMALLOC) $(CUPSDLIBS) $(DNSSDLIBS) $(LIBGSSAPI)
 
 
+#
+# Make the cupsfilter utility.
+#
+
+cupsfilter:    cupsfilter.o libmime.a ../cups/$(LIBCUPS)
+       echo Linking $@...
+       $(CC) $(LDFLAGS) -o cupsfilter cupsfilter.o libmime.a $(LIBS)
+
+
 #
 # Make the device daemon, "cups-deviced".
 #
@@ -312,5 +316,5 @@ include Dependencies
 
 
 #
-# End of "$Id: Makefile 6565 2007-06-18 23:50:16Z mike $".
+# End of "$Id: Makefile 6664 2007-07-13 17:41:02Z mike $".
 #