summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-10-26 21:30:31 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-10-26 21:30:31 +0000
commit938aa3e4af78e1145a032766e248e6ef59842b45 (patch)
treeebca49fde071193784a214f2b57ace1be2b199ea /llvm/runtime/GCCLibraries
parente43c9c2db2926b9033e8f30c01d75b52d84b89bf (diff)
downloadbcm5719-llvm-938aa3e4af78e1145a032766e248e6ef59842b45.tar.gz
bcm5719-llvm-938aa3e4af78e1145a032766e248e6ef59842b45.zip
* Make the libcrtend.a installation depend on the bytecode-libs directory
* Conform output to standard. llvm-svn: 17267
Diffstat (limited to 'llvm/runtime/GCCLibraries')
-rw-r--r--llvm/runtime/GCCLibraries/crtend/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/Makefile b/llvm/runtime/GCCLibraries/crtend/Makefile
index a0a59da00e8..c306f4fd1a3 100644
--- a/llvm/runtime/GCCLibraries/crtend/Makefile
+++ b/llvm/runtime/GCCLibraries/crtend/Makefile
@@ -32,8 +32,9 @@ CRTEND_A = $(LIBDIR)/libcrtend.a
all:: $(CRTEND_A)
# Installation simply requires copying the archive to it's new home.
-$(DESTDIR)$(bytecode_libdir)/libcrtend.a: $(CRTEND_A)
- $(INSTALL) $(CRTEND_A) $(DESTDIR)$(bytecode_libdir)
+$(bytecode_libdir)/libcrtend.a: $(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
@@ -46,7 +47,7 @@ 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
+ @$(ECHO) Building final libcrtend.a file from components
$(VERB) $(Archive) $@ $(ComponentLibs)
MainObj := $(OBJDIR)/crtend.bc $(OBJDIR)/listend.bc
@@ -55,17 +56,15 @@ SJLJEHObj := $(OBJDIR)/SJLJ-Exception.bc
# __main and ctor/dtor support component
$(OBJDIR)/comp_main.bc: $(MainObj)
- @echo Linking $(notdir $@) component...
+ @$(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...
+ @$(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...
+ @$(ECHO) Linking $(notdir $@) component...
$(VERB) $(GCCLD) -link-as-library -internalize-public-api-file=$(BUILD_SRC_DIR)/comp_sjljeh.lst $(SJLJEHObj) -o $@
-
-
OpenPOWER on IntegriCloud