@@ -3,9 +3,6 @@ include ../../../Scripts/Makefile.configs
# SUBDIRS = regression native inline benchmark
SUBDIRS = native fs
-.PHONY: default
-default: all
-
.PHONY: all clean sgx-tokens distclean
all clean sgx-tokens distclean:
for d in $(SUBDIRS); do \
@@ -4,9 +4,6 @@ cxx_executables = $(patsubst %.cpp,%,$(wildcard *.cpp))
exec_target = $(c_executables) $(cxx_executables)
target = $(c_executables) $(cxx_executables) manifest
include ../../../../Scripts/Makefile.configs
include ../../../../Scripts/Makefile.manifest
include ../../../../Scripts/Makefile.Test
@@ -7,9 +7,6 @@ target = $(exec_target) $(manifests)
clean-extra += clean-tmp
@@ -45,9 +45,6 @@ include ../../Scripts/Makefile.manifest
graphene_lib = .lib/graphene-lib.a
pal_lib = ../../Runtime/libpal-$(PAL_HOST).so
RUNTIME_DIR = $(CURDIR)/../../Runtime
.PHONY: all
@@ -4,9 +4,6 @@ include ../../Scripts/Makefile.rules
CFLAGS += -fno-builtin -nostdlib -no-pie \
-I../include/pal -I../lib
executables = HelloWorld File Failure Thread Fork Event Process Exception \
Memory Pipe Tcp Udp Yield Server Wait HandleSend Select Segment \
Sleep Cpuid Pie
@@ -20,9 +20,6 @@ CFLAGS-libos-debug = -I$(SHIMDIR)/include -I$(PALDIR)/../include/pal -I$(PALDIR)
CXXFLAGS-libos-debug = -I$(SHIMDIR)/include -I$(PALDIR)/../include/pal -I$(PALDIR)/../lib -fno-builtin -nostdlib
LDFLAGS-libos-debug = -L$(SHIMDIR)/src -L$(PALDIR)/host/$(PAL_HOST) -Wl,-rpath-link=$(abspath $(RUNTIME)) -lpal -lsysdb_debug
all: pal_loader $(target) | $(exec_target) $(call expand_target_to_sgx,$(exec_target)) $(call expand_target_to_sig,$(exec_target))