Home | History | Annotate | Download | only in llvm-dwarfdump
      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   libLLVMDebugInfoDWARF            \
     15   libLLVMDebugInfoPDB              \
     16   libLLVMObject                    \
     17   libLLVMBitReader                 \
     18   libLLVMMC                        \
     19   libLLVMMCParser                  \
     20   libLLVMCore                      \
     21   libLLVMSupport                   \
     22 
     23 include $(CLEAR_VARS)
     24 
     25 LOCAL_MODULE := llvm-dwarfdump
     26 LOCAL_MODULE_TAGS := optional
     27 LOCAL_MODULE_CLASS := EXECUTABLES
     28 LOCAL_IS_HOST_MODULE := true
     29 
     30 LOCAL_SRC_FILES := $(llvm_dwarfdump_SRC_FILES)
     31 
     32 LOCAL_STATIC_LIBRARIES := $(llvm_dwarfdump_STATIC_LIBRARIES)
     33 
     34 LOCAL_LDLIBS += -lpthread -lm -ldl
     35 
     36 include $(LLVM_ROOT_PATH)/llvm.mk
     37 include $(LLVM_HOST_BUILD_MK)
     38 include $(LLVM_GEN_INTRINSICS_MK)
     39 include $(BUILD_HOST_EXECUTABLE)
     40