[llvm-commits] CVS: llvm/runtime/GCCLibraries/crtend/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 27 14:06:34 PST 2006
Changes in directory llvm/runtime/GCCLibraries/crtend:
Makefile updated: 1.29 -> 1.30
---
Log message:
Remove the only use of FAKE_SOURCES
---
Diffs of the changes: (+11 -3)
Makefile | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
Index: llvm/runtime/GCCLibraries/crtend/Makefile
diff -u llvm/runtime/GCCLibraries/crtend/Makefile:1.29 llvm/runtime/GCCLibraries/crtend/Makefile:1.30
--- llvm/runtime/GCCLibraries/crtend/Makefile:1.29 Tue Oct 18 13:50:26 2005
+++ llvm/runtime/GCCLibraries/crtend/Makefile Fri Jan 27 16:06:23 2006
@@ -17,7 +17,6 @@
LEVEL = ../../..
DONT_BUILD_RELINKED = 1
-BYTECODE_LIBRARY = 1
LIBRARYNAME = crtend
BYTECODE_DESTINATION = $(CFERuntimeLibDir)
@@ -28,8 +27,6 @@
# 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 @@
$(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)
+
More information about the llvm-commits
mailing list