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