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