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
22 lines
519 B
Makefile
22 lines
519 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= lldbPluginProcessElfCore
|
|
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility
|
|
|
|
SRCDIR= tools/lldb/source/Plugins/Process/elf-core
|
|
SRCS= ProcessElfCore.cpp \
|
|
ThreadElfCore.cpp \
|
|
RegisterContextCoreLinux_x86_64.cpp \
|
|
RegisterContextCoreFreeBSD_x86_64.cpp
|
|
|
|
TGHDRS= DiagnosticCommonKinds \
|
|
DeclNodes \
|
|
StmtNodes \
|
|
CommentCommandList
|
|
|
|
.include "../lldb.lib.mk"
|