mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
@@ -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
|
Reference in New Issue
Block a user