Convert libraries into the BYTECODE_LIBRARY style

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-15 02:20:32 +00:00
parent 6defc76a85
commit da86e6c0b6
10 changed files with 40 additions and 93 deletions

View File

@@ -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
install:: $(DESTLIBNAME)
cp $(DESTLIBNAME) $(INSTALL_DIR)/crtend.o
rm $(INSTALL_DIR)/libcrtend.bc
$(LLVMGCCDIR)/bytecode-libs/crtend.o: $(LIBNAME_BC)
@cp $< $@
install:: $(LLVMGCCDIR)/bytecode-libs/crtend.o
@rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc