1LOCAL_PATH:= $(call my-dir) 2 3vmcore_SRC_FILES := \ 4 AsmWriter.cpp \ 5 Attributes.cpp \ 6 AutoUpgrade.cpp \ 7 BasicBlock.cpp \ 8 ConstantFold.cpp \ 9 Constants.cpp \ 10 Core.cpp \ 11 DebugLoc.cpp \ 12 DebugInfoProbe.cpp \ 13 Dominators.cpp \ 14 Function.cpp \ 15 GVMaterializer.cpp \ 16 Globals.cpp \ 17 IRBuilder.cpp \ 18 InlineAsm.cpp \ 19 Instruction.cpp \ 20 Instructions.cpp \ 21 IntrinsicInst.cpp \ 22 LLVMContext.cpp \ 23 LLVMContextImpl.cpp \ 24 LeakDetector.cpp \ 25 Metadata.cpp \ 26 Module.cpp \ 27 Pass.cpp \ 28 PassManager.cpp \ 29 PassRegistry.cpp \ 30 PrintModulePass.cpp \ 31 Type.cpp \ 32 Use.cpp \ 33 User.cpp\ 34 Value.cpp \ 35 ValueSymbolTable.cpp \ 36 ValueTypes.cpp \ 37 Verifier.cpp 38 39# For the host 40# ===================================================== 41include $(CLEAR_VARS) 42 43REQUIRES_RTTI := 1 44 45LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 46 47LOCAL_MODULE:= libLLVMCore 48 49LOCAL_MODULE_TAGS := optional 50 51include $(LLVM_HOST_BUILD_MK) 52include $(LLVM_GEN_INTRINSICS_MK) 53include $(BUILD_HOST_STATIC_LIBRARY) 54 55# For the device 56# ===================================================== 57include $(CLEAR_VARS) 58 59REQUIRES_RTTI := 1 60 61LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 62 63LOCAL_MODULE:= libLLVMCore 64 65LOCAL_MODULE_TAGS := optional 66 67include $(LLVM_DEVICE_BUILD_MK) 68include $(LLVM_GEN_INTRINSICS_MK) 69include $(BUILD_STATIC_LIBRARY) 70