[x86] Replace the long spelling of getting a bitcast with the *much*
[oota-llvm.git] / lib / Target / CMakeLists.txt
index 75b65cfffa4cea18fa1b0d3c469d413a6f164f53..1805437b12f71575ac5579e47d3a1276bfac4fbc 100644 (file)
@@ -1,14 +1,15 @@
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
 add_llvm_library(LLVMTarget
-  AllTargets.cpp
-  Mangler.cpp
   Target.cpp
   TargetIntrinsicInfo.cpp
-  TargetJITInfo.cpp
-  TargetLibraryInfo.cpp
   TargetLoweringObjectFile.cpp
   TargetMachine.cpp
   TargetMachineC.cpp
   TargetSubtargetInfo.cpp
+
+  ADDITIONAL_HEADER_DIRS
+  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target
   )
 
 foreach(t ${LLVM_TARGETS_TO_BUILD})