]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - berkeley/Makefile
Add code signing for macOS Mojave.
[thirdparty/cups.git] / berkeley / Makefile
index 9df1360afec2007546f5071640d3b751119bc4cc..73aa221673fb826ebd5897743f03965bea7b43ab 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Berkeley commands makefile for CUPS.
 #
-# Copyright 2007-2017 by Apple Inc.
+# Copyright 2007-2018 by Apple Inc.
 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
 #
 # Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
@@ -121,6 +121,7 @@ uninstall:
 lpc:   lpc.o ../cups/$(LIBCUPS)
        echo Linking $@...
        $(LD_CC) $(LDFLAGS) -o lpc lpc.o $(LIBS)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #
@@ -130,6 +131,7 @@ lpc:        lpc.o ../cups/$(LIBCUPS)
 lpq:   lpq.o ../cups/$(LIBCUPS)
        echo Linking $@...
        $(LD_CC) $(LDFLAGS) -o lpq lpq.o $(LIBS)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #
@@ -139,6 +141,7 @@ lpq:        lpq.o ../cups/$(LIBCUPS)
 lpr:   lpr.o ../cups/$(LIBCUPS)
        echo Linking $@...
        $(LD_CC) $(LDFLAGS) -o lpr lpr.o $(LIBS)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #
@@ -148,6 +151,7 @@ lpr:        lpr.o ../cups/$(LIBCUPS)
 lprm:  lprm.o ../cups/$(LIBCUPS)
        echo Linking $@...
        $(LD_CC) $(LDFLAGS) -o lprm lprm.o $(LIBS)
+       $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
 
 
 #