源代码地址: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