2 AOSKIT_FRAMEWORK[sdk=macosx*] = -weak_framework AOSAccounts -weak_framework AOSAccountsLite
3 APPLE_AKS_LIBRARY[sdk=macosx*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag
4 APPLE_AKS_LIBRARY[sdk=iphoneos*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag
5 APPLE_AKS_LIBRARY[sdk=watchos*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag
6 APPLE_AKS_LIBRARY[sdk=appletvos*] = -L$(SDKROOT)/usr/local/lib -laks -framework MobileKeyBag
8 OTHER_LDFLAGS_AGGREGATEDICTIONARY[sdk=embedded] = -framework AggregateDictionary
9 OTHER_LDFLAGS_APPLESYSTEMINFO[sdk=macos*] = -framework AppleSystemInfo
10 OTHER_LDFLAGS_DIAGNOSTICSMESSAGESCLIENT[sdk=macosx*] = -lDiagnosticMessagesClient
11 OTHER_LDFLAGS_LIBCMS[sdk=embedded*] = -lCMS
12 OTHER_LDFLAGS_MOBILEGESTALT[sdk=embedded*] = -lMobileGestalt
14 OTHER_LDFLAGS_CRASHREPORTER[sdk=embedded] = -framework CrashReporterSupport
15 OTHER_LDFLAGS_CRASHREPORTER[sdk=macos*] = -framework CrashReporterSupport
17 OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION = -o library
18 OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION[sdk=*simulator*] =
21 // Play games to avoid issues with bridge trains
26 BRIDGE = $(BRIDGE_$(RC_BRIDGE))
28 OTHER_LDFLAGS_APS_BRIDGE_NO = -framework ApplePushService
29 OTHER_LDFLAGS_APS_BRIDGE_YES =
30 OTHER_LDFLAGS_APS = $(OTHER_LDFLAGS_APS_BRIDGE_$(BRIDGE))
32 OTHER_LDFLAGS_CLOUDKIT_BRIDGE_NO = -framework CloudKit
33 OTHER_LDFLAGS_CLOUDKIT_BRIDGE_YES =
34 OTHER_LDFLAGS_CLOUDKIT = $(OTHER_LDFLAGS_CLOUDKIT_BRIDGE_$(BRIDGE))
36 OTHER_LDFLAGS_PREQUELITE_BRIDGE_NO = -l prequelite
37 OTHER_LDFLAGS_PREQUELITE_BRIDGE_YES =
38 OTHER_LDFLAGS_PREQUELITE = $(OTHER_LDFLAGS_PREQUELITE_BRIDGE_$(BRIDGE))
40 OTHER_LDFLAGS_ACCOUNTS_BRIDGE_NO = -framework Accounts
41 OTHER_LDFLAGS_ACCOUNTS_BRIDGE_YES =
42 OTHER_LDFLAGS_ACCOUNTS = $(OTHER_LDFLAGS_ACCOUNTS_BRIDGE_$(BRIDGE))
44 OTHER_LDFLAGS_APPLEACCOUNT_IOS_NO = -framework AppleAccount
45 OTHER_LDFLAGS_APPLEACCOUNT_IOS_YES =
47 OTHER_LDFLAGS_APPLEACCOUNT[sdk=iphoneos*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE))
48 OTHER_LDFLAGS_APPLEACCOUNT[sdk=iphonesimulator*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE))
49 OTHER_LDFLAGS_APPLEACCOUNT[sdk=appletv*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE))
50 OTHER_LDFLAGS_APPLEACCOUNT[sdk=watchos*] = $(OTHER_LDFLAGS_APPLEACCOUNT_IOS_$(BRIDGE))
52 // The bridge appears to support protocol buffers.
53 OTHER_LDFLAGS_PROTOBUF = -framework ProtocolBuffer
55 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS_IOS_NO = -framework SharedWebCredentials
56 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS_IOS_YES =
57 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=iphoneos*] = $(OTHER_LDFLAGS_SHAREDWEBCREDENTIALS_IOS_$(BRIDGE))
58 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=watchos*] =
59 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=appletvos*] =
61 //OTHER_LDFLAGS_APPLEIDAUTHSUPPORT_BRIDGE_NO = -Wl,-upward_framework,AppleIDAuthSupport
62 OTHER_LDFLAGS_APPLEIDAUTHSUPPORT_BRIDGE_NO =
63 OTHER_LDFLAGS_APPLEIDAUTHSUPPORT_BRIDGE_YES =
64 OTHER_LDFLAGS_APPLEIDAUTHSUPPORT = $(OTHER_LDFLAGS_APPLEIDAUTHSUPPORT_BRIDGE_$(BRIDGE))
66 OTHER_LDFLAGS_WIRELESSDIAGNOSTICS_BRIDGE_NO = -framework WirelessDiagnostics
67 OTHER_LDFLAGS_WIRELESSDIAGNOSTICS_BRIDGE_YES =
68 OTHER_LDFLAGS_WIRELESSDIAGNOSTICS = $(OTHER_LDFLAGS_WIRELESSDIAGNOSTICS_BRIDGE_$(BRIDGE))
70 OTHER_LDFLAGS_MOBILEASSET_BRIDGE_NO = -framework MobileAsset
71 OTHER_LDFLAGS_MOBILEASSET_BRIDGE_YES =
72 OTHER_LDFLAGS_MOBILEASSET = $(OTHER_LDFLAGS_MOBILEASSET_BRIDGE_$(BRIDGE))
74 OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_NO = -framework SecurityFoundation
75 OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_YES =
76 OTHER_LDFLAGS_SECURITYFOUNDATION = $(OTHER_LDFLAGS_SECURITYFOUNDATION_BRIDGE_$(BRIDGE))
78 // Breaks the BaseSystem: fixing in <rdar://problem/36166435> Re-enable IMCore autosysdiagnose capture to securityd
79 //OTHER_LDFLAGS_IMCORE_BRIDGE_NO = -framework IMCore
80 //OTHER_LDFLAGS_IMCORE_BRIDGE_YES =
81 OTHER_LDFLAGS_IMCORE = $(OTHER_LDFLAGS_IMCORE_BRIDGE_$(BRIDGE))
82 OTHER_LDFLAGS_IMCORE[sdk=appletv*] =