1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Remove the only use of FAKE_SOURCES

llvm-svn: 25704
This commit is contained in:
Chris Lattner 2006-01-27 22:06:23 +00:00
parent 6604d5edc9
commit 6a3f08a312

View File

@ -17,7 +17,6 @@
LEVEL = ../../..
DONT_BUILD_RELINKED = 1
BYTECODE_LIBRARY = 1
LIBRARYNAME = crtend
BYTECODE_DESTINATION = $(CFERuntimeLibDir)
@ -28,8 +27,6 @@ BYTECODE_DESTINATION = $(CFERuntimeLibDir)
# FAKE_SOURCES for dependencies, distribution, etc. It is assumed the makefile
# will know how to build the objects eventhough the sources don't exist.
FAKE_SOURCES := comp_main.c comp_genericeh.c comp_sjljeh.c
MainSrc := crtend.c listend.ll
GenericEHSrc := Exception.cpp
SJLJEHSrc := SJLJ-Exception.cpp
@ -63,3 +60,14 @@ $(ObjDir)/comp_sjljeh.bc: $(SJLJEHObj)
$(Verb) $(GCCLD) -link-as-library \
-internalize-public-api-file=$(PROJ_SRC_DIR)/comp_sjljeh.lst \
$(SJLJEHObj) -o $@
SYMBOLHACKEDOBJS := $(ObjDir)/comp_main.bc $(ObjDir)/comp_genericeh.bc \
$(ObjDir)/comp_sjljeh.bc
all-local:: $(LibName.BCA)
$(LibName.BCA): $(SYMBOLHACKEDOBJS) $(LibDir)/.dir $(LLVMToolDir)/llvm-ar
$(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@)
$(Verb) $(RM) -f $@
$(Verb) $(LArchive) $@ $(SYMBOLHACKEDOBJS)