]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/clang/llvm-tblgen/Makefile
sqlite3: Vendor import of sqlite3 3.45.0
[FreeBSD/FreeBSD.git] / usr.bin / clang / llvm-tblgen / Makefile
1
2 PROG_CXX=       llvm-tblgen
3 MAN=
4
5 CFLAGS+=        -I${.OBJDIR}
6
7 SRCDIR=         llvm/utils/TableGen
8 SRCS+=          AsmMatcherEmitter.cpp
9 SRCS+=          AsmWriterEmitter.cpp
10 SRCS+=          AsmWriterInst.cpp
11 SRCS+=          Attributes.cpp
12 SRCS+=          CTagsEmitter.cpp
13 SRCS+=          CallingConvEmitter.cpp
14 SRCS+=          CodeEmitterGen.cpp
15 SRCS+=          CodeGenDAGPatterns.cpp
16 SRCS+=          CodeGenHwModes.cpp
17 SRCS+=          CodeGenInstAlias.cpp
18 SRCS+=          CodeGenInstruction.cpp
19 SRCS+=          CodeGenIntrinsics.cpp
20 SRCS+=          CodeGenMapTable.cpp
21 SRCS+=          CodeGenRegisters.cpp
22 SRCS+=          CodeGenSchedule.cpp
23 SRCS+=          CodeGenTarget.cpp
24 SRCS+=          CompressInstEmitter.cpp
25 SRCS+=          DAGISelEmitter.cpp
26 SRCS+=          DAGISelMatcher.cpp
27 SRCS+=          DAGISelMatcherEmitter.cpp
28 SRCS+=          DAGISelMatcherGen.cpp
29 SRCS+=          DAGISelMatcherOpt.cpp
30 SRCS+=          DFAEmitter.cpp
31 SRCS+=          DFAPacketizerEmitter.cpp
32 SRCS+=          DXILEmitter.cpp
33 SRCS+=          DecoderEmitter.cpp
34 SRCS+=          DirectiveEmitter.cpp
35 SRCS+=          DisassemblerEmitter.cpp
36 SRCS+=          ExegesisEmitter.cpp
37 SRCS+=          FastISelEmitter.cpp
38 SRCS+=          GICombinerEmitter.cpp
39 SRCS+=          GlobalISel/CodeExpander.cpp
40 SRCS+=          GlobalISel/GIMatchDag.cpp
41 SRCS+=          GlobalISel/GIMatchDagEdge.cpp
42 SRCS+=          GlobalISel/GIMatchDagInstr.cpp
43 SRCS+=          GlobalISel/GIMatchDagOperands.cpp
44 SRCS+=          GlobalISel/GIMatchDagPredicate.cpp
45 SRCS+=          GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
46 SRCS+=          GlobalISel/GIMatchTree.cpp
47 SRCS+=          GlobalISelCombinerMatchTableEmitter.cpp
48 SRCS+=          GlobalISelEmitter.cpp
49 SRCS+=          GlobalISelMatchTable.cpp
50 SRCS+=          GlobalISelMatchTableExecutorEmitter.cpp
51 SRCS+=          InfoByHwMode.cpp
52 SRCS+=          InstrDocsEmitter.cpp
53 SRCS+=          InstrInfoEmitter.cpp
54 SRCS+=          IntrinsicEmitter.cpp
55 SRCS+=          OptEmitter.cpp
56 SRCS+=          OptParserEmitter.cpp
57 SRCS+=          OptRSTEmitter.cpp
58 SRCS+=          PredicateExpander.cpp
59 SRCS+=          PseudoLoweringEmitter.cpp
60 SRCS+=          RISCVTargetDefEmitter.cpp
61 SRCS+=          RegisterBankEmitter.cpp
62 SRCS+=          RegisterInfoEmitter.cpp
63 SRCS+=          SDNodeProperties.cpp
64 SRCS+=          SearchableTableEmitter.cpp
65 SRCS+=          SubtargetEmitter.cpp
66 SRCS+=          SubtargetFeatureInfo.cpp
67 SRCS+=          TableGen.cpp
68 SRCS+=          Types.cpp
69 SRCS+=          VarLenCodeEmitterGen.cpp
70 SRCS+=          WebAssemblyDisassemblerEmitter.cpp
71 SRCS+=          X86DisassemblerTables.cpp
72 SRCS+=          X86EVEX2VEXTablesEmitter.cpp
73 SRCS+=          X86FoldTablesEmitter.cpp
74 SRCS+=          X86MnemonicTables.cpp
75 SRCS+=          X86ModRMFilters.cpp
76 SRCS+=          X86RecognizableInstr.cpp
77
78 .include "${SRCTOP}/lib/clang/llvm.pre.mk"
79
80 llvm/CodeGen/GenVT.inc: ${LLVM_SRCS}/include/llvm/CodeGen/ValueTypes.td
81         ${LLVM_MIN_TBLGEN} -gen-vt \
82             -I ${LLVM_SRCS}/include -d ${.TARGET}.d -o ${.TARGET} \
83             ${LLVM_SRCS}/include/llvm/CodeGen/ValueTypes.td
84 TGHDRS+=        llvm/CodeGen/GenVT.inc
85
86 DEPENDFILES+=   ${TGHDRS:C/$/.d/}
87 DPSRCS+=        ${TGHDRS}
88 CLEANFILES+=    ${TGHDRS} ${TGHDRS:C/$/.d/}
89 CLEANFILES+=    ${GENSRCS} ${GENSRCS:C/$/.d/}
90
91 .include "../llvm.prog.mk"