2 OTHER_LDFLAGS_AOSKIT_FRAMEWORK[sdk=macosx*] = -weak_framework AOSAccounts -weak_framework AOSAccountsLite
4 OTHER_LDFLAGS_MOCK_AKS_LIBRARY = -laks_mock -framework SecurityFoundation
5 OTHER_LDFLAGS_AKS_LIBRARY[sdk=macosx*] = -L$(SDKROOT)/usr/local/lib -laks -laks_real_witness
6 OTHER_LDFLAGS_AKS_LIBRARY[sdk=iphoneos*] = -L$(SDKROOT)/usr/local/lib -laks -laks_real_witness
7 OTHER_LDFLAGS_AKS_LIBRARY[sdk=watchos*] = -L$(SDKROOT)/usr/local/lib -laks -laks_real_witness
8 OTHER_LDFLAGS_AKS_LIBRARY[sdk=appletvos*] = -L$(SDKROOT)/usr/local/lib -laks -laks_real_witness
9 OTHER_LDFLAGS_AKS_LIBRARY[sdk=iphonesimulator*] = -laks_mock -Wl,-upward_framework,SecurityFoundation
11 OTHER_LDFLAGS_MOBILE_KEYBAG[sdk=macosx*] = -framework MobileKeyBag
12 OTHER_LDFLAGS_MOBILE_KEYBAG[sdk=iphoneos*] = -framework MobileKeyBag
13 OTHER_LDFLAGS_MOBILE_KEYBAG[sdk=watchos*] = -framework MobileKeyBag
14 OTHER_LDFLAGS_MOBILE_KEYBAG[sdk=appletvos*] = -framework MobileKeyBag
16 OTHER_LDFLAGS_AKS_ACL_LIBRARY = -laks_acl
18 OTHER_LDFLAGS_ACM_LIBRARY[sdk=macosx*] = -lACM
19 OTHER_LDFLAGS_ACM_LIBRARY[sdk=iphoneos*] = -lACM
20 OTHER_LDFLAGS_ACM_LIBRARY[sdk=watchos*] = -lACM
21 OTHER_LDFLAGS_ACM_LIBRARY[sdk=appletvos*] = -lACM
22 OTHER_LDFLAGS_ACM_LIBRARY[sdk=iphonesimulator*] =
23 OTHER_LDFLAGS_ACM_LIBRARY[sdk=appletvsimulator*] =
24 OTHER_LDFLAGS_ACM_LIBRARY[sdk=watchsimulator*] =
26 OTHER_LDFLAGS_AGGREGATEDICTIONARY[sdk=embedded] = -framework AggregateDictionary
27 OTHER_LDFLAGS_APPLESYSTEMINFO[sdk=macos*] = -framework AppleSystemInfo
28 OTHER_LDFLAGS_DIAGNOSTICSMESSAGESCLIENT[sdk=macosx*] = -lDiagnosticMessagesClient
29 OTHER_LDFLAGS_MOBILEGESTALT[sdk=embedded*] = -lMobileGestalt
30 OTHER_LDFLAGS_IMG4DECODE[sdk=embedded] = -lImg4Decode
31 OTHER_LDFLAGS_UPWARD_FOUNDATION = -Wl,-upward_framework,Foundation
32 OTHER_LDFLAGS_UPWARD_PROTOCOLBUFFER = -Wl,-upward_framework,ProtocolBuffer
33 OTHER_LDFLAGS_UPWARD_SECURITY = -Wl,-upward_framework,Security
34 OTHER_LDFLAGS_UPWARD_SECURITYFOUNDATION = -Wl,-upward_framework,SecurityFoundation
36 OTHER_LDFLAGS_SECUREKEYVAULT[sdk=embedded] = -lSecureKeyVaultForiapd
38 OTHER_LDFLAGS_CRASHREPORTER[sdk=embedded] = -framework CrashReporterSupport
39 OTHER_LDFLAGS_CRASHREPORTER[sdk=macos*] = -framework CrashReporterSupport
41 OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION = -o library
42 OTHER_CODE_SIGN_FLAGS_LIBRARY_VALIDATION[sdk=*simulator*] =
44 OTHER_LDFLAGS_APS = -framework ApplePushService
45 OTHER_LDFLAGS_APS[sdk=bridgeos*] =
47 OTHER_LDFLAGS_CLOUDKIT = -framework CloudKit
48 OTHER_LDFLAGS_CLOUDKIT[sdk=bridgeos*] =
50 OTHER_LDFLAGS_PREQUELITE = -l prequelite
51 OTHER_LDFLAGS_PREQUELITE[sdk=bridgeos*] =
53 OTHER_LDFLAGS_ACCOUNTS = -framework Accounts
54 OTHER_LDFLAGS_ACCOUNTS[sdk=bridgeos*] =
56 OTHER_LDFLAGS_APPLEACCOUNT[sdk=macos*] = -weak_framework AppleAccount
57 OTHER_LDFLAGS_APPLEACCOUNT[sdk=iphone*] = -framework AppleAccount
58 OTHER_LDFLAGS_APPLEACCOUNT[sdk=appletv*] = -framework AppleAccount
59 OTHER_LDFLAGS_APPLEACCOUNT[sdk=watchos*] = -framework AppleAccount
60 OTHER_LDFLAGS_APPLEACCOUNT[sdk=bridgeos*] =
62 OTHER_LDFLAGS_COREFOLLOWUP[sdk=macos*] = -weak_framework CoreFollowUp
63 OTHER_LDFLAGS_COREFOLLOWUP[sdk=iphone*] = -framework CoreFollowUp
64 OTHER_LDFLAGS_COREFOLLOWUP[sdk=appletv*] = -framework CoreFollowUp
65 OTHER_LDFLAGS_COREFOLLOWUP[sdk=watchos*] =
66 OTHER_LDFLAGS_COREFOLLOWUP[sdk=bridgeos*] =
67 OTHER_LDFLAGS_COREFOLLOWUP[sdk=appletvsimulator*] =
68 OTHER_LDFLAGS_COREFOLLOWUP[sdk=watchsimulator*] =
69 OTHER_LDFLAGS_COREFOLLOWUP[sdk=appletvsimulator*] =
72 // The bridge appears to support protocol buffers.
73 OTHER_LDFLAGS_PROTOBUF = -framework ProtocolBuffer
75 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=iphoneos*] = -framework SharedWebCredentials
76 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=bridgeos*] =
77 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=watchos*] =
78 OTHER_LDFLAGS_SHAREDWEBCREDENTIALS[sdk=appletvos*] =
80 OTHER_LDFLAGS_APPLEIDAUTHSUPPORT =
81 //OTHER_LDFLAGS_APPLEIDAUTHSUPPORT[sdk=bridgeos*] = -Wl,-upward_framework,AppleIDAuthSupport
83 OTHER_LDFLAGS_WIRELESSDIAGNOSTICS = -framework WirelessDiagnostics
84 OTHER_LDFLAGS_WIRELESSDIAGNOSTICS[sdk=bridgeos*] =
86 OTHER_LDFLAGS_MOBILEASSET = -framework MobileAsset
87 OTHER_LDFLAGS_MOBILEASSET[sdk=bridgeos*] =
89 OTHER_LDFLAGS_CORECDP = -weak_framework CoreCDP
90 OTHER_LDFLAGS_CORECDP[sdk=bridgeos*] =
92 OTHER_LDFLAGS_SECURITYFOUNDATION = -framework SecurityFoundation
93 OTHER_LDFLAGS_SECURITYFOUNDATION[sdk=bridgeos*] =
95 // Breaks the BaseSystem: fixing in <rdar://problem/36166435> Re-enable IMCore autosysdiagnose capture to securityd
96 OTHER_LDFLAGS_IMCORE = // -weak_framework IMCore
97 OTHER_LDFLAGS_IMCORE[sdk=appletv*] =
98 OTHER_LDFLAGS_IMCORE[sdk=bridgeos*] =
100 OTHER_LDFLAGS_UserManagement[sdk=iphone*] = -framework UserManagement
101 OTHER_LDFLAGS_UserManagement[sdk=macosx*] = -framework UserManagement
102 OTHER_LDFLAGS_UserManagement[sdk=watch*] =
103 OTHER_LDFLAGS_UserManagement[sdk=appletv*] =
105 OTHER_LDFLAGS_CrashReporterSupport[sdk=iphoneos*] = -framework CrashReporterSupport
106 OTHER_LDFLAGS_CrashReporterSupport[sdk=macosx*] =
107 OTHER_LDFLAGS_CrashReporterSupport[sdk=watch*] =
108 OTHER_LDFLAGS_CrashReporterSupport[sdk=appletv*] =
110 OTHER_LDFLAGS_OCMOCK = -framework OCMock
111 OTHER_LDFLAGS_OCMOCK[sdk=bridgeos*] =
113 // NanoRegistry exists on other platforms, but in this case we only need it on watch
114 OTHER_LDFLAGS_NANOREGISTRY_WATCH_ONLY[sdk=watchsimulator*] = -framework NanoRegistry
115 OTHER_LDFLAGS_NANOREGISTRY_WATCH_ONLY[sdk=watchos*] = -framework NanoRegistry