summaryrefslogtreecommitdiff
path: root/runtime/libtrace/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libtrace/Makefile')
-rw-r--r--runtime/libtrace/Makefile24
1 files changed, 4 insertions, 20 deletions
diff --git a/runtime/libtrace/Makefile b/runtime/libtrace/Makefile
index b74e037dcf..199dd749ee 100644
--- a/runtime/libtrace/Makefile
+++ b/runtime/libtrace/Makefile
@@ -1,23 +1,7 @@
LEVEL = ../../..
+BYTECODE_LIBRARY=1
+#DONT_BUILD_RELINKED=1
+LIBRARYNAME=gcc
-LIBNAME = instr
+include $(LEVEL)/Makefile.common
-include ../Makefile.libs
-
-## We need the native libraries for libinstr because they are directly
-## linked into the native CBE or LLC code. That is the only practical
-## way to debug them!
-
-LIBINSTR = ../Output/libinstr.$(ARCH).a
-all:: $(LIBINSTR)
-
-tracelib: tracelib.c
- g++ -g -DTEST_INSTRLIB $< -o $@
-
-Debug/tracelib.o: tracelib.c Debug/.dir
- $(CompileC) -g $< -o $@
-
-$(LIBINSTR): Debug/tracelib.o ../Output/.dir
- ar r $@ $<
-
-tracelib.c: tracelib.h