1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6 #===---------------------------------------------------------------=== 7 # llvm-dwarfdump command line tool 8 #===---------------------------------------------------------------=== 9 10 llvm_dwarfdump_SRC_FILES := \ 11 llvm-dwarfdump.cpp 12 13 llvm_dwarfdump_STATIC_LIBRARIES := \ 14 libLLVMDebugInfo \ 15 libLLVMObject \ 16 libLLVMBitReader \ 17 libLLVMMC \ 18 libLLVMMCParser \ 19 libLLVMCore \ 20 libLLVMSupport \ 21 22 include $(CLEAR_VARS) 23 24 LOCAL_MODULE := llvm-dwarfdump 25 LOCAL_MODULE_TAGS := optional 26 LOCAL_MODULE_CLASS := EXECUTABLES 27 LOCAL_IS_HOST_MODULE := true 28 29 LOCAL_SRC_FILES := $(llvm_dwarfdump_SRC_FILES) 30 31 LOCAL_STATIC_LIBRARIES := $(llvm_dwarfdump_STATIC_LIBRARIES) 32 33 LOCAL_LDLIBS += -lpthread -lm -ldl 34 35 include $(LLVM_ROOT_PATH)/llvm.mk 36 include $(LLVM_HOST_BUILD_MK) 37 include $(LLVM_GEN_INTRINSICS_MK) 38 include $(BUILD_HOST_EXECUTABLE) 39