1*f4a2713aSLionel Sambuc# $NetBSD: Makefile,v 1.5 2013/09/02 14:34:56 joerg Exp $ 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel SambucLIB= LLVMPowerPCMCTargetDesc 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambuc.include <bsd.init.mk> 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel SambucPPC_OBJDIR!= cd ${.CURDIR}/../libLLVMPowerPCCodeGen && ${PRINTOBJDIR} 8*f4a2713aSLionel SambucCPPFLAGS+= -I${PPC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/PowerPC 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/PowerPC/MCTargetDesc 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel SambucSRCS+= PPCAsmBackend.cpp \ 13*f4a2713aSLionel Sambuc PPCMCAsmInfo.cpp \ 14*f4a2713aSLionel Sambuc PPCELFObjectWriter.cpp \ 15*f4a2713aSLionel Sambuc PPCMCCodeEmitter.cpp \ 16*f4a2713aSLionel Sambuc PPCMCExpr.cpp \ 17*f4a2713aSLionel Sambuc PPCMCTargetDesc.cpp \ 18*f4a2713aSLionel Sambuc PPCMachObjectWriter.cpp \ 19*f4a2713aSLionel Sambuc PPCPredicates.cpp 20*f4a2713aSLionel Sambuc 21*f4a2713aSLionel Sambuc.if defined(HOSTLIB) 22*f4a2713aSLionel Sambuc.include <bsd.hostlib.mk> 23*f4a2713aSLionel Sambuc.else 24*f4a2713aSLionel Sambuc.include <bsd.lib.mk> 25*f4a2713aSLionel Sambuc.endif 26