[llvm-commits] CVS: llvm/test/Libraries/libinstr/Makefile

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 14 21:22:00 PDT 2003


Changes in directory llvm/test/Libraries/libinstr:

Makefile updated: 1.4 -> 1.5

---
Log message:

Convert libraries into the BYTECODE_LIBRARY style


---
Diffs of the changes:

Index: llvm/test/Libraries/libinstr/Makefile
diff -u llvm/test/Libraries/libinstr/Makefile:1.4 llvm/test/Libraries/libinstr/Makefile:1.5
--- llvm/test/Libraries/libinstr/Makefile:1.4	Tue Jul  8 13:40:58 2003
+++ llvm/test/Libraries/libinstr/Makefile	Thu Aug 14 21:20:19 2003
@@ -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





More information about the llvm-commits mailing list