summaryrefslogtreecommitdiff
path: root/runtime/GCCLibraries/libexception/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/GCCLibraries/libexception/Makefile')
-rw-r--r--runtime/GCCLibraries/libexception/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/GCCLibraries/libexception/Makefile b/runtime/GCCLibraries/libexception/Makefile
new file mode 100644
index 0000000000..3715b14309
--- /dev/null
+++ b/runtime/GCCLibraries/libexception/Makefile
@@ -0,0 +1,17 @@
+LEVEL = ../../..
+BYTECODE_LIBRARY=1
+DONT_BUILD_RELINKED=1
+LIBRARYNAME=exception
+
+#Source = crtend.c listend.ll
+
+###EXPORTED_SYMBOL_LIST = __main,llvm.global_ctors,llvm.global_dtors
+
+include $(LEVEL)/Makefile.common
+
+
+$(LLVMGCCDIR)/bytecode-libs/crtend.o: $(LIBNAME_BC)
+ @cp $< $@
+
+install:: $(LLVMGCCDIR)/bytecode-libs/crtend.o
+ @rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc