]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Sync up with some build changes.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 8 May 2014 22:42:44 +0000 (22:42 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 8 May 2014 22:42:44 +0000 (22:42 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11859 a1ca3aef-8c08-0410-bb20-df032aa958be

backend/Makefile
cups/tls-darwin.c

index 8d1e12e71ea8646bd5f26d67759453001da05275..639a0d7aeee7bc7c15a30a6ed568bee5be7eb07d 100644 (file)
@@ -3,7 +3,7 @@
 #
 #   Backend makefile for CUPS.
 #
-#   Copyright 2007-2013 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
@@ -23,8 +23,8 @@ include ../Makedefs
 
 # RBACKENDS are installed mode 0700 so cupsd will run them as root...
 #
-# UBACKENDS are installed mode 0755 so cupsd will run them as an unprivileged
-# user...
+# UBACKENDS and ULBACKENDS are installed mode 0755 so cupsd will run them as
+# an unprivileged user...
 #
 # See http://www.cups.org/documentation.php/api-filter.html for more info...
 RBACKENDS =    \
@@ -33,7 +33,8 @@ RBACKENDS =   \
                $(DNSSD_BACKEND)
 UBACKENDS =    \
                snmp \
-               socket \
+               socket
+ULBACKENDS =   \
                usb
 UNITTESTS =    \
                test1284 \
@@ -42,7 +43,8 @@ UNITTESTS =   \
 TARGETS =      \
                libbackend.a \
                $(RBACKENDS) \
-               $(UBACKENDS)
+               $(UBACKENDS) \
+               $(ULBACKENDS)
 LIBOBJS        =       \
                ieee1284.o \
                network.o \
@@ -71,7 +73,7 @@ all:  $(TARGETS)
 # Make library targets...
 #
 
-libs:
+libs:  $(ULBACKENDS)
 
 
 #
@@ -167,6 +169,18 @@ install-headers:
 #
 
 install-libs:
+       echo Installing backends in $(SERVERBIN)/backend
+       $(INSTALL_DIR) -m 755 $(SERVERBIN)/backend
+       for file in $(ULBACKENDS); do \
+               $(INSTALL_BIN) $$file $(SERVERBIN)/backend; \
+       done
+       if test "x$(SYMROOT)" != "x"; then \
+               $(INSTALL_DIR) $(SYMROOT); \
+               for file in $(ULBACKENDS); do \
+                       cp $$file $(SYMROOT); \
+                       dsymutil $(SYMROOT)/$$file; \
+               done \
+       fi
 
 
 #
@@ -179,7 +193,7 @@ uninstall:
                $(RM) $(SERVERBIN)/apple/$$file; \
        done
        -$(RMDIR) $(SERVERBIN)/apple
-       for file in $(RBACKENDS) $(UBACKENDS); do \
+       for file in $(RBACKENDS) $(UBACKENDS) $(ULBACKENDS); do \
                $(RM) $(SERVERBIN)/backend/$$file; \
        done
        for file in $(IPPALIASES); do \
index 81f5106022df54a2a48334bb5159c0a94254720c..2176292c93e1f881357b6066e93e7c78240c5f9c 100644 (file)
@@ -803,7 +803,6 @@ httpLoadCredentials(
   (void)path;
   (void)credentials;
   (void)common_name;
-  (void)alt_name;
 
   return (-1);
 #endif /* HAVE_SECKEYCHAINOPEN */