1LOCAL_PATH:= $(call my-dir) 2 3target_SRC_FILES := \ 4 Mangler.cpp \ 5 Target.cpp \ 6 TargetIntrinsicInfo.cpp \ 7 TargetJITInfo.cpp \ 8 TargetLibraryInfo.cpp \ 9 TargetLoweringObjectFile.cpp \ 10 TargetMachineC.cpp \ 11 TargetMachine.cpp \ 12 TargetSubtargetInfo.cpp 13 14# For the host 15# ===================================================== 16include $(CLEAR_VARS) 17 18LOCAL_SRC_FILES := $(target_SRC_FILES) 19 20LOCAL_MODULE:= libLLVMTarget 21 22LOCAL_MODULE_TAGS := optional 23 24include $(LLVM_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 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) 39