CMakeLists.txt
1 project(libsecurity) 2 3 # only needed for various tests and for the iOS build 4 #add_security_library(libsecurity 5 # FAT 6 # OUTPUT_NAME "security" 7 # SOURCES 8 # ../../../experiment/SecExperiment.m 9 # ../../../keychain/SecureObjectSync/SOSCloudCircle.m 10 # ../../../keychain/SecureObjectSync/Tool/secViewDisplay.c 11 # ../../utilities/SecInternalRelease.c 12 # ../../utilities/SecPaddingConfigurations.c 13 # p12import.c 14 # p12pbegen.c 15 # pbkdf2.c 16 # SecAccessControl.m 17 # SecBase.c 18 # SecBase64.c 19 # SecCertificate.c 20 # SecCertificateRequest.c 21 # SecCFAllocator.c 22 # SecCMS.c 23 # SecCTKKey.m 24 # SecDH.c 25 # SecDigest.c 26 # SecECKey.m 27 # SecEMCS.m 28 # SecIdentity.c 29 # SecImportExport.c 30 # SecItem.c 31 # SecItem.m 32 # SecItemBackup.c 33 # SecItemConstants.c 34 # SecKey.m 35 # SecKeyAdaptors.m 36 # SecKeyProxy.m 37 # SecOTRDHKey.c 38 # SecOTRFullIdentity.c 39 # SecOTRMath.c 40 # SecOTRPacketData.c 41 # SecOTRPackets.c 42 # SecOTRPublicIdentity.c 43 # SecOTRSession.c 44 # SecOTRSessionAKE.c 45 # SecOTRUtils.c 46 # SecPasswordGenerate.c 47 # SecPBKDF.c 48 # SecPolicy.c 49 # SecPolicyLeafCallbacks.c 50 # SecRSAKey.c 51 # SecSCEP.c 52 # SecServerEncryptionSupport.c 53 # SecSharedCredential.c 54 # SecSignatureVerificationSupport.c 55 # SecTrust.c 56 # SecTrustStatusCodes.c 57 # SecTrustStore.c 58 # SecuritydXPC.c 59 # vmdh.c 60 #) 61 62 add_lib_ios(SecOtrOSX 63 SOURCES 64 SecOTRDHKey.c 65 SecOTRFullIdentity.c 66 SecOTRMath.c 67 SecOTRPacketData.c 68 SecOTRPackets.c 69 SecOTRPublicIdentity.c 70 SecOTRSession.c 71 SecOTRSessionAKE.c 72 SecOTRUtils.c 73 ) 74 75 add_lib_ios_shim(SecTrustOSX 76 SOURCES 77 ../../utilities/SecInternalRelease.c 78 SecBase64.c 79 SecCertificate.c 80 SecCertificateRequest.c 81 SecDigest.c 82 SecECKey.m 83 SecKey.m 84 SecKeyAdaptors.m 85 SecPolicy.c 86 SecPolicyLeafCallbacks.c 87 SecRSAKey.c 88 SecServerEncryptionSupport.c 89 SecSignatureVerificationSupport.c 90 SecTrust.c 91 SecTrustStatusCodes.c 92 SecTrustStore.c 93 ) 94 95 add_darling_object_library(SecItemShimOSX_64bit_only 96 64BIT_ONLY 97 SecItemRateLimit.m 98 ) 99 100 add_lib_ios_shim(SecItemShimOSX 101 SOURCES 102 ../../../keychain/SecureObjectSync/SOSCloudCircle.m 103 p12import.c 104 p12pbegen.c 105 SecAccessControl.m 106 SecCFAllocator.c 107 SecCTKKey.m 108 SecDH.c 109 SecECKey.m 110 SecImportExport.c 111 SecItem.c 112 SecItem.m 113 SecItemBackup.c 114 SecItemConstants.c 115 # SecItemRateLimit.m 116 SecKey.m 117 SecKeyAdaptors.m 118 SecKeyProxy.m 119 SecPasswordGenerate.c 120 SecRSAKey.c 121 SecuritydXPC.c 122 123 $<TARGET_OBJECTS:SecItemShimOSX_64bit_only> 124 ) 125 126 add_lib_ios(logging 127 SOURCES 128 SecLogging.c 129 INCLUDES 130 ${CMAKE_CURRENT_SOURCE_DIR}/../ipc 131 )