1LOCAL_PATH:= $(call my-dir) 2 3target_SRC_FILES := \ 4 Target.cpp \ 5 TargetIntrinsicInfo.cpp \ 6 TargetJITInfo.cpp \ 7 TargetLibraryInfo.cpp \ 8 TargetLoweringObjectFile.cpp \ 9 TargetMachineC.cpp \ 10 TargetMachine.cpp \ 11 TargetSubtargetInfo.cpp 12 13# For the host 14# ===================================================== 15include $(CLEAR_VARS) 16 17LOCAL_SRC_FILES := $(target_SRC_FILES) 18 19LOCAL_MODULE:= libLLVMTarget 20 21LOCAL_MODULE_TAGS := optional 22 23include $(LLVM_HOST_BUILD_MK) 24include $(BUILD_HOST_STATIC_LIBRARY) 25 26# For the device 27# ===================================================== 28ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := $(target_SRC_FILES) 32 33LOCAL_MODULE:= libLLVMTarget 34 35LOCAL_MODULE_TAGS := optional 36 37include $(LLVM_DEVICE_BUILD_MK) 38include $(BUILD_STATIC_LIBRARY) 39endif 40