1 # $NetBSD: Makefile,v 1.1 2019/11/11 22:45:10 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 PPCMCAsmInfo.cpp \ 14 PPCELFObjectWriter.cpp \ 15 PPCInstPrinter.cpp \ 16 PPCMCCodeEmitter.cpp \ 17 PPCMCExpr.cpp \ 18 PPCMCTargetDesc.cpp \ 19 PPCMachObjectWriter.cpp \ 20 PPCPredicates.cpp \ 21 PPCXCOFFObjectWriter.cpp 22 23 .if defined(HOSTLIB) 24 .include <bsd.hostlib.mk> 25 .else 26 .include <bsd.lib.mk> 27 .endif 28