Changes in directory llvm/runtime/GCCLibraries/crtend:

Makefile updated: 1.31 -> 1.32
---
Log message:

fix make install/uninstall of libcrtend.


---
Diffs of the changes:  (+19 -0)

 Makefile |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+)


Index: llvm/runtime/GCCLibraries/crtend/Makefile
diff -u llvm/runtime/GCCLibraries/crtend/Makefile:1.31 
llvm/runtime/GCCLibraries/crtend/Makefile:1.32
--- llvm/runtime/GCCLibraries/crtend/Makefile:1.31      Fri Jan 27 16:06:50 2006
+++ llvm/runtime/GCCLibraries/crtend/Makefile   Sun Jan 29 20:03:56 2006
@@ -59,8 +59,27 @@
 
 all-local:: $(LibName.BCA)
 
+ifdef BYTECODE_DESTINATION
+BytecodeDestDir := $(BYTECODE_DESTINATION)
+else
+BytecodeDestDir := $(PROJ_libdir)
+endif
+
+DestBytecodeLib = $(BytecodeDestDir)/lib$(LIBRARYNAME).a
+install-bytecode-local:: $(DestBytecodeLib)
+install-local:: $(DestBytecodeLib)
+
 $(LibName.BCA): $(SYMBOLHACKEDOBJS) $(LibDir)/.dir $(LLVMToolDir)/llvm-ar
        $(Echo) Building $(BuildMode) Bytecode Archive $(notdir $@)
        $(Verb) $(RM) -f $@
        $(Verb) $(LArchive) $@ $(SYMBOLHACKEDOBJS)
 
+$(DestBytecodeLib): $(BytecodeDestDir) $(LibName.BCA) 
+       $(Echo) Installing $(BuildMode) Bytecode Archive $(DestBytecodeLib)
+       $(Verb) $(DataInstall) $(LibName.BCA) $(DestBytecodeLib)
+
+uninstall-local::
+       $(Echo) Uninstalling $(BuildMode) Bytecode Archive $(DestBytecodeLib)
+       -$(Verb) $(RM) -f $(DestBytecodeLib)
+
+



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to