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
This commit is contained in:
Daniel Dunbar 2009-06-29 22:59:36 +00:00
parent 2bfa06d8cd
commit 0faea04e8f

View File

@ -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) \