summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-20 21:16:19 +0000
committerChris Lattner <sabre@nondot.org>2002-05-20 21:16:19 +0000
commitf7b31cceec0ffb2f935006b6dbceb4bee767483f (patch)
tree41a4e671cd5d55d9b643d59a19d1d8f803070031
parent008db290b850fae124d6e871322e4ab71ee1cb2f (diff)
downloadbcm5719-llvm-f7b31cceec0ffb2f935006b6dbceb4bee767483f.tar.gz
bcm5719-llvm-f7b31cceec0ffb2f935006b6dbceb4bee767483f.zip
Tracelib is now an LLVM library just like all other libraries in this
directory. If the test code needs to be resurrected in the future, it should be moved into the test/Programs directory, linking with tracelib. llvm-svn: 2672
-rw-r--r--llvm/runtime/libtrace/Makefile27
1 files changed, 6 insertions, 21 deletions
diff --git a/llvm/runtime/libtrace/Makefile b/llvm/runtime/libtrace/Makefile
index 18110e223ed..7e3012e76a5 100644
--- a/llvm/runtime/libtrace/Makefile
+++ b/llvm/runtime/libtrace/Makefile
@@ -1,26 +1,11 @@
LEVEL = ../../..
-include $(LEVEL)/Makefile.common
+LIBNAME = instr
-LIB32 = ../Output/libinstr32.a
-LIB64 = ../Output/libinstr64.a
-all:: $(LIB32) $(LIB64)
+# We use assert and memset here... and we are linked into the program AFTER final
+# link. Because of this, we have to play funny games here. :(
+LDFLAGS = /home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/libgcc.bc \
+ /home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/libc.bc
-tracelib: tracelib.c
- g++ -g -DTEST_INSTRLIB $< -o $@
+include ../Makefile.libs
-Debug/tracelib32.o: tracelib.c Debug/.dir
- g++ -c -g $< -o $@
-
-Debug/tracelib64.o: tracelib.c Debug/.dir
- cc -c -xarch=v9 -g $< -o $@
-
-$(LIB32): Debug/tracelib32.o ../Output/.dir
- ar r $@ $<
-
-$(LIB64): Debug/tracelib64.o ../Output/.dir
- ar r $@ $<
-
-test: tracelib
-
-tracelib.c: tracelib.h
OpenPOWER on IntegriCloud