external/bsd/llvm/lib/libLLVMAArch64Disassembler/Makefile
author joerg <joerg@NetBSD.org>
Fri, 30 May 2014 18:28:13 +0000
branchtrunk
changeset 227458 450521e500dc
parent 216456 92f4c8f215c9
permissions -rw-r--r--
Update build system for LLVM/Clang snapshot r209886. This brings in the merged AArch64 backend and the move of eARM to DWARF exception handling for NetBSD. C++11 is required for building.

#	$NetBSD: Makefile,v 1.2 2014/05/30 18:28:14 joerg Exp $

LIB=	LLVMAArch64Disassembler

.include <bsd.init.mk>

AARCH64_OBJDIR!=	cd ${.CURDIR}/../libLLVMAArch64CodeGen && ${PRINTOBJDIR}
CPPFLAGS+=	-I${AARCH64_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/AArch64

.PATH: ${LLVM_SRCDIR}/lib/Target/AArch64/Disassembler

SRCS+=	AArch64Disassembler.cpp \
	AArch64ExternalSymbolizer.cpp

.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif