#
# Common makefile definitions for CUPS.
#
-# Copyright 2007-2015 by Apple Inc.
+# Copyright 2007-2014 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
DATADIR = $(BUILDROOT)@CUPS_DATADIR@
DOCDIR = $(BUILDROOT)@CUPS_DOCROOT@
ICONDIR = @ICONDIR@
-INCLUDEDIR = $(BUILDROOT)$(SDKROOT)$(includedir)
+INCLUDEDIR = $(BUILDROOT)$(includedir)
LIBDIR = $(BUILDROOT)$(libdir)
LOCALEDIR = $(BUILDROOT)@CUPS_LOCALEDIR@
LOGDIR = $(BUILDROOT)@CUPS_LOGDIR@
MANDIR = $(BUILDROOT)@mandir@
MENUDIR = @MENUDIR@
PMANDIR = $(BUILDROOT)@PMANDIR@
-PRIVATEINCLUDE = $(BUILDROOT)$(SDKROOT)@PRIVATEINCLUDE@
+PRIVATEINCLUDE = $(BUILDROOT)@PRIVATEINCLUDE@
RCLEVELS = @RCLEVELS@
RCSTART = @RCSTART@
RCSTOP = @RCSTOP@
REQUESTS = $(BUILDROOT)@CUPS_REQUESTS@
SBINDIR = $(BUILDROOT)@sbindir@
-SDKLIBDIR = $(BUILDROOT)$(SDKROOT)$(libdir)
SERVERBIN = $(BUILDROOT)@CUPS_SERVERBIN@
SERVERROOT = $(BUILDROOT)@CUPS_SERVERROOT@
STATEDIR = $(BUILDROOT)@CUPS_STATEDIR@
#
# CGI makefile for CUPS.
#
-# Copyright 2007-2015 by Apple Inc.
+# Copyright 2007-2014 by Apple Inc.
# Copyright 1997-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
$(RM) $(LIBDIR)/libcupscgi.dylib; \
$(LN) $(LIBCUPSCGI) $(LIBDIR)/libcupscgi.dylib; \
fi
- if test "x$(SDKROOT)" != "x"; then \
- $(INSTALL_DIR) $(SDKLIBDIR); \
- $(INSTALL_LIB) $(LIBCUPSCGI) $(SDKLIBDIR); \
- $(RM) $(SDKLIBDIR)/libcupscgi.dylib; \
- $(LN) $(LIBCUPSCGI) $(SDKLIBDIR)/libcupscgi.dylib; \
- fi
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
cp $(LIBCUPSCGI) $(SYMROOT); \
#
# API library Makefile for CUPS.
#
-# Copyright 2007-2015 by Apple Inc.
+# Copyright 2007-2014 by Apple Inc.
# Copyright 1997-2006 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
$(RM) $(LIBDIR)/libcups.dylib; \
$(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \
fi
- if test "x$(SDKROOT)" != "x"; then \
- $(INSTALL_DIR) $(SDKLIBDIR); \
- $(INSTALL_LIB) $(LIBCUPS) $(SDKLIBDIR); \
- $(RM) $(SDKLIBDIR)/libcups.dylib; \
- $(LN) $(LIBCUPS) $(SDKLIBDIR)/libcups.dylib; \
- fi
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
cp $(LIBCUPS) $(SYMROOT); \
$(RM) $(LIBDIR)/libcupsimage.dylib; \
$(LN) $(LIBCUPSIMAGE) $(LIBDIR)/libcupsimage.dylib; \
fi
- if test "x$(SDKROOT)" != "x"; then \
- $(INSTALL_DIR) $(SDKLIBDIR); \
- $(INSTALL_LIB) $(LIBCUPSIMAGE) $(SDKLIBDIR); \
- $(RM) $(SDKLIBDIR)/libcupsimage.dylib; \
- $(LN) $(LIBCUPSIMAGE) $(SDKLIBDIR)/libcupsimage.dylib; \
- fi
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
cp $(LIBCUPSIMAGE) $(SYMROOT); \
#
# Makefile for the CUPS PPD Compiler.
#
-# Copyright 2007-2015 by Apple Inc.
+# Copyright 2007-2014 by Apple Inc.
# Copyright 2002-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
$(RM) $(LIBDIR)/libcupsppdc.dylib; \
$(LN) $(LIBCUPSPPDC) $(LIBDIR)/libcupsppdc.dylib; \
fi
- if test "x$(SDKROOT)" != "x"; then \
- $(INSTALL_DIR) $(SDKLIBDIR); \
- $(INSTALL_LIB) $(LIBCUPSPPDC) $(SDKLIBDIR); \
- $(RM) $(SDKLIBDIR)/libcupsppdc.dylib; \
- $(LN) $(LIBCUPSPPDC) $(SDKLIBDIR)/libcupsppdc.dylib; \
- fi
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
cp $(LIBCUPSPPDC) $(SYMROOT); \
#
# Scheduler Makefile for CUPS.
#
-# Copyright 2007-2014 by Apple Inc.
+# Copyright 2007-2015 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
$(RM) $(LIBDIR)/libcupsmime.dylib; \
$(LN) $(LIBCUPSMIME) $(LIBDIR)/libcupsmime.dylib; \
fi
- if test "x$(SDKROOT)" != "x"; then \
- $(INSTALL_DIR) $(SDKLIBDIR); \
- $(INSTALL_LIB) $(LIBCUPSMIME) $(SDKLIBDIR); \
- $(RM) $(SDKLIBDIR)/libcupsmime.dylib; \
- $(LN) $(LIBCUPSMIME) $(SDKLIBDIR)/libcupsmime.dylib; \
- fi
if test "x$(SYMROOT)" != "x"; then \
$(INSTALL_DIR) $(SYMROOT); \
cp $(LIBCUPSMIME) $(SYMROOT); \
$(RM) convert
$(LN) cupsfilter convert
+cupsfilter-static: cupsfilter.o libcupsmime.a ../cups/$(LIBCUPSSTATIC)
+ echo Linking $@...
+ $(CC) $(LDFLAGS) -o cupsfilter-static cupsfilter.o libcupsmime.a \
+ ../cups/$(LIBCUPSSTATIC) $(COMMONLIBS) $(LIBZ) $(SSLLIBS) \
+ $(DNSSDLIBS) $(LIBGSSAPI)
+
#
# Make the device daemon, "cups-deviced".