1LOCAL_PATH:= $(call my-dir) 2 3irreader_SRC_FILES := \ 4 IRReader.cpp 5 6# For the host 7# ===================================================== 8include $(CLEAR_VARS) 9 10REQUIRES_RTTI := 1 11 12LOCAL_SRC_FILES := $(irreader_SRC_FILES) 13 14LOCAL_MODULE:= libLLVMIRReader 15 16LOCAL_MODULE_HOST_OS := darwin linux windows 17 18include $(LLVM_HOST_BUILD_MK) 19include $(LLVM_GEN_ATTRIBUTES_MK) 20include $(LLVM_GEN_INTRINSICS_MK) 21include $(BUILD_HOST_STATIC_LIBRARY) 22 23# For the device 24# ===================================================== 25ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 26include $(CLEAR_VARS) 27 28REQUIRES_RTTI := 1 29 30LOCAL_SRC_FILES := $(irreader_SRC_FILES) 31 32LOCAL_MODULE:= libLLVMIRReader 33 34include $(LLVM_DEVICE_BUILD_MK) 35include $(LLVM_GEN_ATTRIBUTES_MK) 36include $(LLVM_GEN_INTRINSICS_MK) 37include $(BUILD_STATIC_LIBRARY) 38endif 39