xref: /minix3/external/bsd/llvm/lib/libLLVMMipsDisassembler/Makefile (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc#	$NetBSD: Makefile,v 1.1 2012/04/29 19:19:05 joerg Exp $
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel SambucLIB=	LLVMMipsDisassembler
4*f4a2713aSLionel Sambuc
5*f4a2713aSLionel Sambuc.include <bsd.init.mk>
6*f4a2713aSLionel Sambuc
7*f4a2713aSLionel SambucMIPS_OBJDIR!=	cd ${.CURDIR}/../libLLVMMipsCodeGen && ${PRINTOBJDIR}
8*f4a2713aSLionel SambucCPPFLAGS+=	-I${MIPS_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/Mips
9*f4a2713aSLionel Sambuc
10*f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/Mips/Disassembler
11*f4a2713aSLionel Sambuc
12*f4a2713aSLionel SambucSRCS+=	MipsDisassembler.cpp
13*f4a2713aSLionel Sambuc
14*f4a2713aSLionel Sambuc.if defined(HOSTLIB)
15*f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
16*f4a2713aSLionel Sambuc.else
17*f4a2713aSLionel Sambuc.include <bsd.lib.mk>
18*f4a2713aSLionel Sambuc.endif
19