1 ##===- lib/CompilerDriver/Makefile -------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open
6 # Source License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
12 # We don't want this library to appear in `llvm-config --libs` output, so its
13 # name doesn't start with "LLVM".
15 LIBRARYNAME = libCompilerDriver
16 LLVMLIBS = LLVMSupport.a LLVMSystem.a
20 include $(LEVEL)/Makefile.common
22 FullLibName = $(LIBRARYNAME)$(SHLIBEXT)
24 # Copy the library to the bin dir so that llvmc can find it.
26 $(Echo) Copying $(BuildMode) Shared Library $(FullLibName) \
28 -$(Verb) $(CP) $(LibDir)/$(FullLibName) $(ToolDir)/
31 $(Echo) Removing $(BuildMode) Shared Library $(FullLibName) \
33 -$(Verb) $(RM) -f $(ToolDir)/$(FullLibName)