1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.7 2014/05/30 18:28:15 joerg Exp $ 2f4a2713aSLionel Sambuc 3f4a2713aSLionel SambucLIB= LLVMX86MCTargetDesc 4f4a2713aSLionel Sambuc 5f4a2713aSLionel Sambuc.include <bsd.init.mk> 6f4a2713aSLionel Sambuc 7f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/X86/MCTargetDesc 8f4a2713aSLionel Sambuc 9f4a2713aSLionel SambucX86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR} 10f4a2713aSLionel SambucCPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86 11f4a2713aSLionel Sambuc 12f4a2713aSLionel SambucSRCS+= X86AsmBackend.cpp \ 13f4a2713aSLionel Sambuc X86ELFObjectWriter.cpp \ 14f4a2713aSLionel Sambuc X86MCAsmInfo.cpp \ 15f4a2713aSLionel Sambuc X86MCCodeEmitter.cpp \ 16f4a2713aSLionel Sambuc X86MCTargetDesc.cpp \ 17f4a2713aSLionel Sambuc X86MachORelocationInfo.cpp \ 18f4a2713aSLionel Sambuc X86MachObjectWriter.cpp \ 19f4a2713aSLionel Sambuc X86ELFRelocationInfo.cpp \ 20*0a6a1f1dSLionel Sambuc X86WinCOFFObjectWriter.cpp \ 21*0a6a1f1dSLionel Sambuc X86WinCOFFStreamer.cpp 22f4a2713aSLionel Sambuc 23f4a2713aSLionel Sambuc.if defined(HOSTLIB) 24f4a2713aSLionel Sambuc.include <bsd.hostlib.mk> 25f4a2713aSLionel Sambuc.else 26f4a2713aSLionel Sambuc.include <bsd.lib.mk> 27f4a2713aSLionel Sambuc.endif 28