1LOCAL_PATH := $(call my-dir) 2 3LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6#===---------------------------------------------------------------=== 7# llvm-readobj command line tool 8#===---------------------------------------------------------------=== 9 10llvm_readobj_SRC_FILES := \ 11 ARMAttributeParser.cpp \ 12 ARMWinEHPrinter.cpp \ 13 COFFDumper.cpp \ 14 COFFImportDumper.cpp \ 15 ELFDumper.cpp \ 16 Error.cpp \ 17 llvm-readobj.cpp \ 18 MachODumper.cpp \ 19 ObjDumper.cpp \ 20 StreamWriter.cpp \ 21 Win64EHDumper.cpp \ 22 23llvm_readobj_STATIC_LIBRARIES := \ 24 libLLVMARMInfo \ 25 libLLVMAArch64Info \ 26 libLLVMMipsInfo \ 27 libLLVMX86Info \ 28 libLLVMObject \ 29 libLLVMBitReader \ 30 libLLVMMC \ 31 libLLVMMCParser \ 32 libLLVMCore \ 33 libLLVMSupport \ 34 35include $(CLEAR_VARS) 36 37LOCAL_MODULE := llvm-readobj 38LOCAL_MODULE_TAGS := optional 39LOCAL_MODULE_CLASS := EXECUTABLES 40LOCAL_IS_HOST_MODULE := true 41 42LOCAL_SRC_FILES := $(llvm_readobj_SRC_FILES) 43 44LOCAL_STATIC_LIBRARIES := $(llvm_readobj_STATIC_LIBRARIES) 45 46LOCAL_LDLIBS += -lpthread -lm -ldl 47 48include $(LLVM_ROOT_PATH)/llvm.mk 49include $(LLVM_HOST_BUILD_MK) 50include $(LLVM_GEN_INTRINSICS_MK) 51include $(BUILD_HOST_EXECUTABLE) 52