summaryrefslogtreecommitdiffstats
path: root/llvm/runtime
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-30 09:19:36 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-30 09:19:36 +0000
commitf88808ae4325474a5eaf22293cc12bee38a6b033 (patch)
tree3297f24c42bc89562a34fc86d54f62923992d930 /llvm/runtime
parentc76fef1248cfed0f0232a66c8fe7ef4815a09845 (diff)
downloadbcm5719-llvm-f88808ae4325474a5eaf22293cc12bee38a6b033.tar.gz
bcm5719-llvm-f88808ae4325474a5eaf22293cc12bee38a6b033.zip
Internalize variable names to prevent recursive assignment. Cleanup docs.
llvm-svn: 17359
Diffstat (limited to 'llvm/runtime')
-rw-r--r--llvm/runtime/GCCLibraries/crtend/Makefile40
1 files changed, 20 insertions, 20 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/Makefile b/llvm/runtime/GCCLibraries/crtend/Makefile
index c306f4fd1a3..4019735125c 100644
--- a/llvm/runtime/GCCLibraries/crtend/Makefile
+++ b/llvm/runtime/GCCLibraries/crtend/Makefile
@@ -28,43 +28,43 @@ Source := $(MainSrc) $(GenericEHSrc) $(SJLJEHSrc) $(CXXEHSrc)
include $(LEVEL)/Makefile.common
# CRTEND_A - The result of making 'all' - the final archive file.
-CRTEND_A = $(LIBDIR)/libcrtend.a
+CRTEND_A = $(LibDir)/libcrtend.a
all:: $(CRTEND_A)
# Installation simply requires copying the archive to it's new home.
$(bytecode_libdir)/libcrtend.a: $(CRTEND_A) $(bytecode_libdir)
- @$(ECHO) Installing $(CRTEND_A)
- $(VERB) $(INSTALL) $(CRTEND_A) $(bytecode_libdir)
+ $(Echo) Installing $(CRTEND_A)
+ $(Verb) $(INSTALL) $(CRTEND_A) $(bytecode_libdir)
install:: $(DESTDIR)$(bytecode_libdir)/libcrtend.a
install-bytecode:: $(DESTDIR)$(bytecode_libdir)/libcrtend.a
-# The four components described in the README
+# The three components described in the README
Components := main genericeh sjljeh
-ComponentLibs := $(Components:%=$(OBJDIR)/comp_%.bc)
+ComponentLibs := $(Components:%=$(ObjDir)/comp_%.bc)
# We build libcrtend.a from the four components described in the README.
-$(CRTEND_A) : $(ComponentLibs) $(LIBDIR)/.dir
- @$(ECHO) Building final libcrtend.a file from components
- $(VERB) $(Archive) $@ $(ComponentLibs)
+$(CRTEND_A) : $(ComponentLibs) $(LibDir)/.dir
+ $(Echo) Building final libcrtend.a file from components
+ $(Verb) $(Archive) $@ $(ComponentLibs)
-MainObj := $(OBJDIR)/crtend.bc $(OBJDIR)/listend.bc
-GenericEHObj := $(OBJDIR)/Exception.bc
-SJLJEHObj := $(OBJDIR)/SJLJ-Exception.bc
+MainObj := $(ObjDir)/crtend.bc $(ObjDir)/listend.bc
+GenericEHObj := $(ObjDir)/Exception.bc
+SJLJEHObj := $(ObjDir)/SJLJ-Exception.bc
# __main and ctor/dtor support component
-$(OBJDIR)/comp_main.bc: $(MainObj)
- @$(ECHO) Linking $(notdir $@) component...
- $(VERB) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_main.lst $(MainObj) -o $@
+$(ObjDir)/comp_main.bc: $(MainObj)
+ $(Echo) Linking $(notdir $@) component...
+ $(Verb) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_main.lst $(MainObj) -o $@
# Generic exception handling support runtime.
-$(OBJDIR)/comp_genericeh.bc: $(GenericEHObj)
- @$(ECHO) Linking $(notdir $@) component...
- $(VERB) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_genericeh.lst $(GenericEHObj) -o $@
+$(ObjDir)/comp_genericeh.bc: $(GenericEHObj)
+ $(Echo) Linking $(notdir $@) component...
+ $(Verb) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_genericeh.lst $(GenericEHObj) -o $@
# setjmp/longjmp exception handling support runtime.
-$(OBJDIR)/comp_sjljeh.bc: $(SJLJEHObj)
- @$(ECHO) Linking $(notdir $@) component...
- $(VERB) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst $(SJLJEHObj) -o $@
+$(ObjDir)/comp_sjljeh.bc: $(SJLJEHObj)
+ $(Echo) Linking $(notdir $@) component...
+ $(Verb) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst $(SJLJEHObj) -o $@
OpenPOWER on IntegriCloud