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 ELFDumper.cpp \ 15 Error.cpp \ 16 llvm-readobj.cpp \ 17 MachODumper.cpp \ 18 ObjDumper.cpp \ 19 StreamWriter.cpp \ 20 Win64EHDumper.cpp \ 21 22llvm_readobj_STATIC_LIBRARIES := \ 23 libLLVMARMInfo \ 24 libLLVMAArch64Info \ 25 libLLVMMipsInfo \ 26 libLLVMX86Info \ 27 libLLVMObject \ 28 libLLVMBitReader \ 29 libLLVMMC \ 30 libLLVMMCParser \ 31 libLLVMCore \ 32 libLLVMSupport \ 33 34include $(CLEAR_VARS) 35 36LOCAL_MODULE := llvm-readobj 37LOCAL_MODULE_TAGS := optional 38LOCAL_MODULE_CLASS := EXECUTABLES 39LOCAL_IS_HOST_MODULE := true 40 41LOCAL_SRC_FILES := $(llvm_readobj_SRC_FILES) 42 43LOCAL_STATIC_LIBRARIES := $(llvm_readobj_STATIC_LIBRARIES) 44 45LOCAL_LDLIBS += -lpthread -lm -ldl 46 47include $(LLVM_ROOT_PATH)/llvm.mk 48include $(LLVM_HOST_BUILD_MK) 49include $(LLVM_GEN_INTRINSICS_MK) 50include $(BUILD_HOST_EXECUTABLE) 51