1 LOCAL_PATH:= $(call my-dir) 2 3 target_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 # ===================================================== 16 include $(CLEAR_VARS) 17 18 LOCAL_SRC_FILES := $(target_SRC_FILES) 19 20 LOCAL_MODULE:= libLLVMTarget 21 22 LOCAL_MODULE_TAGS := optional 23 24 include $(LLVM_HOST_BUILD_MK) 25 include $(BUILD_HOST_STATIC_LIBRARY) 26 27 # For the device 28 # ===================================================== 29 include $(CLEAR_VARS) 30 31 LOCAL_SRC_FILES := $(target_SRC_FILES) 32 33 LOCAL_MODULE:= libLLVMTarget 34 35 LOCAL_MODULE_TAGS := optional 36 37 include $(LLVM_DEVICE_BUILD_MK) 38 include $(BUILD_STATIC_LIBRARY) 39