setOperationAction should be done on the return value of the type, not the operands.
[oota-llvm.git] / lib / Target / CMakeLists.txt
index 7e2edd98b3b1995694d8ca4cbf5c7b327446a858..030f8089abf7c5537fb6208c19c637c02d67ce57 100644 (file)
@@ -1,8 +1,6 @@
 add_llvm_library(LLVMTarget
   Mangler.cpp
   Target.cpp
-  TargetAsmInfo.cpp
-  TargetAsmLexer.cpp
   TargetData.cpp
   TargetELFWriterInfo.cpp
   TargetFrameLowering.cpp
@@ -12,7 +10,13 @@ add_llvm_library(LLVMTarget
   TargetLoweringObjectFile.cpp
   TargetMachine.cpp
   TargetRegisterInfo.cpp
-  TargetSubtarget.cpp
+  TargetSubtargetInfo.cpp
+  )
+
+add_llvm_library_dependencies(LLVMTarget
+  LLVMCore
+  LLVMMC
+  LLVMSupport
   )
 
 set(LLVM_ENUM_ASM_PRINTERS "")