summaryrefslogtreecommitdiffstats
path: root/utils/TableGen/Android.mk
blob: 8dae6f0664d317a4e89ca2cf7c45db2c5a46d789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES :=	\
	ARMDecoderEmitter.cpp	\
	AsmMatcherEmitter.cpp	\
	AsmWriterEmitter.cpp	\
	AsmWriterInst.cpp	\
	CallingConvEmitter.cpp	\
        ClangASTNodesEmitter.cpp	\
        ClangAttrEmitter.cpp	\
	ClangDiagnosticsEmitter.cpp	\
	CodeEmitterGen.cpp	\
	CodeGenDAGPatterns.cpp	\
	CodeGenInstruction.cpp	\
	CodeGenTarget.cpp	\
	DAGISelEmitter.cpp	\
	DAGISelMatcher.cpp	\
	DAGISelMatcherEmitter.cpp	\
	DAGISelMatcherGen.cpp	\
	DAGISelMatcherOpt.cpp	\
	DisassemblerEmitter.cpp	\
	EDEmitter.cpp	\
	FastISelEmitter.cpp	\
	InstrEnumEmitter.cpp	\
	InstrInfoEmitter.cpp	\
	IntrinsicEmitter.cpp	\
	LLVMCConfigurationEmitter.cpp	\
        NeonEmitter.cpp         \
	OptParserEmitter.cpp	\
	Record.cpp	\
	RegisterInfoEmitter.cpp	\
	SubtargetEmitter.cpp	\
	TGLexer.cpp	\
	TGParser.cpp	\
	TGValueTypes.cpp	\
	TableGen.cpp	\
	TableGenBackend.cpp	\
	X86DisassemblerTables.cpp	\
	X86RecognizableInstr.cpp

REQUIRES_EH := 1
REQUIRES_RTTI := 1

LOCAL_STATIC_LIBRARIES := libLLVMSupport libLLVMSystem
LOCAL_MODULE := tblgen
LOCAL_LDLIBS += -lm
ifeq ($(HOST_OS),windows)
  LOCAL_LDLIBS += -limagehlp -lpsapi
else
  LOCAL_LDLIBS += -lpthread -ldl
endif

include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)