summaryrefslogtreecommitdiff
path: root/notifier
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:02:51 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-09-18 11:02:51 -0400
commit00dbe99f3f1783359446ba98beea021871a53476 (patch)
treece87fcf775cbac5a0c72d6c37daa48b7bccedbc6 /notifier
parent67c0a18b8529edab57972bf6eb2863b3bbc36f2a (diff)
downloadcups-00dbe99f3f1783359446ba98beea021871a53476.tar.gz
Add code signing for macOS Mojave.
Diffstat (limited to 'notifier')
-rw-r--r--notifier/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/notifier/Makefile b/notifier/Makefile
index 16160c8ad..741ef8daa 100644
--- a/notifier/Makefile
+++ b/notifier/Makefile
@@ -1,7 +1,7 @@
#
# Notifier makefile for CUPS.
#
-# Copyright 2007-2017 by Apple Inc.
+# Copyright 2007-2018 by Apple Inc.
# Copyright 1997-2007 by Easy Software Products, all rights reserved.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more information.
@@ -120,6 +120,7 @@ depend:
dbus: dbus.o ../cups/$(LIBCUPS)
echo Linking $@...
$(LD_CC) $(LDFLAGS) -o dbus dbus.o $(DBUS_NOTIFIERLIBS) $(LIBS)
+ $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
#
@@ -129,6 +130,7 @@ dbus: dbus.o ../cups/$(LIBCUPS)
mailto: mailto.o ../cups/$(LIBCUPS)
echo Linking $@...
$(LD_CC) $(LDFLAGS) -o mailto mailto.o $(LIBS)
+ $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
#
@@ -138,6 +140,7 @@ mailto: mailto.o ../cups/$(LIBCUPS)
rss: rss.o ../cups/$(LIBCUPS)
echo Linking $@...
$(LD_CC) $(LDFLAGS) -o rss rss.o $(LIBS)
+ $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
#
@@ -147,6 +150,7 @@ rss: rss.o ../cups/$(LIBCUPS)
testnotify: testnotify.o ../cups/$(LIBCUPS)
echo Linking $@...
$(LD_CC) $(LDFLAGS) -o testnotify testnotify.o $(LIBS)
+ $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@
$(OBJS): ../Makedefs