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

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


Changes in directory llvm/test/Libraries/crtend:

Makefile updated: 1.2 -> 1.3

---
Log message:

Convert libraries into the BYTECODE_LIBRARY style



---
Diffs of the changes:

Index: llvm/test/Libraries/crtend/Makefile
diff -u llvm/test/Libraries/crtend/Makefile:1.2 llvm/test/Libraries/crtend/Makefile:1.3
--- llvm/test/Libraries/crtend/Makefile:1.2	Thu May 22 14:50:30 2003
+++ llvm/test/Libraries/crtend/Makefile	Thu Aug 14 21:20:03 2003
@@ -1,11 +1,17 @@
 LEVEL = ../../..
-LIBNAME = crtend
+BYTECODE_LIBRARY=1
+DONT_BUILD_RELINKED=1
+LIBRARYNAME=crtend
+
 Source = crtend.c listend.ll
 
 EXPORTED_SYMBOL_LIST = __main,llvm.global_ctors,llvm.global_dtors
 
-include ../Makefile.libs
+include $(LEVEL)/Makefile.common
+
+
+$(LLVMGCCDIR)/bytecode-libs/crtend.o: $(LIBNAME_BC)
+	@cp $< $@
 
-install:: $(DESTLIBNAME)
-	cp $(DESTLIBNAME) $(INSTALL_DIR)/crtend.o
-	rm $(INSTALL_DIR)/libcrtend.bc
+install:: $(LLVMGCCDIR)/bytecode-libs/crtend.o
+	@rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc
\ No newline at end of file





More information about the llvm-commits mailing list