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