xref: /minix3/external/bsd/llvm/lib/libLLVMMCDisassembler/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.5 2014/08/10 17:34:21 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMMCDisassembler
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/MC/MCDisassembler
8f4a2713aSLionel Sambuc
9*0a6a1f1dSLionel SambucSRCS+=	Disassembler.cpp \
10*0a6a1f1dSLionel Sambuc	MCDisassembler.cpp \
11*0a6a1f1dSLionel Sambuc	MCExternalSymbolizer.cpp \
12*0a6a1f1dSLionel Sambuc	MCRelocationInfo.cpp \
13f4a2713aSLionel Sambuc
14f4a2713aSLionel Sambuc.if defined(HOSTLIB)
15f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
16f4a2713aSLionel Sambuc.else
17f4a2713aSLionel Sambuc.include <bsd.lib.mk>
18f4a2713aSLionel Sambuc.endif
19