summaryrefslogtreecommitdiff
path: root/runtime/libtrace
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-15 02:20:32 +0000
committerChris Lattner <sabre@nondot.org>2003-08-15 02:20:32 +0000
commitda86e6c0b69e79e6010878005fab7f1825bd3917 (patch)
tree52619ebd965c7d181d846a45cec30e070d492eef /runtime/libtrace
parent6defc76a852c3d11469e49cb29d50ed7b383a6a0 (diff)
downloadllvm-da86e6c0b69e79e6010878005fab7f1825bd3917.tar.gz
llvm-da86e6c0b69e79e6010878005fab7f1825bd3917.tar.bz2
llvm-da86e6c0b69e79e6010878005fab7f1825bd3917.tar.xz
Convert libraries into the BYTECODE_LIBRARY style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/libtrace')
-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