1LOCAL_PATH:= $(call my-dir) 2 3codegen_selectiondag_SRC_FILES := \ 4 DAGCombiner.cpp \ 5 FastISel.cpp \ 6 FunctionLoweringInfo.cpp \ 7 InstrEmitter.cpp \ 8 LegalizeDAG.cpp \ 9 LegalizeFloatTypes.cpp \ 10 LegalizeIntegerTypes.cpp \ 11 LegalizeTypes.cpp \ 12 LegalizeTypesGeneric.cpp \ 13 LegalizeVectorOps.cpp \ 14 LegalizeVectorTypes.cpp \ 15 ResourcePriorityQueue.cpp \ 16 ScheduleDAGFast.cpp \ 17 ScheduleDAGRRList.cpp \ 18 ScheduleDAGSDNodes.cpp \ 19 ScheduleDAGVLIW.cpp \ 20 SelectionDAG.cpp \ 21 SelectionDAGBuilder.cpp \ 22 SelectionDAGDumper.cpp \ 23 SelectionDAGISel.cpp \ 24 SelectionDAGPrinter.cpp \ 25 StatepointLowering.cpp \ 26 TargetLowering.cpp \ 27 TargetSelectionDAGInfo.cpp 28 29# For the host 30# ===================================================== 31include $(CLEAR_VARS) 32 33LOCAL_SRC_FILES := $(codegen_selectiondag_SRC_FILES) 34 35LOCAL_MODULE:= libLLVMSelectionDAG 36 37LOCAL_MODULE_TAGS := optional 38 39include $(LLVM_HOST_BUILD_MK) 40include $(LLVM_GEN_INTRINSICS_MK) 41include $(BUILD_HOST_STATIC_LIBRARY) 42 43# For the device 44# ===================================================== 45ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 46include $(CLEAR_VARS) 47 48LOCAL_SRC_FILES := $(codegen_selectiondag_SRC_FILES) 49 50LOCAL_MODULE:= libLLVMSelectionDAG 51 52LOCAL_MODULE_TAGS := optional 53 54include $(LLVM_DEVICE_BUILD_MK) 55include $(LLVM_GEN_INTRINSICS_MK) 56include $(BUILD_STATIC_LIBRARY) 57endif 58