aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-29 22:59:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-29 22:59:36 +0000
commitd0b4295c8d764168a7ff85e631068ceb4ad0fb69 (patch)
tree3facba5bf619ad6edfe20bf5938ac9ef7edaeb8e /lib
parent4bf8da58fb43e9798652414ba07e936fe348840b (diff)
downloadexternal_llvm-d0b4295c8d764168a7ff85e631068ceb4ad0fb69.zip
external_llvm-d0b4295c8d764168a7ff85e631068ceb4ad0fb69.tar.gz
external_llvm-d0b4295c8d764168a7ff85e631068ceb4ad0fb69.tar.bz2
Fix install of libCompilerDriver dynamic library to not copy on every build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74473 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CompilerDriver/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/CompilerDriver/Makefile b/lib/CompilerDriver/Makefile
index bbef2e3..773eb5e 100644
--- a/lib/CompilerDriver/Makefile
+++ b/lib/CompilerDriver/Makefile
@@ -21,11 +21,12 @@ include $(LEVEL)/Makefile.common
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) \