|
@@ -14,7 +14,7 @@ protobuf_obj := $(patsubst %.cpp,%.o,$(wildcard Protobuf*))
|
|
|
system_obj := $(patsubst %.cpp,%.o,$(wildcard system*))
|
|
|
OBJECTS := systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o
|
|
|
|
|
|
-SGX_SDK := /home/m2mazmud/sgx2.1_installation/sgxsdk
|
|
|
+SGX_SDK := /opt/intel/sgxsdk#/home/m2mazmud/sgx2.1_installation/sgxsdk
|
|
|
SGX_COMMON_CFLAGS := -m64
|
|
|
SGX_LIBRARY_PATH := $(SGX_SDK)/lib64
|
|
|
Trts_Library_Name := sgx_trts
|
|
@@ -44,4 +44,4 @@ crypto.o: crypto.cpp
|
|
|
|
|
|
verifier: systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o
|
|
|
# echo $(system_obj)
|
|
|
- ${CXX} ${CXX_FLAGS} -Wl,--no-undefined -Wl,-rpath,$(SGX_SDK)/lib64 systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o -L./ -Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive -L$(SGX_LIBRARY_PATH) -l$(Service_Library_Name) -l$(Crypto_Library_Name) -l$(Uae_Library_Name) -lsgx_tstdc -lsgx_urts -lprotobuf -lsgx_tstdcxx -L${Openssl_Path}/lib -lssl -lcrypto -Wl,--verbose -o $@
|
|
|
+ ${CXX} ${CXX_FLAGS} -Wl,--no-undefined -Wl,-rpath,$(SGX_SDK)/lib64 systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o -L./ -Wl,--whole-archive -l$(Trts_Library_Name) -Wl,--no-whole-archive -L$(SGX_LIBRARY_PATH) -l$(Service_Library_Name) -l$(Crypto_Library_Name) -lsgx_tstdc -lprotobuf -L${Openssl_Path}/lib -lssl -lcrypto -Wl,--verbose -o $@
|