1LOCAL_PATH := $(call my-dir) 2LLVM_ROOT_PATH := $(LOCAL_PATH) 3LLVM_ENABLE_ASSERTION := false 4 5include $(CLEAR_VARS) 6 7# LLVM Libraries 8subdirs := \ 9 lib/Analysis \ 10 lib/Analysis/IPA \ 11 lib/AsmParser \ 12 lib/Bitcode/Reader \ 13 lib/Bitcode/Writer \ 14 lib/ExecutionEngine \ 15 lib/ExecutionEngine/RuntimeDyld \ 16 lib/ExecutionEngine/JIT \ 17 lib/ExecutionEngine/MCJIT \ 18 lib/ExecutionEngine/Interpreter \ 19 lib/CodeGen \ 20 lib/CodeGen/AsmPrinter \ 21 lib/CodeGen/SelectionDAG \ 22 lib/DebugInfo \ 23 lib/IR \ 24 lib/IRReader \ 25 lib/Linker \ 26 lib/LTO \ 27 lib/MC \ 28 lib/MC/MCAnalysis \ 29 lib/MC/MCDisassembler \ 30 lib/MC/MCParser \ 31 lib/Object \ 32 lib/Option \ 33 lib/ProfileData \ 34 lib/Support \ 35 lib/TableGen \ 36 lib/Target \ 37 lib/Transforms/IPO \ 38 lib/Transforms/InstCombine \ 39 lib/Transforms/Instrumentation \ 40 lib/Transforms/ObjCARC \ 41 lib/Transforms/Scalar \ 42 lib/Transforms/Utils \ 43 lib/Transforms/Vectorize \ 44 45# ARM Code Generation Libraries 46subdirs += \ 47 lib/Target/ARM \ 48 lib/Target/ARM/AsmParser \ 49 lib/Target/ARM/InstPrinter \ 50 lib/Target/ARM/Disassembler \ 51 lib/Target/ARM/MCTargetDesc \ 52 lib/Target/ARM/TargetInfo 53 54# AArch64 Code Generation Libraries 55subdirs += \ 56 lib/Target/AArch64 \ 57 lib/Target/AArch64/AsmParser \ 58 lib/Target/AArch64/InstPrinter \ 59 lib/Target/AArch64/Disassembler \ 60 lib/Target/AArch64/MCTargetDesc \ 61 lib/Target/AArch64/TargetInfo \ 62 lib/Target/AArch64/Utils 63 64# MIPS Code Generation Libraries 65subdirs += \ 66 lib/Target/Mips \ 67 lib/Target/Mips/AsmParser \ 68 lib/Target/Mips/InstPrinter \ 69 lib/Target/Mips/Disassembler \ 70 lib/Target/Mips/MCTargetDesc \ 71 lib/Target/Mips/TargetInfo 72 73# X86 Code Generation Libraries 74subdirs += \ 75 lib/Target/X86 \ 76 lib/Target/X86/AsmParser \ 77 lib/Target/X86/InstPrinter \ 78 lib/Target/X86/Disassembler \ 79 lib/Target/X86/MCTargetDesc \ 80 lib/Target/X86/TargetInfo \ 81 lib/Target/X86/Utils 82 83# LLVM Command Line Tools 84subdirs += \ 85 tools/bugpoint \ 86 tools/llc \ 87 tools/lli \ 88 tools/llvm-ar \ 89 tools/llvm-as \ 90 tools/llvm-bcanalyzer \ 91 tools/llvm-c-test \ 92 tools/llvm-config \ 93 tools/llvm-cov \ 94 tools/llvm-dis \ 95 tools/llvm-diff \ 96 tools/llvm-dwarfdump \ 97 tools/llvm-extract \ 98 tools/llvm-link \ 99 tools/llvm-lto \ 100 tools/llvm-mc \ 101 tools/llvm-mcmarkup \ 102 tools/llvm-nm \ 103 tools/llvm-objdump \ 104 tools/llvm-profdata \ 105 tools/llvm-readobj \ 106 tools/llvm-rtdyld \ 107 tools/llvm-size \ 108 tools/macho-dump \ 109 tools/obj2yaml \ 110 tools/opt \ 111 tools/yaml2obj \ 112 113# LLVM Command Line Utilities 114subdirs += \ 115 utils/count \ 116 utils/FileCheck \ 117 utils/not \ 118 utils/TableGen \ 119 120include $(LOCAL_PATH)/llvm.mk 121include $(LOCAL_PATH)/shared_llvm.mk 122 123include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs))) 124