CMake build fixes, from Xerxes Ranby
[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(ARMGenDAGISel.inc -gen-dag-isel)
11 tablegen(ARMGenCallingConv.inc -gen-callingconv)
12 tablegen(ARMGenSubtarget.inc -gen-subtarget)
13
14 add_llvm_target(ARMCodeGen
15   ARMCodeEmitter.cpp
16   ARMConstantIslandPass.cpp
17   ARMConstantPoolValue.cpp
18   ARMInstrInfo.cpp
19   ARMISelDAGToDAG.cpp
20   ARMISelLowering.cpp
21   ARMJITInfo.cpp
22   ARMLoadStoreOptimizer.cpp
23   ARMRegisterInfo.cpp
24   ARMSubtarget.cpp
25   ARMTargetAsmInfo.cpp
26   ARMTargetMachine.cpp
27   ThumbInstrInfo.cpp
28   ThumbRegisterInfo.cpp
29   )
30
31 target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)