|
@@ -12,6 +12,7 @@ SGX_LIBRARY_PATH := $(SGX_SDK)/lib64
|
|
|
Trts_Library_Name := sgx_trts
|
|
|
Service_Library_Name := sgx_tservice
|
|
|
Crypto_Library_Name := sgx_tcrypto
|
|
|
+SgxC_Library_Name := sgx_tstdc
|
|
|
SGX_INCLUDE_PATHS := -I$(SGX_SDK)/include -I$(SGX_SDK)/include/tlibc -I$(SGX_SDK)/include/libcxx
|
|
|
|
|
|
Uae_Library_Name := sgx_uae_service
|
|
@@ -47,4 +48,6 @@ crypto.o: crypto.cpp
|
|
|
|
|
|
localattestation_decryption.so: systemMain.o MainLogic.o LAInitiator/LA.o LAInitiator/Tramsforms.o ProtobufLAMessages.pb.o PostLA/PostLAMessaging.o PostLA/PostLAMessages.pb.o ProtobufMessageRW.o crypto.o
|
|
|
${CXX} ${LD_FLAGS} -Wl,--verbose systemMain.o MainLogic.o LAInitiator/LA.o LAInitiator/Tramsforms.o ProtobufLAMessages.pb.o PostLA/PostLAMessaging.o PostLA/PostLAMessages.pb.o ProtobufMessageRW.o crypto.o -lphpcpp -L./ -Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive -l$(Service_Library_Name) -l$(Crypto_Library_Name) -lsgx_tstdc -lprotobuf -lssl -lcrypto -Wl,-Bsymbolic -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -o $@
|
|
|
+
|
|
|
+
|
|
|
|