1 LOCAL_PATH := $(call my-dir)
3 #===---------------------------------------------------------------===
4 # libLLVM70MipsAsmParser (common)
5 #===---------------------------------------------------------------===
7 mips_asm_parser_SRC_FILES := \
10 mips_asm_parser_C_INCLUDES := $(LOCAL_PATH)/..
12 mips_asm_parser_TBLGEN_TABLES := \
13 MipsGenAsmMatcher.inc \
14 MipsGenInstrInfo.inc \
15 MipsGenRegisterInfo.inc \
16 MipsGenSubtargetInfo.inc
18 mips_asm_parser_TBLGEN_TD_DIR := $(LOCAL_PATH)/..
21 #===---------------------------------------------------------------===
22 # libLLVM70MipsAsmParser (host)
23 #===---------------------------------------------------------------===
25 include $(CLEAR_TBLGEN_VARS)
27 LOCAL_MODULE:= libLLVM70MipsAsmParser
28 LOCAL_MODULE_HOST_OS := darwin linux windows
29 LOCAL_SRC_FILES := $(mips_asm_parser_SRC_FILES)
30 LOCAL_C_INCLUDES += $(mips_asm_parser_C_INCLUDES)
31 TBLGEN_TABLES := $(mips_asm_parser_TBLGEN_TABLES)
32 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
34 include $(LLVM_HOST_BUILD_MK)
35 include $(LLVM70_TBLGEN_RULES_MK)
36 include $(LLVM_GEN_ATTRIBUTES_MK)
37 include $(BUILD_HOST_STATIC_LIBRARY)
40 #===---------------------------------------------------------------===
41 # libLLVM70MipsAsmParser (target)
42 #===---------------------------------------------------------------===
43 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
45 include $(CLEAR_TBLGEN_VARS)
47 LOCAL_MODULE:= libLLVM70MipsAsmParser
48 LOCAL_SRC_FILES := $(mips_asm_parser_SRC_FILES)
49 LOCAL_C_INCLUDES += $(mips_asm_parser_C_INCLUDES)
50 TBLGEN_TABLES := $(mips_asm_parser_TBLGEN_TABLES)
51 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
53 include $(LLVM_DEVICE_BUILD_MK)
54 include $(LLVM70_TBLGEN_RULES_MK)
55 include $(LLVM_GEN_ATTRIBUTES_MK)
56 include $(BUILD_STATIC_LIBRARY)