[C++11] Mark more classes in the X86 target as 'final'.
[oota-llvm.git] / lib / Target / CMakeLists.txt
index 98df86cc82040a99922f32a75283103c9df294ef..06a74d7208100dec74466d24d688f5937339d485 100644 (file)
@@ -1,19 +1,17 @@
 add_llvm_library(LLVMTarget
-  COFFTargetAsmInfo.cpp
-  DarwinTargetAsmInfo.cpp
-  ELFTargetAsmInfo.cpp
-  SubtargetFeature.cpp
   Target.cpp
-  TargetAsmInfo.cpp
-  TargetData.cpp
-  TargetELFWriterInfo.cpp
-  TargetFrameInfo.cpp
-  TargetInstrInfo.cpp
   TargetIntrinsicInfo.cpp
-  TargetMachOWriterInfo.cpp
+  TargetJITInfo.cpp
+  TargetLibraryInfo.cpp
+  TargetLoweringObjectFile.cpp
   TargetMachine.cpp
-  TargetRegisterInfo.cpp
-  TargetSubtarget.cpp
+  TargetMachineC.cpp
+  TargetSubtargetInfo.cpp
   )
 
-# TODO: Support other targets besides X86. See Makefile.
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
+foreach(t ${LLVM_TARGETS_TO_BUILD})
+  message(STATUS "Targeting ${t}")
+  add_subdirectory(${t})
+endforeach()