xref: /minix3/external/bsd/llvm/lib/libLLVMX86AsmPrinter/Makefile (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1#	$NetBSD: Makefile,v 1.2 2011/05/12 14:56:24 joerg Exp $
2
3LIB=	LLVMX86AsmPrinter
4NOGCCERROR=	yes
5
6.include <bsd.init.mk>
7
8X86_OBJDIR!=	cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
9CPPFLAGS+=	-I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
10
11.PATH: ${LLVM_SRCDIR}/lib/Target/X86/InstPrinter
12
13SRCS+=	X86ATTInstPrinter.cpp \
14	X86IntelInstPrinter.cpp \
15	X86InstComments.cpp
16
17.if defined(HOSTLIB)
18.include <bsd.hostlib.mk>
19.else
20.include <bsd.lib.mk>
21.endif
22