1LOCAL_PATH:= $(call my-dir) 2 3vmcore_SRC_FILES := \ 4 AsmWriter.cpp \ 5 Attributes.cpp \ 6 AutoUpgrade.cpp \ 7 BasicBlock.cpp \ 8 Comdat.cpp \ 9 ConstantFold.cpp \ 10 ConstantRange.cpp \ 11 Constants.cpp \ 12 Core.cpp \ 13 DataLayout.cpp \ 14 DebugInfo.cpp \ 15 DebugInfoMetadata.cpp \ 16 DebugLoc.cpp \ 17 DiagnosticInfo.cpp \ 18 DiagnosticPrinter.cpp \ 19 DIBuilder.cpp \ 20 Dominators.cpp \ 21 Function.cpp \ 22 FunctionInfo.cpp \ 23 GCOV.cpp \ 24 GVMaterializer.cpp \ 25 Globals.cpp \ 26 IRBuilder.cpp \ 27 IRPrintingPasses.cpp \ 28 InlineAsm.cpp \ 29 Instruction.cpp \ 30 Instructions.cpp \ 31 IntrinsicInst.cpp \ 32 LLVMContext.cpp \ 33 LLVMContextImpl.cpp \ 34 LegacyPassManager.cpp \ 35 Mangler.cpp \ 36 MDBuilder.cpp \ 37 Metadata.cpp \ 38 MetadataTracking.cpp \ 39 Module.cpp \ 40 Operator.cpp \ 41 Pass.cpp \ 42 PassManager.cpp \ 43 PassRegistry.cpp \ 44 Statepoint.cpp \ 45 Type.cpp \ 46 TypeFinder.cpp \ 47 Use.cpp \ 48 User.cpp \ 49 Value.cpp \ 50 ValueSymbolTable.cpp \ 51 ValueTypes.cpp \ 52 Verifier.cpp 53 54# For the host 55# ===================================================== 56include $(CLEAR_VARS) 57 58REQUIRES_RTTI := 1 59 60LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 61 62LOCAL_MODULE:= libLLVMCore 63 64LOCAL_MODULE_HOST_OS := darwin linux windows 65 66include $(LLVM_HOST_BUILD_MK) 67include $(LLVM_GEN_ATTRIBUTES_MK) 68include $(LLVM_GEN_INTRINSICS_MK) 69include $(BUILD_HOST_STATIC_LIBRARY) 70 71# For the device 72# ===================================================== 73include $(CLEAR_VARS) 74ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 75 76REQUIRES_RTTI := 1 77 78LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 79 80LOCAL_MODULE:= libLLVMCore 81 82include $(LLVM_DEVICE_BUILD_MK) 83include $(LLVM_GEN_ATTRIBUTES_MK) 84include $(LLVM_GEN_INTRINSICS_MK) 85include $(BUILD_STATIC_LIBRARY) 86endif 87