summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-27 22:06:23 +0000
committerChris Lattner <sabre@nondot.org>2006-01-27 22:06:23 +0000
commita4575c73493afa9bedb2aab2914d7a7a1bda203d (patch)
treeb5dd7d9307afbe10a926100818371ee48634d619 /llvm/runtime
parent35b707cfcc69d6e535fbef420b777851ef174f05 (diff)
downloadbcm5719-llvm-a4575c73493afa9bedb2aab2914d7a7a1bda203d.tar.gz
bcm5719-llvm-a4575c73493afa9bedb2aab2914d7a7a1bda203d.zip
Remove the only use of FAKE_SOURCES
llvm-svn: 25704
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/GCCLibraries/crtend/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/Makefile b/llvm/runtime/GCCLibraries/crtend/Makefile
index 32077b292d1..6792a36fa58 100644
--- a/llvm/runtime/GCCLibraries/crtend/Makefile
+++ b/llvm/runtime/GCCLibraries/crtend/Makefile
@@ -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)
+
OpenPOWER on IntegriCloud