#
-# "$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
OBJS = \
$(CUPSDOBJS) \
$(MIMEOBJS) \
+ cupsfilter.o \
cups-deviced.o \
cups-driverd.o \
cups-lpd.o \
util.o
TARGETS = \
cupsd \
+ cupsfilter \
cups-deviced \
cups-driverd \
cups-lpd \
$(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...
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...; \
$(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".
#
#
-# End of "$Id: Makefile 6565 2007-06-18 23:50:16Z mike $".
+# End of "$Id: Makefile 6664 2007-07-13 17:41:02Z mike $".
#