[llvm-commits] [llvm] r74473 - /llvm/trunk/lib/CompilerDriver/Makefile
Daniel Dunbar
daniel at zuster.org
Mon Jun 29 15:59:36 PDT 2009
Author: ddunbar
Date: Mon Jun 29 17:59:36 2009
New Revision: 74473
URL: http://llvm.org/viewvc/llvm-project?rev=74473&view=rev
Log:
Fix install of libCompilerDriver dynamic library to not copy on every build.
Modified:
llvm/trunk/lib/CompilerDriver/Makefile
Modified: llvm/trunk/lib/CompilerDriver/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/Makefile?rev=74473&r1=74472&r2=74473&view=diff
==============================================================================
--- llvm/trunk/lib/CompilerDriver/Makefile (original)
+++ llvm/trunk/lib/CompilerDriver/Makefile Mon Jun 29 17:59:36 2009
@@ -21,11 +21,12 @@
FullLibName = $(LIBRARYNAME)$(SHLIBEXT)
+all-local:: $(ToolDir)/$(FullLibName)
+
# Copy the library to the bin dir so that llvmc can find it.
-all-local::
- $(Echo) Copying $(BuildMode) Shared Library $(FullLibName) \
- to $(ToolDir)
- -$(Verb) $(CP) $(LibDir)/$(FullLibName) $(ToolDir)/
+$(ToolDir)/$(FullLibName): $(LibDir)/$(FullLibName) $(ToolDir)/.dir
+ $(Echo) Copying $(BuildMode) Shared Library $(FullLibName) to $@
+ -$(Verb) $(CP) $< $@
clean-local::
$(Echo) Removing $(BuildMode) Shared Library $(FullLibName) \
More information about the llvm-commits
mailing list