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