freebsd-skq/lib/clang/libllvmx86disassembler/Makefile
emaste 51ba585f88 Add LLDB bmake infrastructure
This connects LLDB to the build, but it is disabled by default.  Add
WITH_LLDB= to src.conf to build it.

Note that LLDB requires a C++11 compiler so is disabled on platforms
using GCC.

Approved by:	re (gjb)
Sponsored by:	DARPA, AFRL
2013-09-20 01:52:02 +00:00

20 lines
343 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
LIB= llvmx86disassembler
SRCDIR= lib/Target/X86/Disassembler
INCDIR= lib/Target/X86
SRCS= X86Disassembler.cpp
.if ${MK_CLANG_EXTRAS} != "no" || ${MK_LLDB} != "no"
SRCS+= X86DisassemblerDecoder.c
.endif
TGHDRS= X86GenDisassemblerTables \
X86GenInstrInfo \
X86GenRegisterInfo
.include "../clang.lib.mk"