summaryrefslogtreecommitdiff
path: root/ppdc/Makefile
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-02-06 21:33:50 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-02-06 21:33:50 +0000
commit543507bea212d99ccad4470e24edf789da1567bc (patch)
treeb3bbc914737b6bf2f43bfa452f2d56a9a1ebeec1 /ppdc/Makefile
parent2cf627f0292a3cdc903310af744db419163dd1d3 (diff)
downloadcups-543507bea212d99ccad4470e24edf789da1567bc.tar.gz
Add support for SDKROOT on OS X.
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12492 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'ppdc/Makefile')
-rw-r--r--ppdc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile
index 1bf09dd6a..75a77d4e9 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -3,7 +3,7 @@
#
# Makefile for the CUPS PPD Compiler.
#
-# Copyright 2007-2014 by Apple Inc.
+# Copyright 2007-2015 by Apple Inc.
# Copyright 2002-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
@@ -176,6 +176,12 @@ install-libs: $(INSTALLSTATIC)
$(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); \