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 DebugInfo.cpp \ 12 DebugLoc.cpp \ 13 DIBuilder.cpp \ 14 Dominators.cpp \ 15 Function.cpp \ 16 GVMaterializer.cpp \ 17 Globals.cpp \ 18 IRBuilder.cpp \ 19 InlineAsm.cpp \ 20 Instruction.cpp \ 21 Instructions.cpp \ 22 IntrinsicInst.cpp \ 23 LLVMContext.cpp \ 24 LLVMContextImpl.cpp \ 25 LeakDetector.cpp \ 26 Metadata.cpp \ 27 Module.cpp \ 28 Pass.cpp \ 29 PassManager.cpp \ 30 PassRegistry.cpp \ 31 PrintModulePass.cpp \ 32 Type.cpp \ 33 TypeFinder.cpp \ 34 Use.cpp \ 35 User.cpp \ 36 Value.cpp \ 37 ValueSymbolTable.cpp \ 38 ValueTypes.cpp \ 39 Verifier.cpp 40 41# For the host 42# ===================================================== 43include $(CLEAR_VARS) 44 45REQUIRES_RTTI := 1 46 47LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 48 49LOCAL_MODULE:= libLLVMCore 50 51LOCAL_MODULE_TAGS := optional 52 53include $(LLVM_HOST_BUILD_MK) 54include $(LLVM_GEN_INTRINSICS_MK) 55include $(BUILD_HOST_STATIC_LIBRARY) 56 57# For the device 58# ===================================================== 59include $(CLEAR_VARS) 60 61REQUIRES_RTTI := 1 62 63LOCAL_SRC_FILES := $(vmcore_SRC_FILES) 64 65LOCAL_MODULE:= libLLVMCore 66 67LOCAL_MODULE_TAGS := optional 68 69include $(LLVM_DEVICE_BUILD_MK) 70include $(LLVM_GEN_INTRINSICS_MK) 71include $(BUILD_STATIC_LIBRARY) 72