Home | History | Annotate | Download | only in llvm-cxxdump
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
      4 include $(LLVM_ROOT_PATH)/llvm.mk
      5 
      6 llvm_cxxdump_SRC_FILES := \
      7   Error.cpp \
      8   llvm-cxxdump.cpp
      9 
     10 llvm_cxxdump_STATIC_LIBRARIES := \
     11   libLLVMARMAsmParser \
     12   libLLVMARMInfo \
     13   libLLVMARMDesc \
     14   libLLVMARMAsmPrinter \
     15   libLLVMARMDisassembler \
     16   libLLVMAArch64Info \
     17   libLLVMAArch64AsmParser \
     18   libLLVMAArch64Desc \
     19   libLLVMAArch64AsmPrinter \
     20   libLLVMAArch64Utils \
     21   libLLVMAArch64Disassembler \
     22   libLLVMMipsInfo \
     23   libLLVMMipsAsmParser \
     24   libLLVMMipsDesc \
     25   libLLVMMipsAsmPrinter \
     26   libLLVMMipsDisassembler \
     27   libLLVMX86Info \
     28   libLLVMX86Desc \
     29   libLLVMX86AsmParser \
     30   libLLVMX86CodeGen \
     31   libLLVMX86AsmPrinter \
     32   libLLVMX86Utils \
     33   libLLVMX86Disassembler \
     34   libLLVMAsmPrinter \
     35   libLLVMCodeGen \
     36   libLLVMAnalysis \
     37   libLLVMTarget \
     38   libLLVMObject \
     39   libLLVMMCParser \
     40   libLLVMMC \
     41   libLLVMMCDisassembler \
     42   libLLVMBitReader \
     43   libLLVMCore \
     44   libLLVMAsmParser \
     45   libLLVMSupport \
     46 
     47 
     48 include $(CLEAR_VARS)
     49 
     50 LOCAL_MODULE := llvm-cxxdump
     51 LOCAL_MODULE_CLASS := EXECUTABLES
     52 LOCAL_MODULE_TAGS := optional
     53 LOCAL_SRC_FILES := $(llvm_cxxdump_SRC_FILES)
     54 LOCAL_LDLIBS += -lpthread -lm -ldl
     55 
     56 LOCAL_STATIC_LIBRARIES := $(llvm_cxxdump_STATIC_LIBRARIES)
     57 
     58 include $(LLVM_HOST_BUILD_MK)
     59 include $(LLVM_GEN_INTRINSICS_MK)
     60 include $(BUILD_HOST_EXECUTABLE)
     61