xref: /minix3/external/bsd/llvm/lib/libLLVMAArch64Disassembler/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:14 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	LLVMAArch64Disassembler
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel SambucAARCH64_OBJDIR!=	cd ${.CURDIR}/../libLLVMAArch64CodeGen && ${PRINTOBJDIR}
8f4a2713aSLionel SambucCPPFLAGS+=	-I${AARCH64_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/AArch64
9f4a2713aSLionel Sambuc
10f4a2713aSLionel Sambuc.PATH: ${LLVM_SRCDIR}/lib/Target/AArch64/Disassembler
11f4a2713aSLionel Sambuc
12*0a6a1f1dSLionel SambucSRCS+=	AArch64Disassembler.cpp \
13*0a6a1f1dSLionel Sambuc	AArch64ExternalSymbolizer.cpp
14f4a2713aSLionel Sambuc
15f4a2713aSLionel Sambuc.if defined(HOSTLIB)
16f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
17f4a2713aSLionel Sambuc.else
18f4a2713aSLionel Sambuc.include <bsd.lib.mk>
19f4a2713aSLionel Sambuc.endif
20