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