51ba585f88
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
20 lines
343 B
Makefile
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"
|