Android.mk revision 2123c1c0de9e6006dfffe9123b4b992703202e3e
1LOCAL_PATH := $(call my-dir) 2 3mips_mc_desc_TBLGEN_TABLES := \ 4 MipsGenRegisterInfo.inc \ 5 MipsGenInstrInfo.inc \ 6 MipsGenMCCodeEmitter.inc \ 7 MipsGenSubtargetInfo.inc 8 9mips_mc_desc_SRC_FILES := \ 10 MipsAsmBackend.cpp \ 11 MipsDirectObjLower.cpp \ 12 MipsELFObjectWriter.cpp \ 13 MipsELFStreamer.cpp \ 14 MipsMCAsmInfo.cpp \ 15 MipsMCCodeEmitter.cpp \ 16 MipsMCTargetDesc.cpp \ 17 MipsReginfo.cpp 18 19# For the host 20# ===================================================== 21include $(CLEAR_VARS) 22include $(CLEAR_TBLGEN_VARS) 23 24LOCAL_MODULE:= libLLVMMipsDesc 25LOCAL_MODULE_TAGS := optional 26 27LOCAL_SRC_FILES := $(mips_mc_desc_SRC_FILES) 28LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. 29 30TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 31TBLGEN_TABLES := $(mips_mc_desc_TBLGEN_TABLES) 32 33include $(LLVM_HOST_BUILD_MK) 34include $(LLVM_TBLGEN_RULES_MK) 35include $(LLVM_GEN_INTRINSICS_MK) 36include $(BUILD_HOST_STATIC_LIBRARY) 37 38# For the device only 39# ===================================================== 40ifeq ($(TARGET_ARCH),mips) 41include $(CLEAR_VARS) 42include $(CLEAR_TBLGEN_VARS) 43 44LOCAL_MODULE:= libLLVMMipsDesc 45LOCAL_MODULE_TAGS := optional 46 47LOCAL_SRC_FILES := $(mips_mc_desc_SRC_FILES) 48LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. 49 50TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 51TBLGEN_TABLES := $(mips_mc_desc_TBLGEN_TABLES) 52 53include $(LLVM_DEVICE_BUILD_MK) 54include $(LLVM_TBLGEN_RULES_MK) 55include $(LLVM_GEN_INTRINSICS_MK) 56include $(BUILD_STATIC_LIBRARY) 57endif 58