源代碼地址:https://github.com/intel/linux-sgx/blob/master/SampleCode/LocalAttestation/Makefilelinux
SGX_SDK 爲sgx sdk的路徑git
SGX_MODE 爲執行模式:分爲兩種HW(硬件來執行)和SIM(模擬器來執行,用於沒有第六代Intel CPU的機器)。github
SGX_ARCH 代表操做系統的位數對應的指令集:32位對應x86,64位對應x64。操作系統
"Generates the enclave metadata, which includes the enclave signature, and adds such metadata to the enclave image." it