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 GCOV.cpp \ 23 GVMaterializer.cpp \ 24 Globals.cpp \ 25 IRBuilder.cpp \ 26 IRPrintingPasses.cpp \ 27 InlineAsm.cpp \ 28 Instruction.cpp \ 29 Instructions.cpp \ 30 IntrinsicInst.cpp \ 31 LLVMContext.cpp \ 32 LLVMContextImpl.cpp \ 33 LegacyPassManager.cpp \ 34 Mangler.cpp \ 35 MDBuilder.cpp \ 36 Metadata.cpp \ 37 MetadataTracking.cpp \ 38 Module.cpp \ 39 Pass.cpp \ 40 PassManager.cpp \ 41 PassRegistry.cpp \ 42 Statepoint.cpp \ 43 Type.cpp \ 44 TypeFinder.cpp \ 45 Use.cpp \ 46 User.cpp \ 47 Value.cpp \ 48 ValueSymbolTable.cpp \ 49 ValueTypes.cpp \ 50 Verifier.cpp 51 52# For the host 53# ===================================================== 54include $(CLEAR_VARS) 55 56REQUIRES_RTTI := 1 57 58LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 59 60LOCAL_MODULE:= libLLVMCore 61 62LOCAL_MODULE_TAGS := optional 63 64include $(LLVM_HOST_BUILD_MK) 65include $(LLVM_GEN_INTRINSICS_MK) 66include $(BUILD_HOST_STATIC_LIBRARY) 67 68# For the device 69# ===================================================== 70include $(CLEAR_VARS) 71ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 72 73REQUIRES_RTTI := 1 74 75LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 76 77LOCAL_MODULE:= libLLVMCore 78 79LOCAL_MODULE_TAGS := optional 80 81include $(LLVM_DEVICE_BUILD_MK) 82include $(LLVM_GEN_INTRINSICS_MK) 83include $(BUILD_STATIC_LIBRARY) 84endif 85