Home | History | Annotate | Download | only in llvm-pdbdump
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
      4 include $(LLVM_ROOT_PATH)/llvm.mk
      5 
      6 llvm_pdbdump_SRC_FILES := \
      7   llvm-pdbdump.cpp \
      8   BuiltinDumper.cpp \
      9   ClassDefinitionDumper.cpp \
     10   CompilandDumper.cpp \
     11   EnumDumper.cpp \
     12   FunctionDumper.cpp \
     13   LinePrinter.cpp \
     14   TypedefDumper.cpp \
     15   TypeDumper.cpp \
     16   VariableDumper.cpp
     17 
     18 llvm_pdbdump_STATIC_LIBRARIES := \
     19   libLLVMDebugInfoPDB \
     20   libLLVMSupport
     21 
     22 include $(CLEAR_VARS)
     23 
     24 LOCAL_MODULE := llvm-pdbdump
     25 LOCAL_MODULE_TAGS := optional
     26 LOCAL_MODULE_CLASS := EXECUTABLES
     27 LOCAL_IS_HOST_MODULE := true
     28 
     29 LOCAL_SRC_FILES := $(llvm_pdbdump_SRC_FILES)
     30 
     31 LOCAL_STATIC_LIBRARIES := $(llvm_pdbdump_STATIC_LIBRARIES)
     32 
     33 LOCAL_LDLIBS += -lpthread -lm -ldl
     34 
     35 include $(LLVM_HOST_BUILD_MK)
     36 include $(LLVM_GEN_INTRINSICS_MK)
     37 include $(BUILD_HOST_EXECUTABLE)
     38