1LOCAL_PATH := $(call my-dir) 2 3mips_disassembler_TBLGEN_TABLES := \ 4 MipsGenDisassemblerTables.inc \ 5 MipsGenInstrInfo.inc \ 6 MipsGenRegisterInfo.inc \ 7 MipsGenSubtargetInfo.inc 8 9mips_disassembler_SRC_FILES := \ 10 MipsDisassembler.cpp 11 12# For the device 13# ===================================================== 14ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 15include $(CLEAR_VARS) 16include $(CLEAR_TBLGEN_VARS) 17 18LOCAL_MODULE:= libLLVMMipsDisassembler 19LOCAL_MODULE_TAGS := optional 20 21LOCAL_SRC_FILES := $(mips_disassembler_SRC_FILES) 22LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 23 24TBLGEN_TABLES := $(mips_disassembler_TBLGEN_TABLES) 25TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 26 27include $(LLVM_DEVICE_BUILD_MK) 28include $(LLVM_TBLGEN_RULES_MK) 29include $(BUILD_STATIC_LIBRARY) 30endif 31 32# For the host 33# ===================================================== 34include $(CLEAR_VARS) 35include $(CLEAR_TBLGEN_VARS) 36 37LOCAL_MODULE:= libLLVMMipsDisassembler 38LOCAL_MODULE_TAGS := optional 39 40LOCAL_SRC_FILES := $(mips_disassembler_SRC_FILES) 41LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 42 43TBLGEN_TABLES := $(mips_disassembler_TBLGEN_TABLES) 44TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 45 46include $(LLVM_HOST_BUILD_MK) 47include $(LLVM_TBLGEN_RULES_MK) 48include $(BUILD_HOST_STATIC_LIBRARY) 49