OSDN Git Service

am 877a6e14: am e5c96aeb: am 94af5fd9: Merge "Avoid redefinition of __STD_FORMAT_MACROS."
[android-x86/external-llvm.git] / lib / Target / Mips / TargetInfo / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 mips_target_info_TBLGEN_TABLES := \
4   MipsGenInstrInfo.inc \
5   MipsGenRegisterInfo.inc \
6   MipsGenSubtargetInfo.inc
7
8 mips_target_info_SRC_FILES := \
9   MipsTargetInfo.cpp
10
11 # For the host
12 # =====================================================
13 include $(CLEAR_VARS)
14 include $(CLEAR_TBLGEN_VARS)
15
16 LOCAL_MODULE:= libLLVMMipsInfo
17 LOCAL_MODULE_TAGS := optional
18
19 TBLGEN_TABLES := $(mips_target_info_TBLGEN_TABLES)
20 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
21
22 LOCAL_SRC_FILES := $(mips_target_info_SRC_FILES)
23 LOCAL_C_INCLUDES +=     $(LOCAL_PATH)/..
24
25 include $(LLVM_HOST_BUILD_MK)
26 include $(LLVM_TBLGEN_RULES_MK)
27 include $(BUILD_HOST_STATIC_LIBRARY)
28
29 # For the device
30 # =====================================================
31 include $(CLEAR_VARS)
32 include $(CLEAR_TBLGEN_VARS)
33
34 LOCAL_MODULE:= libLLVMMipsInfo
35 LOCAL_MODULE_TAGS := optional
36
37 TBLGEN_TABLES := $(mips_target_info_TBLGEN_TABLES)
38 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
39
40 LOCAL_SRC_FILES := $(mips_target_info_SRC_FILES)
41 LOCAL_C_INCLUDES +=     $(LOCAL_PATH)/..
42
43 include $(LLVM_DEVICE_BUILD_MK)
44 include $(LLVM_TBLGEN_RULES_MK)
45 include $(BUILD_STATIC_LIBRARY)