summaryrefslogtreecommitdiff
path: root/external/bsd/llvm/lib/libLLVMX86AsmPrinter/Makefile
blob: 75db50b80592c451a26919f4b6c5625c79677c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $

LIB=	LLVMX86AsmPrinter
NOGCCERROR=	yes

.include <bsd.init.mk>

X86_OBJDIR!=	cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
CPPFLAGS+=	-I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86

.PATH: ${LLVM_SRCDIR}/lib/Target/X86/InstPrinter

SRCS+=	X86ATTInstPrinter.cpp \
	X86IntelInstPrinter.cpp \
	X86InstComments.cpp

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