1LOCAL_PATH := $(call my-dir) 2 3mips_codegen_TBLGEN_TABLES := \ 4 MipsGenRegisterInfo.inc \ 5 MipsGenInstrInfo.inc \ 6 MipsGenCodeEmitter.inc \ 7 MipsGenMCCodeEmitter.inc \ 8 MipsGenMCPseudoLowering.inc \ 9 MipsGenAsmWriter.inc \ 10 MipsGenDAGISel.inc \ 11 MipsGenFastISel.inc \ 12 MipsGenCallingConv.inc \ 13 MipsGenSubtargetInfo.inc 14 15mips_codegen_SRC_FILES := \ 16 Mips16FrameLowering.cpp \ 17 Mips16HardFloat.cpp \ 18 Mips16HardFloatInfo.cpp \ 19 Mips16ISelDAGToDAG.cpp \ 20 Mips16ISelLowering.cpp \ 21 Mips16InstrInfo.cpp \ 22 Mips16RegisterInfo.cpp \ 23 MipsAnalyzeImmediate.cpp \ 24 MipsAsmPrinter.cpp \ 25 MipsCodeEmitter.cpp \ 26 MipsConstantIslandPass.cpp \ 27 MipsDelaySlotFiller.cpp \ 28 MipsFastISel.cpp \ 29 MipsFrameLowering.cpp \ 30 MipsInstrInfo.cpp \ 31 MipsISelDAGToDAG.cpp \ 32 MipsISelLowering.cpp \ 33 MipsJITInfo.cpp \ 34 MipsLongBranch.cpp \ 35 MipsMachineFunction.cpp \ 36 MipsMCInstLower.cpp \ 37 MipsModuleISelDAGToDAG.cpp \ 38 MipsOs16.cpp \ 39 MipsOptimizePICCall.cpp \ 40 MipsRegisterInfo.cpp \ 41 MipsSEFrameLowering.cpp \ 42 MipsSEISelDAGToDAG.cpp \ 43 MipsSEISelLowering.cpp \ 44 MipsSEInstrInfo.cpp \ 45 MipsSERegisterInfo.cpp \ 46 MipsSelectionDAGInfo.cpp \ 47 MipsSubtarget.cpp \ 48 MipsTargetMachine.cpp \ 49 MipsTargetObjectFile.cpp 50 51# For the host 52# ===================================================== 53include $(CLEAR_VARS) 54include $(CLEAR_TBLGEN_VARS) 55 56LOCAL_MODULE:= libLLVMMipsCodeGen 57LOCAL_MODULE_TAGS := optional 58 59LOCAL_SRC_FILES := $(mips_codegen_SRC_FILES) 60LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc 61 62TBLGEN_TABLES := $(mips_codegen_TBLGEN_TABLES) 63 64include $(LLVM_HOST_BUILD_MK) 65include $(LLVM_TBLGEN_RULES_MK) 66include $(LLVM_GEN_INTRINSICS_MK) 67include $(BUILD_HOST_STATIC_LIBRARY) 68 69# For the device only 70# ===================================================== 71ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 72include $(CLEAR_VARS) 73include $(CLEAR_TBLGEN_VARS) 74 75LOCAL_MODULE:= libLLVMMipsCodeGen 76LOCAL_MODULE_TAGS := optional 77 78LOCAL_SRC_FILES := $(mips_codegen_SRC_FILES) 79LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc 80 81TBLGEN_TABLES := $(mips_codegen_TBLGEN_TABLES) 82 83include $(LLVM_DEVICE_BUILD_MK) 84include $(LLVM_TBLGEN_RULES_MK) 85include $(LLVM_GEN_INTRINSICS_MK) 86include $(BUILD_STATIC_LIBRARY) 87endif 88