1# $OpenBSD: Makefile,v 1.9 2019/06/23 22:07:39 patrick Exp $ 2 3LIB= LLVMCore 4NOPROFILE= 5 6CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/IR 7 8SRCS+= AsmWriter.cpp \ 9 Attributes.cpp \ 10 AutoUpgrade.cpp \ 11 BasicBlock.cpp \ 12 Comdat.cpp \ 13 ConstantFold.cpp \ 14 ConstantRange.cpp \ 15 Constants.cpp \ 16 CoreCore.cpp \ 17 DIBuilder.cpp \ 18 DataLayout.cpp \ 19 DebugInfo.cpp \ 20 DebugInfoMetadata.cpp \ 21 DebugLoc.cpp \ 22 DiagnosticHandler.cpp \ 23 DiagnosticInfo.cpp \ 24 DiagnosticPrinter.cpp \ 25 DomTreeUpdater.cpp \ 26 Dominators.cpp \ 27 Function.cpp \ 28 GVMaterializer.cpp \ 29 Globals.cpp \ 30 IRBuilder.cpp \ 31 IRPrintingPasses.cpp \ 32 InlineAsm.cpp \ 33 Instruction.cpp \ 34 Instructions.cpp \ 35 IntrinsicInst.cpp \ 36 LLVMContext.cpp \ 37 LLVMContextImpl.cpp \ 38 LegacyPassManager.cpp \ 39 MDBuilder.cpp \ 40 Mangler.cpp \ 41 Metadata.cpp \ 42 Module.cpp \ 43 ModuleSummaryIndex.cpp \ 44 Operator.cpp \ 45 OptBisect.cpp \ 46 Pass.cpp \ 47 PassInstrumentation.cpp \ 48 PassManager.cpp \ 49 PassRegistry.cpp \ 50 PassTimingInfo.cpp \ 51 ProfileSummary.cpp \ 52 SafepointIRVerifier.cpp \ 53 Statepoint.cpp \ 54 Type.cpp \ 55 TypeFinder.cpp \ 56 Use.cpp \ 57 User.cpp \ 58 Value.cpp \ 59 ValueSymbolTable.cpp \ 60 Verifier.cpp 61 62CoreCore.cpp: 63 ln -s ${LLVM_SRCS}/lib/IR/Core.cpp $@ 64 65.PATH: ${.CURDIR}/../../../llvm/lib/IR 66 67Attributes.o: AttributesCompatFunc.inc 68 69AttributesCompatFunc.inc: AttributesCompatFunc.td 70 ${.OBJDIR}/../llvm-tblgen/llvm-tblgen -gen-attrs \ 71 -I${LLVM_SRCS}/include/llvm/IR -I${LLVM_SRCS}/lib/Target \ 72 -I${LLVM_SRCS}/include \ 73 -o ${.TARGET} ${.ALLSRC} 74 75CLEANFILES+= CoreCore.cpp 76