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