Provide encodings for a few more load/store variants.
[oota-llvm.git] / lib / CompilerDriver / Makefile
index 773eb5e8e1aa1664a3060dcdfede1635977572c2..10cfa4f02923c5f91e30b37be8fd616a68b9bd9f 100644 (file)
 LEVEL = ../..
 
 # We don't want this library to appear in `llvm-config --libs` output, so its
-# name doesn't start with "LLVM".
+# name doesn't start with "LLVM" and NO_LLVM_CONFIG is set.
 
-LIBRARYNAME = libCompilerDriver
-LLVMLIBS = LLVMSupport.a LLVMSystem.a
-LOADABLE_MODULE := 1
-REQUIRES_EH := 1
+LIBRARYNAME = CompilerDriver
+LINK_COMPONENTS = support
+NO_LLVM_CONFIG = 1
 
-include $(LEVEL)/Makefile.common
-
-FullLibName = $(LIBRARYNAME)$(SHLIBEXT)
-
-all-local:: $(ToolDir)/$(FullLibName)
 
-# Copy the library to the bin dir so that llvmc can find it.
-$(ToolDir)/$(FullLibName): $(LibDir)/$(FullLibName) $(ToolDir)/.dir
-       $(Echo) Copying $(BuildMode) Shared Library $(FullLibName) to $@
-       -$(Verb) $(CP) $< $@
-
-clean-local::
-       $(Echo) Removing $(BuildMode) Shared Library $(FullLibName) \
-       from $(ToolDir)
-       -$(Verb) $(RM) -f $(ToolDir)/$(FullLibName)
+include $(LEVEL)/Makefile.common