Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS ARM.td)
2
3 tablegen(ARMGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(ARMGenRegisterNames.inc -gen-register-enums)
5 tablegen(ARMGenRegisterInfo.inc -gen-register-desc)
6 tablegen(ARMGenInstrNames.inc -gen-instr-enums)
7 tablegen(ARMGenInstrInfo.inc -gen-instr-desc)
8 tablegen(ARMGenCodeEmitter.inc -gen-emitter)
9 tablegen(ARMGenAsmWriter.inc -gen-asm-writer)
10 tablegen(ARMGenAsmMatcher.inc -gen-asm-matcher)
11 tablegen(ARMGenDAGISel.inc -gen-dag-isel)
12 tablegen(ARMGenFastISel.inc -gen-fast-isel)
13 tablegen(ARMGenCallingConv.inc -gen-callingconv)
14 tablegen(ARMGenSubtarget.inc -gen-subtarget)
15 tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
16
17 add_llvm_target(ARMCodeGen
18   ARMAsmPrinter.cpp
19   ARMBaseInstrInfo.cpp
20   ARMBaseRegisterInfo.cpp
21   ARMCodeEmitter.cpp
22   ARMConstantIslandPass.cpp
23   ARMConstantPoolValue.cpp
24   ARMExpandPseudoInsts.cpp
25   ARMFastISel.cpp
26   ARMGlobalMerge.cpp
27   ARMISelDAGToDAG.cpp
28   ARMISelLowering.cpp
29   ARMInstrInfo.cpp
30   ARMJITInfo.cpp
31   ARMLoadStoreOptimizer.cpp
32   ARMMCAsmInfo.cpp
33   ARMMCInstLower.cpp
34   ARMRegisterInfo.cpp
35   ARMSelectionDAGInfo.cpp
36   ARMSubtarget.cpp
37   ARMTargetMachine.cpp
38   ARMTargetObjectFile.cpp
39   NEONMoveFix.cpp
40   Thumb1InstrInfo.cpp
41   Thumb1RegisterInfo.cpp
42   Thumb2HazardRecognizer.cpp
43   Thumb2ITBlockPass.cpp
44   Thumb2InstrInfo.cpp
45   Thumb2RegisterInfo.cpp
46   Thumb2SizeReduction.cpp
47   )
48
49 target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)