OSDN Git Service

TBLGEN_TD_DIR to TBLGEN_TD_DIR70
[android-x86/external-llvm.git] / lib / Target / X86 / Disassembler / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 x86_disassembler_TBLGEN_TABLES70 := \
4   X86GenDisassemblerTables.inc \
5   X86GenInstrInfo.inc \
6   X86GenRegisterInfo.inc \
7   X86GenSubtargetInfo.inc
8
9 x86_disassembler_SRC_FILES := \
10   X86Disassembler.cpp \
11   X86DisassemblerDecoder.cpp
12
13
14 # For the device
15 # =====================================================
16 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
17 include $(CLEAR_VARS)
18 include $(CLEAR_TBLGEN_VARS)
19
20 TBLGEN_TABLES70 := $(x86_disassembler_TBLGEN_TABLES70)
21
22 TBLGEN_TD_DIR70 := $(LOCAL_PATH)/..
23
24 LOCAL_SRC_FILES := $(x86_disassembler_SRC_FILES)
25
26 LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
27
28 LOCAL_MODULE:= libLLVM70X86Disassembler
29
30 include $(LLVM70_DEVICE_BUILD_MK)
31 include $(LLVM70_TBLGEN_RULES_MK)
32 include $(BUILD_STATIC_LIBRARY)
33 endif
34
35 # For the host
36 # =====================================================
37 include $(CLEAR_VARS)
38 include $(CLEAR_TBLGEN_VARS)
39
40 TBLGEN_TABLES70 := $(x86_disassembler_TBLGEN_TABLES70)
41
42 TBLGEN_TD_DIR70 := $(LOCAL_PATH)/..
43
44 LOCAL_SRC_FILES := $(x86_disassembler_SRC_FILES)
45
46 LOCAL_C_INCLUDES +=     \
47         $(LOCAL_PATH)/..
48
49 LOCAL_MODULE:= libLLVM70X86Disassembler
50
51 LOCAL_MODULE_HOST_OS := darwin linux windows
52
53 include $(LLVM70_HOST_BUILD_MK)
54 include $(LLVM70_TBLGEN_RULES_MK)
55 include $(BUILD_HOST_STATIC_LIBRARY)