1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.3 2014/01/15 22:21:34 joerg Exp $ 2f4a2713aSLionel Sambuc 3f4a2713aSLionel SambucLIB= LLVMSparcMCTargetDesc 4f4a2713aSLionel Sambuc 5f4a2713aSLionel Sambuc.include <bsd.init.mk> 6f4a2713aSLionel Sambuc 7f4a2713aSLionel SambucSPARC_OBJDIR!= cd ${.CURDIR}/../libLLVMSparcCodeGen && ${PRINTOBJDIR} 8f4a2713aSLionel SambucCPPFLAGS+= -I${SPARC_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Sparc 9f4a2713aSLionel Sambuc 10f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc/MCTargetDesc 11f4a2713aSLionel Sambuc 12*0a6a1f1dSLionel SambucSRCS+= SparcAsmBackend.cpp \ 13*0a6a1f1dSLionel Sambuc SparcELFObjectWriter.cpp \ 14*0a6a1f1dSLionel Sambuc SparcMCAsmInfo.cpp \ 15*0a6a1f1dSLionel Sambuc SparcMCCodeEmitter.cpp \ 16*0a6a1f1dSLionel Sambuc SparcMCExpr.cpp \ 17*0a6a1f1dSLionel Sambuc SparcMCTargetDesc.cpp \ 18*0a6a1f1dSLionel Sambuc SparcTargetStreamer.cpp 19f4a2713aSLionel Sambuc 20f4a2713aSLionel Sambuc.if defined(HOSTLIB) 21f4a2713aSLionel Sambuc.include <bsd.hostlib.mk> 22f4a2713aSLionel Sambuc.else 23f4a2713aSLionel Sambuc.include <bsd.lib.mk> 24f4a2713aSLionel Sambuc.endif 25