1LOCAL_PATH := $(call my-dir) 2 3arm_asm_printer_TBLGEN_TABLES := \ 4 ARMGenAsmWriter.inc \ 5 ARMGenRegisterInfo.inc\ 6 ARMGenSubtargetInfo.inc \ 7 ARMGenInstrInfo.inc 8 9arm_asm_printer_SRC_FILES := \ 10 ARMInstPrinter.cpp 11 12# For the host 13# ===================================================== 14include $(CLEAR_VARS) 15include $(CLEAR_TBLGEN_VARS) 16 17TBLGEN_TABLES := $(arm_asm_printer_TBLGEN_TABLES) 18 19TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 20 21LOCAL_SRC_FILES := $(arm_asm_printer_SRC_FILES) 22 23LOCAL_MODULE:= libLLVMARMAsmPrinter 24 25LOCAL_C_INCLUDES += \ 26 $(LOCAL_PATH)/.. 27 28LOCAL_MODULE_TAGS := optional 29 30include $(LLVM_HOST_BUILD_MK) 31include $(LLVM_TBLGEN_RULES_MK) 32include $(BUILD_HOST_STATIC_LIBRARY) 33 34# For the device only 35# ===================================================== 36include $(CLEAR_VARS) 37include $(CLEAR_TBLGEN_VARS) 38 39TBLGEN_TABLES := $(arm_asm_printer_TBLGEN_TABLES) 40 41TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 42 43LOCAL_SRC_FILES := $(arm_asm_printer_SRC_FILES) 44 45LOCAL_C_INCLUDES+= \ 46 $(LOCAL_PATH)/.. 47 48LOCAL_MODULE:= libLLVMARMAsmPrinter 49 50LOCAL_MODULE_TAGS := optional 51 52include $(LLVM_DEVICE_BUILD_MK) 53include $(LLVM_TBLGEN_RULES_MK) 54include $(BUILD_STATIC_LIBRARY) 55 56