1 LOCAL_PATH := $(call my-dir) 2 3 #===---------------------------------------------------------------=== 4 # libLLVMMipsAsmParser (common) 5 #===---------------------------------------------------------------=== 6 7 mips_asm_parser_SRC_FILES := \ 8 MipsAsmParser.cpp 9 10 mips_asm_parser_C_INCLUDES := $(LOCAL_PATH)/.. 11 12 mips_asm_parser_TBLGEN_TABLES := \ 13 MipsGenAsmMatcher.inc \ 14 MipsGenInstrInfo.inc \ 15 MipsGenRegisterInfo.inc \ 16 MipsGenSubtargetInfo.inc 17 18 mips_asm_parser_TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 19 20 21 #===---------------------------------------------------------------=== 22 # libLLVMMipsAsmParser (host) 23 #===---------------------------------------------------------------=== 24 include $(CLEAR_VARS) 25 include $(CLEAR_TBLGEN_VARS) 26 27 LOCAL_MODULE:= libLLVMMipsAsmParser 28 LOCAL_MODULE_TAGS := optional 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)/.. 33 34 include $(LLVM_HOST_BUILD_MK) 35 include $(LLVM_TBLGEN_RULES_MK) 36 include $(BUILD_HOST_STATIC_LIBRARY) 37 38 39 #===---------------------------------------------------------------=== 40 # libLLVMMipsAsmParser (target) 41 #===---------------------------------------------------------------=== 42 include $(CLEAR_VARS) 43 include $(CLEAR_TBLGEN_VARS) 44 45 LOCAL_MODULE:= libLLVMMipsAsmParser 46 LOCAL_MODULE_TAGS := optional 47 LOCAL_SRC_FILES := $(mips_asm_parser_SRC_FILES) 48 LOCAL_C_INCLUDES += $(mips_asm_parser_C_INCLUDES) 49 TBLGEN_TABLES := $(mips_asm_parser_TBLGEN_TABLES) 50 TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 51 52 include $(LLVM_DEVICE_BUILD_MK) 53 include $(LLVM_TBLGEN_RULES_MK) 54 include $(BUILD_STATIC_LIBRARY) 55