1 LOCAL_PATH := $(call my-dir)
3 x86_disassembler_TBLGEN_TABLES80 := \
4 X86GenDisassemblerTables.inc \
6 X86GenRegisterInfo.inc \
7 X86GenSubtargetInfo.inc
9 x86_disassembler_SRC_FILES := \
11 X86DisassemblerDecoder.cpp
15 # =====================================================
16 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
18 include $(CLEAR_TBLGEN_VARS80)
20 TBLGEN_TABLES80 := $(x86_disassembler_TBLGEN_TABLES80)
22 TBLGEN_TD_DIR80 := $(LOCAL_PATH)/..
24 LOCAL_SRC_FILES := $(x86_disassembler_SRC_FILES)
26 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
28 LOCAL_MODULE:= libLLVM80X86Disassembler
30 include $(LLVM80_DEVICE_BUILD_MK)
31 include $(LLVM80_TBLGEN_RULES_MK)
32 include $(BUILD_STATIC_LIBRARY)
36 # =====================================================
38 include $(CLEAR_TBLGEN_VARS80)
40 TBLGEN_TABLES80 := $(x86_disassembler_TBLGEN_TABLES80)
42 TBLGEN_TD_DIR80 := $(LOCAL_PATH)/..
44 LOCAL_SRC_FILES := $(x86_disassembler_SRC_FILES)
49 LOCAL_MODULE:= libLLVM80X86Disassembler
51 LOCAL_MODULE_HOST_OS := darwin linux windows
53 include $(LLVM80_HOST_BUILD_MK)
54 include $(LLVM80_TBLGEN_RULES_MK)
55 include $(BUILD_HOST_STATIC_LIBRARY)