Added gmp

parent 388c88e5
...@@ -4,3 +4,5 @@ ...@@ -4,3 +4,5 @@
gmp-build gmp-build
tgmp-build tgmp-build
install-sh install-sh
/config.log
/config.status
# Makefile.in generated by automake 1.15.1 from Makefile.am. # Makefile.in generated by automake 1.16.1 from Makefile.am.
# EnclaveGmpTest/Makefile. Generated from Makefile.in by configure. # EnclaveGmpTest/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994-2017 Free Software Foundation, Inc. # Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
...@@ -132,7 +132,11 @@ am__v_at_0 = @ ...@@ -132,7 +132,11 @@ am__v_at_0 = @
am__v_at_1 = am__v_at_1 =
DEFAULT_INCLUDES = -I. DEFAULT_INCLUDES = -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/EnclaveGmpTest.Po \
./$(DEPDIR)/EnclaveGmpTest_t.Po \
./$(DEPDIR)/signed_enclave_debug.Po \
./$(DEPDIR)/signed_enclave_rel.Po
am__mv = mv -f am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
...@@ -200,8 +204,8 @@ ECHO_N = -n ...@@ -200,8 +204,8 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = .so EXEEXT = .so
GMP_CPPFLAGS = -Igmp-build/include GMP_CPPFLAGS = -I/d/sgxd/gmp-build/include
GMP_LDFLAGS = -Lgmp-build/lib GMP_LDFLAGS = -L/d/sgxd/gmp-build/lib
INSTALL = /usr/bin/install -c INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
...@@ -224,10 +228,10 @@ PACKAGE_URL = ...@@ -224,10 +228,10 @@ PACKAGE_URL =
PACKAGE_VERSION = 1.0 PACKAGE_VERSION = 1.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
SET_MAKE = SET_MAKE =
SGXSDK = sgx-sdk-build/sgxsdk SGXSDK = /d/sgxd/sgx-sdk-build/sgxsdk
SGXSDK_BINDIR = sgx-sdk-build/sgxsdk/bin/x64 SGXSDK_BINDIR = /d/sgxd/sgx-sdk-build/sgxsdk/bin/x64
SGXSDK_INCDIR = sgx-sdk-build/sgxsdk/include SGXSDK_INCDIR = /d/sgxd/sgx-sdk-build/sgxsdk/include
SGXSDK_LIBDIR = sgx-sdk-build/sgxsdk/lib64 SGXSDK_LIBDIR = /d/sgxd/sgx-sdk-build/sgxsdk/lib64
SGXSSL = /opt/intel/sgxssl SGXSSL = /opt/intel/sgxssl
SGXSSL_INCDIR = /opt/intel/sgxssl/include SGXSSL_INCDIR = /opt/intel/sgxssl/include
SGXSSL_LIBDIR = /opt/intel/sgxssl/lib64 SGXSSL_LIBDIR = /opt/intel/sgxssl/lib64
...@@ -246,8 +250,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service ...@@ -246,8 +250,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash SHELL = /bin/bash
STRIP = STRIP =
TGMP_CPPFLAGS = -Itgmp-build/include TGMP_CPPFLAGS = -I/d/sgxd/tgmp-build/include
TGMP_LDFLAGS = -Ltgmp-build/lib TGMP_LDFLAGS = -L/d/sgxd/tgmp-build/lib
VERSION = 1.0 VERSION = 1.0
abs_builddir = /d/sgxd/EnclaveGmpTest abs_builddir = /d/sgxd/EnclaveGmpTest
abs_srcdir = /d/sgxd/EnclaveGmpTest abs_srcdir = /d/sgxd/EnclaveGmpTest
...@@ -334,8 +338,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status ...@@ -334,8 +338,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
*config.status*) \ *config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \ *) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac; esac;
$(top_srcdir)/build-aux/sgx_enclave.am $(am__empty): $(top_srcdir)/build-aux/sgx_enclave.am $(am__empty):
...@@ -400,10 +404,16 @@ mostlyclean-compile: ...@@ -400,10 +404,16 @@ mostlyclean-compile:
distclean-compile: distclean-compile:
-rm -f *.tab.c -rm -f *.tab.c
include ./$(DEPDIR)/EnclaveGmpTest.Po include ./$(DEPDIR)/EnclaveGmpTest.Po # am--include-marker
include ./$(DEPDIR)/EnclaveGmpTest_t.Po include ./$(DEPDIR)/EnclaveGmpTest_t.Po # am--include-marker
include ./$(DEPDIR)/signed_enclave_debug.Po include ./$(DEPDIR)/signed_enclave_debug.Po # am--include-marker
include ./$(DEPDIR)/signed_enclave_rel.Po include ./$(DEPDIR)/signed_enclave_rel.Po # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
am--depfiles: $(am__depfiles_remade)
.c.o: .c.o:
$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
...@@ -471,7 +481,10 @@ cscopelist-am: $(am__tagged_files) ...@@ -471,7 +481,10 @@ cscopelist-am: $(am__tagged_files)
distclean-tags: distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES) distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \ list='$(DISTFILES)'; \
...@@ -544,7 +557,10 @@ clean: clean-am ...@@ -544,7 +557,10 @@ clean: clean-am
clean-am: clean-generic clean-libexecPROGRAMS mostlyclean-am clean-am: clean-generic clean-libexecPROGRAMS mostlyclean-am
distclean: distclean-am distclean: distclean-am
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/EnclaveGmpTest.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_t.Po
-rm -f ./$(DEPDIR)/signed_enclave_debug.Po
-rm -f ./$(DEPDIR)/signed_enclave_rel.Po
-rm -f Makefile -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \ distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags distclean-tags
...@@ -590,7 +606,10 @@ install-ps-am: ...@@ -590,7 +606,10 @@ install-ps-am:
installcheck-am: installcheck-am:
maintainer-clean: maintainer-clean-am maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/EnclaveGmpTest.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_t.Po
-rm -f ./$(DEPDIR)/signed_enclave_debug.Po
-rm -f ./$(DEPDIR)/signed_enclave_rel.Po
-rm -f Makefile -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic maintainer-clean-am: distclean-am maintainer-clean-generic
...@@ -610,19 +629,19 @@ uninstall-am: uninstall-libexecPROGRAMS ...@@ -610,19 +629,19 @@ uninstall-am: uninstall-libexecPROGRAMS
.MAKE: install-am install-strip .MAKE: install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
clean-libexecPROGRAMS cscopelist-am ctags ctags-am distclean \ clean-generic clean-libexecPROGRAMS cscopelist-am ctags \
distclean-compile distclean-generic distclean-tags distdir dvi \ ctags-am distclean distclean-compile distclean-generic \
dvi-am html html-am info info-am install install-am \ distclean-tags distdir dvi dvi-am html html-am info info-am \
install-data install-data-am install-dvi install-dvi-am \ install install-am install-data install-data-am install-dvi \
install-exec install-exec-am install-html install-html-am \ install-dvi-am install-exec install-exec-am install-html \
install-info install-info-am install-libexecPROGRAMS \ install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-ps \ install-libexecPROGRAMS install-man install-pdf install-pdf-am \
install-ps-am install-strip installcheck installcheck-am \ install-ps install-ps-am install-strip installcheck \
installdirs maintainer-clean maintainer-clean-generic \ installcheck-am installdirs maintainer-clean \
mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ maintainer-clean-generic mostlyclean mostlyclean-compile \
ps ps-am tags tags-am uninstall uninstall-am \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-libexecPROGRAMS uninstall-am uninstall-libexecPROGRAMS
.PRECIOUS: Makefile .PRECIOUS: Makefile
......
# Makefile.in generated by automake 1.15.1 from Makefile.am. # Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright (C) 1994-2017 Free Software Foundation, Inc. # Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
...@@ -132,7 +132,11 @@ am__v_at_0 = @ ...@@ -132,7 +132,11 @@ am__v_at_0 = @
am__v_at_1 = am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/EnclaveGmpTest.Po \
./$(DEPDIR)/EnclaveGmpTest_t.Po \
./$(DEPDIR)/signed_enclave_debug.Po \
./$(DEPDIR)/signed_enclave_rel.Po
am__mv = mv -f am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
...@@ -334,8 +338,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status ...@@ -334,8 +338,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
*config.status*) \ *config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \ *) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
esac; esac;
$(top_srcdir)/build-aux/sgx_enclave.am $(am__empty): $(top_srcdir)/build-aux/sgx_enclave.am $(am__empty):
...@@ -400,10 +404,16 @@ mostlyclean-compile: ...@@ -400,10 +404,16 @@ mostlyclean-compile:
distclean-compile: distclean-compile:
-rm -f *.tab.c -rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest_t.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest_t.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signed_enclave_debug.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signed_enclave_debug.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signed_enclave_rel.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signed_enclave_rel.Po@am__quote@ # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
am--depfiles: $(am__depfiles_remade)
.c.o: .c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
...@@ -471,7 +481,10 @@ cscopelist-am: $(am__tagged_files) ...@@ -471,7 +481,10 @@ cscopelist-am: $(am__tagged_files)
distclean-tags: distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES) distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \ list='$(DISTFILES)'; \
...@@ -544,7 +557,10 @@ clean: clean-am ...@@ -544,7 +557,10 @@ clean: clean-am
clean-am: clean-generic clean-libexecPROGRAMS mostlyclean-am clean-am: clean-generic clean-libexecPROGRAMS mostlyclean-am
distclean: distclean-am distclean: distclean-am
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/EnclaveGmpTest.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_t.Po
-rm -f ./$(DEPDIR)/signed_enclave_debug.Po
-rm -f ./$(DEPDIR)/signed_enclave_rel.Po
-rm -f Makefile -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \ distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags distclean-tags
...@@ -590,7 +606,10 @@ install-ps-am: ...@@ -590,7 +606,10 @@ install-ps-am:
installcheck-am: installcheck-am:
maintainer-clean: maintainer-clean-am maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/EnclaveGmpTest.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_t.Po
-rm -f ./$(DEPDIR)/signed_enclave_debug.Po
-rm -f ./$(DEPDIR)/signed_enclave_rel.Po
-rm -f Makefile -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic maintainer-clean-am: distclean-am maintainer-clean-generic
...@@ -610,19 +629,19 @@ uninstall-am: uninstall-libexecPROGRAMS ...@@ -610,19 +629,19 @@ uninstall-am: uninstall-libexecPROGRAMS
.MAKE: install-am install-strip .MAKE: install-am install-strip
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
clean-libexecPROGRAMS cscopelist-am ctags ctags-am distclean \ clean-generic clean-libexecPROGRAMS cscopelist-am ctags \
distclean-compile distclean-generic distclean-tags distdir dvi \ ctags-am distclean distclean-compile distclean-generic \
dvi-am html html-am info info-am install install-am \ distclean-tags distdir dvi dvi-am html html-am info info-am \
install-data install-data-am install-dvi install-dvi-am \ install install-am install-data install-data-am install-dvi \
install-exec install-exec-am install-html install-html-am \ install-dvi-am install-exec install-exec-am install-html \
install-info install-info-am install-libexecPROGRAMS \ install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-ps \ install-libexecPROGRAMS install-man install-pdf install-pdf-am \
install-ps-am install-strip installcheck installcheck-am \ install-ps install-ps-am install-strip installcheck \
installdirs maintainer-clean maintainer-clean-generic \ installcheck-am installdirs maintainer-clean \
mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ maintainer-clean-generic mostlyclean mostlyclean-compile \
ps ps-am tags tags-am uninstall uninstall-am \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
uninstall-libexecPROGRAMS uninstall-am uninstall-libexecPROGRAMS
.PRECIOUS: Makefile .PRECIOUS: Makefile
......
# Makefile.in generated by automake 1.15.1 from Makefile.am. # Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright (C) 1994-2017 Free Software Foundation, Inc. # Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
...@@ -132,7 +132,14 @@ am__v_at_0 = @ ...@@ -132,7 +132,14 @@ am__v_at_0 = @
am__v_at_1 = am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@ DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/depcomp depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles am__maybe_remake_depfiles = depfiles
am__depfiles_remade = ./$(DEPDIR)/BLSPrivateKey.Po \
./$(DEPDIR)/BLSSignature.Po ./$(DEPDIR)/BLSutils.Po \
./$(DEPDIR)/EnclaveGmpTest_u.Po ./$(DEPDIR)/alt_bn128_g1.Po \
./$(DEPDIR)/alt_bn128_init.Po ./$(DEPDIR)/create_enclave.Po \
./$(DEPDIR)/oc_alloc.Po ./$(DEPDIR)/sgx_detect_linux.Po \
./$(DEPDIR)/sgx_stub.Po ./$(DEPDIR)/sgxgmpmath.Po \
./$(DEPDIR)/sgxgmppi.Po
am__mv = mv -f am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
...@@ -186,7 +193,7 @@ am__recursive_targets = \ ...@@ -186,7 +193,7 @@ am__recursive_targets = \
$(RECURSIVE_CLEAN_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets) $(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input, # Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is # and print each of them once, without duplicates. Input order is
...@@ -427,8 +434,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status ...@@ -427,8 +434,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo ' $(SHELL) ./config.status'; \ echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \ $(SHELL) ./config.status;; \
*) \ *) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac; esac;
$(top_srcdir)/build-aux/sgx_app.am $(am__empty): $(top_srcdir)/build-aux/sgx_app.am $(am__empty):
...@@ -497,18 +504,24 @@ mostlyclean-compile: ...@@ -497,18 +504,24 @@ mostlyclean-compile:
distclean-compile: distclean-compile:
-rm -f *.tab.c -rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSPrivateKey.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSPrivateKey.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSSignature.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSSignature.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSutils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BLSutils.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest_u.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/EnclaveGmpTest_u.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alt_bn128_g1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alt_bn128_g1.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alt_bn128_init.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alt_bn128_init.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/create_enclave.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/create_enclave.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oc_alloc.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oc_alloc.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgx_detect_linux.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgx_detect_linux.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgx_stub.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgx_stub.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgxgmpmath.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgxgmpmath.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgxgmppi.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sgxgmppi.Po@am__quote@ # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
am--depfiles: $(am__depfiles_remade)
.c.o: .c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
...@@ -714,7 +727,10 @@ distclean-tags: ...@@ -714,7 +727,10 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(DISTFILES) distdir: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) distdir-am
distdir-am: $(DISTFILES)
$(am__remove_distdir) $(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)" test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
...@@ -950,7 +966,18 @@ clean-am: clean-binPROGRAMS clean-generic mostlyclean-am ...@@ -950,7 +966,18 @@ clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-recursive distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/BLSPrivateKey.Po
-rm -f ./$(DEPDIR)/BLSSignature.Po
-rm -f ./$(DEPDIR)/BLSutils.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_u.Po
-rm -f ./$(DEPDIR)/alt_bn128_g1.Po
-rm -f ./$(DEPDIR)/alt_bn128_init.Po
-rm -f ./$(DEPDIR)/create_enclave.Po
-rm -f ./$(DEPDIR)/oc_alloc.Po
-rm -f ./$(DEPDIR)/sgx_detect_linux.Po
-rm -f ./$(DEPDIR)/sgx_stub.Po
-rm -f ./$(DEPDIR)/sgxgmpmath.Po
-rm -f ./$(DEPDIR)/sgxgmppi.Po
-rm -f Makefile -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \ distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags distclean-tags
...@@ -998,7 +1025,18 @@ installcheck-am: ...@@ -998,7 +1025,18 @@ installcheck-am:
maintainer-clean: maintainer-clean-recursive maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache -rm -rf $(top_srcdir)/autom4te.cache
-rm -rf ./$(DEPDIR) -rm -f ./$(DEPDIR)/BLSPrivateKey.Po
-rm -f ./$(DEPDIR)/BLSSignature.Po
-rm -f ./$(DEPDIR)/BLSutils.Po
-rm -f ./$(DEPDIR)/EnclaveGmpTest_u.Po
-rm -f ./$(DEPDIR)/alt_bn128_g1.Po
-rm -f ./$(DEPDIR)/alt_bn128_init.Po
-rm -f ./$(DEPDIR)/create_enclave.Po
-rm -f ./$(DEPDIR)/oc_alloc.Po
-rm -f ./$(DEPDIR)/sgx_detect_linux.Po
-rm -f ./$(DEPDIR)/sgx_stub.Po
-rm -f ./$(DEPDIR)/sgxgmpmath.Po
-rm -f ./$(DEPDIR)/sgxgmppi.Po
-rm -f Makefile -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic maintainer-clean-am: distclean-am maintainer-clean-generic
...@@ -1020,21 +1058,22 @@ uninstall-am: uninstall-binPROGRAMS ...@@ -1020,21 +1058,22 @@ uninstall-am: uninstall-binPROGRAMS
install-strip install-strip
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
am--refresh check check-am clean clean-binPROGRAMS \ am--depfiles am--refresh check check-am clean \
clean-cscope clean-generic cscope cscopelist-am ctags ctags-am \ clean-binPROGRAMS clean-cscope clean-generic cscope \
dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-tarZ dist-xz dist-zip distcheck distclean \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
distclean-compile distclean-generic distclean-tags \ distcheck distclean distclean-compile distclean-generic \
distcleancheck distdir distuninstallcheck dvi dvi-am html \ distclean-tags distcleancheck distdir distuninstallcheck dvi \
html-am info info-am install install-am install-binPROGRAMS \ dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \ install-binPROGRAMS install-data install-data-am install-dvi \
install-exec install-exec-am install-html install-html-am \ install-dvi-am install-exec install-exec-am install-html \
install-info install-info-am install-man install-pdf \ install-html-am install-info install-info-am install-man \
install-pdf-am install-ps install-ps-am install-strip \ install-pdf install-pdf-am install-ps install-ps-am \
installcheck installcheck-am installdirs installdirs-am \ install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \ installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS ps ps-am tags tags-am uninstall uninstall-am \
uninstall-binPROGRAMS
.PRECIOUS: Makefile .PRECIOUS: Makefile
......
...@@ -4162,7 +4162,12 @@ fi ...@@ -4162,7 +4162,12 @@ fi
# Check whether --with-sgxsdk was given.
if test "${with_sgxsdk+set}" = set; then :
withval=$with_sgxsdk; SGXSDK=$withval
else
SGXSDK="detect"
fi
if test "x$sgxsim" = "yes"; then : if test "x$sgxsim" = "yes"; then :
...@@ -4252,23 +4257,28 @@ else ...@@ -4252,23 +4257,28 @@ else
as_fn_error $? "Unknown build mode $_sgxbuild" "$LINENO" 5 as_fn_error $? "Unknown build mode $_sgxbuild" "$LINENO" 5
fi fi
SGX_DEBUG_FLAGS=$_sgxdebug
if test -d ${PWD}/sgx-sdk-build/sgxsdk; then :
SGXSDK=${PWD}/sgx-sdk-build/sgxsdk
else
as_fn_error $? "Can't detect your Intel SGX SDK installation directory" "$LINENO" 5
fi
SGXSDK=sgx-sdk-build/sgxsdk
SGX_DEBUG_FLAGS=$_sgxdebug
SGXSDK_INCDIR=$SGXSDK/include SGXSDK_INCDIR=$SGXSDK/include
ac_cv_sgx_sdk=$SGXSDK ac_cv_sgx_sdk=$SGXSDK
ac_cv_sgx_sdk_incdir=$SGXSDK/include ac_cv_sgx_sdk_incdir=$SGXSDK/include
if test -d $SGXSDK/lib; then :
SGXSDK_LIBDIR=$SGXSDK/lib
ac_cv_sgx_sdk_libdir=$SGXSDK/lib
if test -d $SGXSDK/lib64; then : elif test -d $SGXSDK/lib64; then :
SGXSDK_LIBDIR=$SGXSDK/lib64 SGXSDK_LIBDIR=$SGXSDK/lib64
...@@ -4276,15 +4286,17 @@ if test -d $SGXSDK/lib64; then : ...@@ -4276,15 +4286,17 @@ if test -d $SGXSDK/lib64; then :
else else
as_fn_error $? "Can't find Intel SGX SDK lib directory $SGXSDK" "$LINENO" 5 as_fn_error $? "Can't find Intel SGX SDK lib directory" "$LINENO" 5
fi fi
if test -d $SGXSDK/bin/ia32; then :
ac_cv_sgx_sdk_bindir=$SGXSDK/bin
SGXSDK_BINDIR=$SGXSDK/bin/ia32
elif test -d $SGXSDK/bin/x64; then :
if test -d $SGXSDK/bin/x64; then :
ac_cv_sgx_sdk_bindir=$SGXSDK/bin/x64 ac_cv_sgx_sdk_bindir=$SGXSDK/bin/x64
SGXSDK_BINDIR=$SGXSDK/bin/x64 SGXSDK_BINDIR=$SGXSDK/bin/x64
...@@ -4292,7 +4304,7 @@ if test -d $SGXSDK/bin/x64; then : ...@@ -4292,7 +4304,7 @@ if test -d $SGXSDK/bin/x64; then :
else else
as_fn_error $? "Can't find Intel SGX SDK bin directory in $SGXSDK" "$LINENO" 5 as_fn_error $? "Can't find Intel SGX SDK bin directory" "$LINENO" 5
fi fi
...@@ -4358,10 +4370,12 @@ $as_echo "$as_me: enabling SGX... ${ac_cv_enable_sgx}" >&6;} ...@@ -4358,10 +4370,12 @@ $as_echo "$as_me: enabling SGX... ${ac_cv_enable_sgx}" >&6;}
ac_cv_sgx_init=yes ac_cv_sgx_init=yes
gmpdir=
tgmpdir=
gmpdir=gmp-build gmpdir=${PWD}/gmp-build
tgmpdir=tgmp-build tgmpdir=${PWD}/tgmp-build
SGXSDK=sgx-sdk-build/sgxsdk
if test "$gmpdir" != ""; then : if test "$gmpdir" != ""; then :
...@@ -5704,4 +5718,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ...@@ -5704,4 +5718,3 @@ 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:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment