diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 22:59:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 22:59:36 +0000 |
commit | 0faea04e8f4d6c7d26d087dff24773e3f35d1301 (patch) | |
tree | 3facba5bf619ad6edfe20bf5938ac9ef7edaeb8e /lib/CompilerDriver | |
parent | 2bfa06d8cdcf8b89edff6c83047afb6fe4f0627e (diff) | |
download | external_llvm-0faea04e8f4d6c7d26d087dff24773e3f35d1301.zip external_llvm-0faea04e8f4d6c7d26d087dff24773e3f35d1301.tar.gz external_llvm-0faea04e8f4d6c7d26d087dff24773e3f35d1301.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/CompilerDriver')
-rw-r--r-- | lib/CompilerDriver/Makefile | 9 |
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) \ |