llvmc: remove dynamic plugins.
[oota-llvm.git] / lib / CompilerDriver / Makefile
index bbef2e34a14127530c430b5fc6c3d93fe9ca71ce..69c3707780a6596489464d896bccf958cb70773d 100644 (file)
@@ -12,22 +12,7 @@ LEVEL = ../..
 # We don't want this library to appear in `llvm-config --libs` output, so its
 # name doesn't start with "LLVM".
 
-LIBRARYNAME = libCompilerDriver
-LLVMLIBS = LLVMSupport.a LLVMSystem.a
-LOADABLE_MODULE := 1
-REQUIRES_EH := 1
+LIBRARYNAME = CompilerDriver
+LINK_COMPONENTS = support system
 
 include $(LEVEL)/Makefile.common
-
-FullLibName = $(LIBRARYNAME)$(SHLIBEXT)
-
-# 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)/
-
-clean-local::
-       $(Echo) Removing $(BuildMode) Shared Library $(FullLibName) \
-       from $(ToolDir)
-       -$(Verb) $(RM) -f $(ToolDir)/$(FullLibName)