1;===- ./lib/Target/Nios2/LLVMBuild.txt -------------------------*- Conf -*--===;
2;
3;                     The LLVM Compiler Infrastructure
4;
5; This file is distributed under the University of Illinois Open Source
6; License. See LICENSE.TXT for details.
7;
8;===------------------------------------------------------------------------===;
9;
10; This is an LLVMBuild description file for the components in this subdirectory.
11;
12; For more information on the LLVMBuild system, please see:
13;
14;   http://llvm.org/docs/LLVMBuild.html
15;
16;===------------------------------------------------------------------------===;
17
18#Following comments extracted from http: // llvm.org/docs/LLVMBuild.html
19
20[common]
21subdirectories =
22    InstPrinter
23    MCTargetDesc
24    TargetInfo
25
26[component_0]
27#TargetGroup components are an extension of LibraryGroups, specifically for
28#defining LLVM targets(which are handled specially in a few places).
29type = TargetGroup
30#The name of the component should always be the name of the target.(should
31#match "def Nios2 : Target" in Nios2.td)
32name = Nios2
33#Nios2 component is located in directory Target /
34parent = Target
35#Whether this target defines an assembly parser, assembly printer, disassembler
36#, and supports JIT compilation.They are optional.
37has_asmprinter = 1
38
39[component_1]
40#component_1 is a Library type and name is Nios2CodeGen.After build it will
41#in lib / libLLVMNios2CodeGen.a of your build command directory.
42type = Library
43name = Nios2CodeGen
44#Nios2CodeGen component(Library) is located in directory Nios2 /
45parent = Nios2
46#If given, a list of the names of Library or LibraryGroup components which
47#must also be linked in whenever this library is used.That is, the link time
48#dependencies for this component.When tools are built, the build system will
49#include the transitive closure of all required_libraries for the components
50#the tool needs.
51required_libraries = AsmPrinter
52                     CodeGen
53                     Core
54                     GlobalISel
55                     MC
56                     Nios2Desc
57                     Nios2Info
58                     SelectionDAG
59                     Support
60                     Target
61#end of required_libraries
62
63#All LLVMBuild.txt in Target / Nios2 and subdirectory use 'add_to_library_groups
64#= Nios2'
65add_to_library_groups = Nios2
66