]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/CMakeLists.txt
Import mandoc 1.14.4
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(ELFOptionsTableGen)
4
5 if(NOT LLD_BUILT_STANDALONE)
6   set(tablegen_deps intrinsics_gen)
7 endif()
8
9 add_lld_library(lldELF
10   AArch64ErrataFix.cpp
11   Arch/AArch64.cpp
12   Arch/AMDGPU.cpp
13   Arch/ARM.cpp
14   Arch/AVR.cpp
15   Arch/Mips.cpp
16   Arch/MipsArchTree.cpp
17   Arch/PPC.cpp
18   Arch/PPC64.cpp
19   Arch/SPARCV9.cpp
20   Arch/X86.cpp
21   Arch/X86_64.cpp
22   Driver.cpp
23   DriverUtils.cpp
24   EhFrame.cpp
25   Filesystem.cpp
26   GdbIndex.cpp
27   ICF.cpp
28   InputFiles.cpp
29   InputSection.cpp
30   LTO.cpp
31   LinkerScript.cpp
32   MapFile.cpp
33   MarkLive.cpp
34   OutputSections.cpp
35   Relocations.cpp
36   ScriptLexer.cpp
37   ScriptParser.cpp
38   Strings.cpp
39   SymbolTable.cpp
40   Symbols.cpp
41   SyntheticSections.cpp
42   Target.cpp
43   Thunks.cpp
44   Writer.cpp
45
46   LINK_COMPONENTS
47   ${LLVM_TARGETS_TO_BUILD}
48   BinaryFormat
49   Core
50   DebugInfoDWARF
51   LTO
52   MC
53   Object
54   Option
55   Support
56
57   LINK_LIBS
58   lldCommon
59   ${LLVM_PTHREAD_LIB}
60
61   DEPENDS
62   ELFOptionsTableGen
63   ${tablegen_deps}
64   )