Home | History | Annotate | Download | only in Mips
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 mips_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 
     15 mips_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 # =====================================================
     53 include $(CLEAR_VARS)
     54 include $(CLEAR_TBLGEN_VARS)
     55 
     56 LOCAL_MODULE:= libLLVMMipsCodeGen
     57 LOCAL_MODULE_TAGS := optional
     58 
     59 LOCAL_SRC_FILES := $(mips_codegen_SRC_FILES)
     60 LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc
     61 
     62 TBLGEN_TABLES := $(mips_codegen_TBLGEN_TABLES)
     63 
     64 include $(LLVM_HOST_BUILD_MK)
     65 include $(LLVM_TBLGEN_RULES_MK)
     66 include $(LLVM_GEN_INTRINSICS_MK)
     67 include $(BUILD_HOST_STATIC_LIBRARY)
     68 
     69 # For the device only
     70 # =====================================================
     71 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
     72 include $(CLEAR_VARS)
     73 include $(CLEAR_TBLGEN_VARS)
     74 
     75 LOCAL_MODULE:= libLLVMMipsCodeGen
     76 LOCAL_MODULE_TAGS := optional
     77 
     78 LOCAL_SRC_FILES := $(mips_codegen_SRC_FILES)
     79 LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc
     80 
     81 TBLGEN_TABLES := $(mips_codegen_TBLGEN_TABLES)
     82 
     83 include $(LLVM_DEVICE_BUILD_MK)
     84 include $(LLVM_TBLGEN_RULES_MK)
     85 include $(LLVM_GEN_INTRINSICS_MK)
     86 include $(BUILD_STATIC_LIBRARY)
     87 endif
     88