1 # $NetBSD: Makefile,v 1.2 2021/05/30 01:56:54 joerg Exp $ 2 3 LIB= LLVMPowerPCMCTargetDesc 4 5 .include <bsd.init.mk> 6 7 PPC_OBJDIR!= cd ${.CURDIR}/../libLLVMPowerPCCodeGen && ${PRINTOBJDIR} 8 CPPFLAGS+= -I${PPC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/PowerPC 9 10 .PATH: ${LLVM_SRCDIR}/lib/Target/PowerPC/MCTargetDesc 11 12 SRCS+= PPCAsmBackend.cpp \ 13 PPCELFObjectWriter.cpp \ 14 PPCELFStreamer.cpp \ 15 PPCInstPrinter.cpp \ 16 PPCMCAsmInfo.cpp \ 17 PPCMCCodeEmitter.cpp \ 18 PPCMCExpr.cpp \ 19 PPCMCTargetDesc.cpp \ 20 PPCPredicates.cpp \ 21 PPCXCOFFObjectWriter.cpp \ 22 PPCXCOFFStreamer.cpp 23 24 .if defined(HOSTLIB) 25 .include <bsd.hostlib.mk> 26 .else 27 .include <bsd.lib.mk> 28 .endif 29