minix/external/bsd/llvm/lib/libLLVMX86Disassembler/Makefile
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

23 lines
455 B
Makefile

# $NetBSD: Makefile,v 1.3 2013/09/03 14:54:00 joerg Exp $
LIB= LLVMX86Disassembler
.include <bsd.init.mk>
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${X86_OBJDIR}
.PATH: ${LLVM_SRCDIR}/lib/Target/X86/Disassembler
SRCS+= X86Disassembler.cpp \
X86DisassemblerDecoder.c
.for src in ${SRCS:M*.c}
CPPFLAGS.${src}+= -std=gnu99
.endfor
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif