1LOCAL_PATH := $(call my-dir) 2 3aarch64_target_info_TBLGEN_TABLES := \ 4 AArch64GenSubtargetInfo.inc \ 5 AArch64GenRegisterInfo.inc \ 6 AArch64GenInstrInfo.inc 7 8aarch64_target_info_SRC_FILES := \ 9 AArch64TargetInfo.cpp 10 11# For the host 12# ===================================================== 13include $(CLEAR_VARS) 14include $(CLEAR_TBLGEN_VARS) 15 16TBLGEN_TABLES := $(aarch64_target_info_TBLGEN_TABLES) 17 18TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 19 20LOCAL_SRC_FILES := $(aarch64_target_info_SRC_FILES) 21 22LOCAL_C_INCLUDES += \ 23 $(LOCAL_PATH)/.. 24 25LOCAL_MODULE:= libLLVMAArch64Info 26 27LOCAL_MODULE_HOST_OS := darwin linux windows 28 29include $(LLVM_HOST_BUILD_MK) 30include $(LLVM_TBLGEN_RULES_MK) 31include $(BUILD_HOST_STATIC_LIBRARY) 32 33# For the device 34# ===================================================== 35ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 36include $(CLEAR_VARS) 37include $(CLEAR_TBLGEN_VARS) 38 39TBLGEN_TABLES := $(aarch64_target_info_TBLGEN_TABLES) 40 41TBLGEN_TD_DIR := $(LOCAL_PATH)/.. 42 43LOCAL_SRC_FILES := $(aarch64_target_info_SRC_FILES) 44 45LOCAL_C_INCLUDES += \ 46 $(LOCAL_PATH)/.. 47 48LOCAL_MODULE:= libLLVMAArch64Info 49 50include $(LLVM_DEVICE_BUILD_MK) 51include $(LLVM_TBLGEN_RULES_MK) 52include $(BUILD_STATIC_LIBRARY) 53endif 54