Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
4d268e32
Unverified
Commit
4d268e32
authored
Aug 31, 2019
by
kladkogex
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xdd`quitiFi
parent
92cd3fd0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
97 additions
and
64 deletions
+97
-64
Makefile
Makefile
+6
-6
config.log
config.log
+31
-28
config.status
config.status
+6
-6
configure
configure
+42
-14
Makefile
secure_enclave/Makefile
+9
-8
Makefile.in
secure_enclave/Makefile.in
+3
-2
No files found.
Makefile
View file @
4d268e32
...
...
@@ -233,8 +233,8 @@ AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY
=
1
AUTOCONF
=
${
SHELL
}
/d/sgxd/missing autoconf
AUTOHEADER
=
${
SHELL
}
/d/sgxd/missing autoheader
AUTOMAKE
=
AWK
=
g
awk
AUTOMAKE
=
${
SHELL
}
/d/sgxd/missing automake-1.15
AWK
=
m
awk
CC
=
gcc
CCDEPMODE
=
depmode
=
gcc3
CFLAGS
=
-g
-O2
...
...
@@ -251,8 +251,8 @@ ECHO_N = -n
ECHO_T
=
ENCLAVE_SIGN_TARGET
=
signed_enclave_dev
EXEEXT
=
GMP_CPPFLAGS
=
-I
/d/sgxd/gmp-build/include
-I
/d/sgxd/tgmp-build/include
GMP_LDFLAGS
=
-L
/d/sgxd/gmp-build/lib
GMP_CPPFLAGS
=
GMP_LDFLAGS
=
INSTALL
=
/usr/bin/install
-c
INSTALL_DATA
=
${
INSTALL
}
-m
644
INSTALL_PROGRAM
=
${
INSTALL
}
...
...
@@ -297,8 +297,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB
=
sgx_urts
SHELL
=
/bin/bash
STRIP
=
TGMP_CPPFLAGS
=
-I
/d/sgxd/tgmp-build/include
-I
/d/sgxd/gmp-build/include
TGMP_LDFLAGS
=
-L
/d/sgxd/tgmp-build/lib
TGMP_CPPFLAGS
=
TGMP_LDFLAGS
=
VERSION
=
1.0
abs_builddir
=
/d/sgxd
abs_srcdir
=
/d/sgxd
...
...
config.log
View file @
4d268e32
...
...
@@ -10,11 +10,11 @@ generated by GNU Autoconf 2.69. Invocation command line was
## Platform. ##
## --------- ##
hostname =
kladko
hostname =
skale-Lenovo-ideapad-520-15IKB
uname -m = x86_64
uname -r = 4.1
8.0-25
-generic
uname -r = 4.1
5.0-58
-generic
uname -s = Linux
uname -v = #
26-Ubuntu SMP Mon Jun 24 09:32:08
UTC 2019
uname -v = #
64-Ubuntu SMP Tue Aug 6 11:12:41
UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
...
...
@@ -27,7 +27,8 @@ uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/kladko/.local/bin
PATH: /home/skale/bin
PATH: /home/skale/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
...
...
@@ -50,8 +51,10 @@ configure:2132: result: yes
configure:2283: checking for a thread-safe mkdir -p
configure:2322: result: /bin/mkdir -p
configure:2329: checking for gawk
configure:2345: found /usr/bin/gawk
configure:2356: result: gawk
configure:2359: result: no
configure:2329: checking for mawk
configure:2345: found /usr/bin/mawk
configure:2356: result: mawk
configure:2367: checking whether make sets $(MAKE)
configure:2389: result: yes
configure:2418: checking whether make supports nested variables
...
...
@@ -61,8 +64,8 @@ configure:2626: found /usr/bin/gcc
configure:2637: result: gcc
configure:2866: checking for C compiler version
configure:2875: gcc --version >&5
gcc (Ubuntu
8.3.0-6ubuntu1~18.10.1) 8.3
.0
Copyright (C) 201
8
Free Software Foundation, Inc.
gcc (Ubuntu
7.4.0-1ubuntu1~18.04.1) 7.4
.0
Copyright (C) 201
7
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
...
...
@@ -70,13 +73,13 @@ configure:2886: $? = 0
configure:2875: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/
8
/lto-wrapper
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/
7
/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
8.3.0-6ubuntu1~18.10.1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version
8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10
.1)
gcc version
7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04
.1)
configure:2886: $? = 0
configure:2875: gcc -V >&5
gcc: error: unrecognized command line option '-V'
...
...
@@ -135,8 +138,8 @@ configure:3675: found /usr/bin/g++
configure:3686: result: g++
configure:3713: checking for C++ compiler version
configure:3722: g++ --version >&5
g++ (Ubuntu
8.3.0-6ubuntu1~18.10.1) 8.3
.0
Copyright (C) 201
8
Free Software Foundation, Inc.
g++ (Ubuntu
7.4.0-1ubuntu1~18.04.1) 7.4
.0
Copyright (C) 201
7
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
...
...
@@ -144,13 +147,13 @@ configure:3733: $? = 0
configure:3722: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/
8
/lto-wrapper
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/
7
/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
8.3.0-6ubuntu1~18.10.1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version
8.3.0 (Ubuntu 8.3.0-6ubuntu1~18.10
.1)
gcc version
7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04
.1)
configure:3733: $? = 0
configure:3722: g++ -V >&5
g++: error: unrecognized command line option '-V'
...
...
@@ -214,11 +217,11 @@ configure: failed program was:
| #define VERSION "1.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:43
11
: Found your Intel SGX SDK in /d/sgxd/sgx-sdk-build/sgxsdk
configure:436
8
: enabling SGX... yes
configure:45
35
: checking that generated files are newer than configure
configure:45
41
: result: done
configure:4
580
: creating ./config.status
configure:43
07
: Found your Intel SGX SDK in /d/sgxd/sgx-sdk-build/sgxsdk
configure:436
4
: enabling SGX... yes
configure:45
56
: checking that generated files are newer than configure
configure:45
62
: result: done
configure:4
601
: creating ./config.status
## ---------------------- ##
## Running config.status. ##
...
...
@@ -233,7 +236,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_COMMANDS =
$ ./config.status
on
kladko
on
skale-Lenovo-ideapad-520-15IKB
config.status:815: creating Makefile
config.status:815: creating secure_enclave/Makefile
...
...
@@ -273,7 +276,7 @@ ac_cv_env_target_alias_value=
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=
g
awk
ac_cv_prog_AWK=
m
awk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
...
...
@@ -312,7 +315,7 @@ AM_V='$(V)'
AUTOCONF='${SHELL} /d/sgxd/missing autoconf'
AUTOHEADER='${SHELL} /d/sgxd/missing autoheader'
AUTOMAKE='${SHELL} /d/sgxd/missing automake-1.15'
AWK='
g
awk'
AWK='
m
awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
...
...
@@ -331,8 +334,8 @@ ENCLAVE_RELEASE_SIGN_FALSE=''
ENCLAVE_RELEASE_SIGN_TRUE='#'
ENCLAVE_SIGN_TARGET='signed_enclave_dev'
EXEEXT=''
GMP_CPPFLAGS='
-I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include
'
GMP_LDFLAGS='
-L/d/sgxd/gmp-build/lib
'
GMP_CPPFLAGS=''
GMP_LDFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
...
...
@@ -380,8 +383,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service'
SGX_URTS_LIB='sgx_urts'
SHELL='/bin/bash'
STRIP=''
TGMP_CPPFLAGS='
-I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include
'
TGMP_LDFLAGS='
-L/d/sgxd/tgmp-build/lib
'
TGMP_CPPFLAGS=''
TGMP_LDFLAGS=''
VERSION='1.0'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
...
...
config.status
View file @
4d268e32
...
...
@@ -435,7 +435,7 @@ ac_pwd='/d/sgxd'
srcdir
=
'.'
INSTALL
=
'/usr/bin/install -c'
MKDIR_P
=
'/bin/mkdir -p'
AWK
=
'
g
awk'
AWK
=
'
m
awk'
test
-n
"
$AWK
"
||
AWK
=
awk
# The default lists apply if the user does not specify any file.
ac_need_defaults
=
:
...
...
@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]=""
S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]=""
S["LIBOBJS"]=""
S["TGMP_LDFLAGS"]="
-L/d/sgxd/tgmp-build/lib
"
S["TGMP_CPPFLAGS"]="
-I/d/sgxd/tgmp-build/include -I/d/sgxd/gmp-build/include
"
S["GMP_LDFLAGS"]="
-L/d/sgxd/gmp-build/lib
"
S["GMP_CPPFLAGS"]="
-I/d/sgxd/gmp-build/include -I/d/sgxd/tgmp-build/include
"
S["TGMP_LDFLAGS"]=""
S["TGMP_CPPFLAGS"]=""
S["GMP_LDFLAGS"]=""
S["GMP_CPPFLAGS"]=""
S["SGX_HW_SIM_FALSE"]=""
S["SGX_HW_SIM_TRUE"]="#"
S["ENCLAVE_RELEASE_SIGN_FALSE"]=""
...
...
@@ -667,7 +667,7 @@ S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
S["AMTAR"]="
$$
{TAR-tar}"
S["am__leading_dot"]="."
S["SET_MAKE"]=""
S["AWK"]="
g
awk"
S["AWK"]="
m
awk"
S["mkdir_p"]="
$(
MKDIR_P
)
"
S["MKDIR_P"]="/bin/mkdir -p"
S["INSTALL_STRIP_PROGRAM"]="
$(
install_sh
)
-c -s"
...
...
configure
View file @
4d268e32
...
...
@@ -2485,6 +2485,7 @@ ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
AUTOCONF
=
${
AUTOCONF
-
"
${
am_missing_run
}
autoconf"
}
AUTOMAKE
=
${
AUTOMAKE
-
"
${
am_missing_run
}
automake-
${
am__api_version
}
"
}
AUTOHEADER
=
${
AUTOHEADER
-
"
${
am_missing_run
}
autoheader"
}
...
...
@@ -2494,6 +2495,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p
=
'$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
...
...
@@ -2517,6 +2520,7 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
# is OK; and we want to be able to make that assumption in our Makefile
# recipes. So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree.
# See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though.
...
...
@@ -2529,7 +2533,9 @@ on the command line, even when the '-f' option is present. This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
Please tell bug-automake@gnu.org about your system, including the value
of your
$PATH
and any error possibly output before this message. This
can help us improve future automake versions.
END
if
test
x
"
$ACCEPT_INFERIOR_RM_PROGRAM
"
=
x
"yes"
;
then
...
...
@@ -4156,12 +4162,7 @@ fi
# Check whether --with-sgxsdk was given.
if
test
"
${
with_sgxsdk
+set
}
"
=
set
;
then
:
withval
=
$with_sgxsdk
;
SGXSDK
=
$withval
else
SGXSDK
=
"detect"
fi
SGXSDK
=
"
${
PWD
}
/sgx-sdk-build/sgxsdk"
if
test
"x
$sgxsim
"
=
"yes"
;
then
:
...
...
@@ -4253,8 +4254,9 @@ else
fi
SGX_DEBUG_FLAGS
=
$_sgxdebug
if
test
-d
${
PWD
}
/sgx-sdk-build/sgxsdk
;
then
:
SGXSDK
=
${
PWD
}
/sgx-sdk-build/sgxsdk
if
test
-d
${
SGXSDK
}
;
then
:
else
as_fn_error
$?
"Can't detect your Intel SGX SDK installation directory"
"
$LINENO
"
5
fi
...
...
@@ -4364,19 +4366,44 @@ $as_echo "$as_me: enabling SGX... ${ac_cv_enable_sgx}" >&6;}
ac_cv_sgx_init
=
yes
gmpdir
=
tgmpdir
=
export
gmpdir
=
"
${
PWD
}
/gmp-build"
export
tgmpdir
=
"
${
PWD
}
/tgmp-build"
# Check whether --with-gmpdir was given.
if
test
"
${
with_gmpdir
+set
}
"
=
set
;
then
:
withval
=
$with_gmpdir
;
gmpdir
=
$withval
fi
GMP_CPPFLAGS
=
"-I
${
gmpdir
}
/include -I
${
tgmpdir
}
/include"
GMP_LDFLAGS
=
"-L
$gmpdir
/lib"
TGMP_CPPFLAGS
=
"-I
${
tgmpdir
}
/include -I
${
gmpdir
}
/include"
# Check whether --with-trusted-gmpdir was given.
if
test
"
${
with_trusted_gmpdir
+set
}
"
=
set
;
then
:
withval
=
$with_trusted_gmpdir
;
tgmpdir
=
$withval
else
tgmpdir
=
$gmpdir
fi
if
test
"
$gmpdir
"
!=
""
;
then
:
TGMP_LDFLAGS
=
"-L
$tgmpdir
/lib"
GMP_CPPFLAGS
=
-I
$gmpdir
/include
GMP_LDFLAGS
=
-L
$gmpdir
/lib
fi
if
test
"
$tgmpdir
"
!=
""
;
then
:
TGMP_CPPFLAGS
=
-I
$tgmpdir
/include
TGMP_LDFLAGS
=
-L
$tgmpdir
/lib
fi
ac_config_files
=
"
$ac_config_files
Makefile secure_enclave/Makefile"
...
...
@@ -5700,3 +5727,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: WARNING: unrecognized options:
$ac_unrecognized_opts
"
>
&5
$as_echo
"
$as_me
: WARNING: unrecognized options:
$ac_unrecognized_opts
"
>
&2
;
}
fi
secure_enclave/Makefile
View file @
4d268e32
...
...
@@ -201,8 +201,8 @@ AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY
=
1
AUTOCONF
=
${
SHELL
}
/d/sgxd/missing autoconf
AUTOHEADER
=
${
SHELL
}
/d/sgxd/missing autoheader
AUTOMAKE
=
AWK
=
g
awk
AUTOMAKE
=
${
SHELL
}
/d/sgxd/missing automake-1.15
AWK
=
m
awk
CC
=
gcc
CCDEPMODE
=
depmode
=
gcc3
CFLAGS
=
-g
-O2
...
...
@@ -219,8 +219,8 @@ ECHO_N = -n
ECHO_T
=
ENCLAVE_SIGN_TARGET
=
signed_enclave_dev
EXEEXT
=
.so
GMP_CPPFLAGS
=
-I
/d/sgxd/gmp-build/include
-I
/d/sgxd/tgmp-build/include
GMP_LDFLAGS
=
-L
/d/sgxd/gmp-build/lib
GMP_CPPFLAGS
=
GMP_LDFLAGS
=
INSTALL
=
/usr/bin/install
-c
INSTALL_DATA
=
${
INSTALL
}
-m
644
INSTALL_PROGRAM
=
${
INSTALL
}
...
...
@@ -265,8 +265,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB
=
sgx_urts
SHELL
=
/bin/bash
STRIP
=
TGMP_CPPFLAGS
=
-I
/d/sgxd/tgmp-build/include
-I
/d/sgxd/gmp-build/include
TGMP_LDFLAGS
=
-L
/d/sgxd/tgmp-build/lib
TGMP_CPPFLAGS
=
TGMP_LDFLAGS
=
VERSION
=
1.0
abs_builddir
=
/d/sgxd/secure_enclave
abs_srcdir
=
/d/sgxd/secure_enclave
...
...
@@ -318,7 +318,8 @@ SGX_SIGN = $(SGXSDK_BINDIR)/sgx_sign
SGXSSL_BINDIR
=
@SGXSSL_BINDIR@
AM_CFLAGS
=
-nostdinc
-fvisibility
=
hidden
-fpie
-ffunction-sections
-fdata-sections
-fstack-protector
AM_CPPFLAGS
=
-I
$(SGXSDK_INCDIR)
-I
$(SGXSDK_INCDIR)
/tlibc
$(TGMP_CPPFLAGS)
-I
../libff
\
-I
../sgx-sdk-build/sgxsdk/include/libcxx
-I
../sgx-sdk-build/sgxsdk/include/libcxx
\
-I
../intel-sgx-ssl/Linux/package/include
AM_CXXFLAGS
=
-nostdinc
++
-fvisibility
=
hidden
-fpie
-ffunction-sections
-fdata-sections
-fstack-protector
-nostdinc
-fvisibility
=
hidden
-fpie
-ffunction-sections
-fdata-sections
-fstack-protector
-fno-builtin
AM_LDFLAGS
=
-nostdlib
-nodefaultlibs
-nostartfiles
-L
$(SGXSDK_LIBDIR)
$(TGMP_LDFLAGS)
CLEANFILES
=
$(ENCLAVE)
.signed.so secure_enclave_t.c
\
...
...
@@ -334,7 +335,7 @@ secure_enclave_SOURCES = secure_enclave_t.c secure_enclave_t.h \
../libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
$(ENCLAVE_KEY)
$(ENCLAVE_CONFIG)
secure_enclave_LDADD
=
-Wl
,--no-undefined
-Wl
,--whole-archive
-l
$(SGX_TRTS_LIB)
-Wl
,--no-whole-archive
-Wl
,--start-group
$(SGX_EXTRA_TLIBS)
-lsgx_tstdc
-lsgx_tcrypto
-l
$(SGX_TSERVICE_LIB)
-Wl
,--end-group
-Wl
,-Bstatic
-Wl
,-Bsymbolic
-Wl
,-pie,-eenclave_entry
-Wl
,--export-dynamic
-Wl
,--defsym,__ImageBase
=
0
SGX_EXTRA_TLIBS
=
-lsgx_tgmp
-lsgx_tservice
-lsgx_urts
-lsgx_tcxx
SGX_EXTRA_TLIBS
=
-lsgx_tgmp
-lsgx_tservice
-lsgx_urts
-lsgx_tcxx
../intel-sgx-ssl/Linux/package/lib64/libsgx_tsgxssl_crypto.a
all
:
all-am
.SUFFIXES
:
...
...
secure_enclave/Makefile.in
View file @
4d268e32
...
...
@@ -318,7 +318,8 @@ SGX_SIGN = $(SGXSDK_BINDIR)/sgx_sign
SGXSSL_BINDIR
=
@SGXSSL_BINDIR@
AM_CFLAGS
=
@SGX_ENCLAVE_CFLAGS@
AM_CPPFLAGS
=
@SGX_ENCLAVE_CPPFLAGS@
$(TGMP_CPPFLAGS)
-I
../libff
\
-I
../sgx-sdk-build/sgxsdk/include/libcxx
-I
../sgx-sdk-build/sgxsdk/include/libcxx
\
-I
../intel-sgx-ssl/Linux/package/include
AM_CXXFLAGS
=
@SGX_ENCLAVE_CXXFLAGS@ @SGX_ENCLAVE_CFLAGS@
-fno-builtin
AM_LDFLAGS
=
@SGX_ENCLAVE_LDFLAGS@
$(TGMP_LDFLAGS)
CLEANFILES
=
$(ENCLAVE)
.signed.so secure_enclave_t.c
\
...
...
@@ -334,7 +335,7 @@ secure_enclave_SOURCES = secure_enclave_t.c secure_enclave_t.h \
../libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
$(ENCLAVE_KEY)
$(ENCLAVE_CONFIG)
secure_enclave_LDADD
=
@SGX_ENCLAVE_LDADD@
SGX_EXTRA_TLIBS
=
-lsgx_tgmp
-lsgx_tservice
-lsgx_urts
-lsgx_tcxx
SGX_EXTRA_TLIBS
=
-lsgx_tgmp
-lsgx_tservice
-lsgx_urts
-lsgx_tcxx
../intel-sgx-ssl/Linux/package/lib64/libsgx_tsgxssl_crypto.a
all
:
all-am
.SUFFIXES
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment