1LOCAL_PATH := $(call my-dir) 2 3LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6#===---------------------------------------------------------------=== 7# llvm-mc command line tool 8#===---------------------------------------------------------------=== 9 10llvm_mc_SRC_FILES := \ 11 llvm-mc.cpp \ 12 Disassembler.cpp 13 14llvm_mc_STATIC_LIBRARIES := \ 15 libLLVMARMAsmParser \ 16 libLLVMARMInfo \ 17 libLLVMARMDesc \ 18 libLLVMARMAsmPrinter \ 19 libLLVMARMDisassembler \ 20 libLLVMAArch64Info \ 21 libLLVMAArch64AsmParser \ 22 libLLVMAArch64Desc \ 23 libLLVMAArch64AsmPrinter \ 24 libLLVMAArch64Utils \ 25 libLLVMAArch64Disassembler \ 26 libLLVMMipsInfo \ 27 libLLVMMipsAsmParser \ 28 libLLVMMipsDesc \ 29 libLLVMMipsAsmPrinter \ 30 libLLVMMipsDisassembler \ 31 libLLVMX86Info \ 32 libLLVMX86Desc \ 33 libLLVMX86AsmParser \ 34 libLLVMX86AsmPrinter \ 35 libLLVMX86Utils \ 36 libLLVMX86Disassembler \ 37 libLLVMX86CodeGen \ 38 libLLVMAsmPrinter \ 39 libLLVMCodeGen \ 40 libLLVMTransformUtils \ 41 libLLVMTarget \ 42 libLLVMAnalysis \ 43 libLLVMMC \ 44 libLLVMObject \ 45 libLLVMBitReader \ 46 libLLVMMCParser \ 47 libLLVMCore \ 48 libLLVMAsmParser \ 49 libLLVMSupport \ 50 libLLVMMCDisassembler \ 51 52include $(CLEAR_VARS) 53 54LOCAL_MODULE := llvm-mc 55LOCAL_MODULE_TAGS := optional 56LOCAL_MODULE_CLASS := EXECUTABLES 57LOCAL_IS_HOST_MODULE := true 58 59LOCAL_SRC_FILES := $(llvm_mc_SRC_FILES) 60 61LOCAL_STATIC_LIBRARIES := $(llvm_mc_STATIC_LIBRARIES) 62 63LOCAL_LDLIBS += -lpthread -lm -ldl 64 65include $(LLVM_ROOT_PATH)/llvm.mk 66include $(LLVM_HOST_BUILD_MK) 67include $(LLVM_GEN_INTRINSICS_MK) 68include $(BUILD_HOST_EXECUTABLE) 69