forked from CyanogenMod/android_external_llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
73 lines (65 loc) · 1.59 KB
/
Android.mk
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
LOCAL_PATH := $(call my-dir)
LLVM_ROOT_PATH := $(LOCAL_PATH)
LLVM_ENABLE_ASSERTION := false
include $(CLEAR_VARS)
# LLVM Libraries
subdirs := \
lib/Analysis \
lib/Analysis/IPA \
lib/Archive \
lib/AsmParser \
lib/Bitcode/Reader \
lib/Bitcode/Writer \
lib/ExecutionEngine/JIT \
lib/CodeGen \
lib/CodeGen/AsmPrinter \
lib/CodeGen/SelectionDAG \
lib/Linker \
lib/MC \
lib/MC/MCParser \
lib/Object \
lib/Support \
lib/TableGen \
lib/Target \
lib/Transforms/IPO \
lib/Transforms/InstCombine \
lib/Transforms/Instrumentation \
lib/Transforms/Scalar \
lib/Transforms/Utils \
lib/Transforms/Vectorize \
lib/VMCore \
utils/FileCheck \
utils/TableGen
# ARM Code Generation Libraries
subdirs += \
lib/Target/ARM \
lib/Target/ARM/AsmParser \
lib/Target/ARM/InstPrinter \
lib/Target/ARM/Disassembler \
lib/Target/ARM/MCTargetDesc \
lib/Target/ARM/TargetInfo
# MIPS Code Generation Libraries
subdirs += \
lib/Target/Mips \
lib/Target/Mips/AsmParser \
lib/Target/Mips/InstPrinter \
lib/Target/Mips/Disassembler \
lib/Target/Mips/MCTargetDesc \
lib/Target/Mips/TargetInfo
# X86 Code Generation Libraries
subdirs += \
lib/Target/X86 \
lib/Target/X86/AsmParser \
lib/Target/X86/InstPrinter \
lib/Target/X86/Disassembler \
lib/Target/X86/MCTargetDesc \
lib/Target/X86/TargetInfo \
lib/Target/X86/Utils
# LLVM Command Line Tools
#subdirs += tools/llc
subdirs += tools/llvm-as
subdirs += tools/llvm-dis
subdirs += tools/llvm-link
#subdirs += tools/opt
include $(LOCAL_PATH)/llvm.mk
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs)))