blob: e863fb3d84663c894a68682e6c245fbb02e0fa77 [file] [log] [blame]
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/IR \
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/ObjCARC \
lib/Transforms/Scalar \
lib/Transforms/Utils \
lib/Transforms/Vectorize \
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 $(LOCAL_PATH)/shared_llvm.mk
include $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(subdirs)))