add_llvm_library(LLVMMC
  ELFObjectWriter.cpp
  MCAsmInfo.cpp
  MCAsmInfoCOFF.cpp
  MCAsmInfoDarwin.cpp
  MCAsmStreamer.cpp
  MCAssembler.cpp
  MCCodeEmitter.cpp
  MCCodeGenInfo.cpp
  MCContext.cpp
  MCDisassembler.cpp
  MCELF.cpp
  MCELFObjectTargetWriter.cpp
  MCELFStreamer.cpp
  MCExpr.cpp
  MCInst.cpp
  MCInstPrinter.cpp
  MCInstrAnalysis.cpp
  MCLabel.cpp
  MCDwarf.cpp
  MCLoggingStreamer.cpp
  MCMachOStreamer.cpp
  MCMachObjectTargetWriter.cpp
  MCNullStreamer.cpp
  MCObjectFileInfo.cpp
  MCObjectStreamer.cpp
  MCObjectWriter.cpp
  MCPureStreamer.cpp
  MCSection.cpp
  MCSectionCOFF.cpp
  MCSectionELF.cpp
  MCSectionMachO.cpp
  MCStreamer.cpp
  MCSubtargetInfo.cpp
  MCSymbol.cpp
  MCValue.cpp
  MCWin64EH.cpp
  MachObjectWriter.cpp
  WinCOFFStreamer.cpp
  WinCOFFObjectWriter.cpp
  SubtargetFeature.cpp
  MCAsmBackend.cpp
  MCTargetAsmLexer.cpp
  )

add_llvm_library_dependencies(LLVMMC
  LLVMObject
  LLVMSupport
  )

add_subdirectory(MCParser)
add_subdirectory(MCDisassembler)
