mirror of
https://github.com/opnsense/src.git
synced 2026-05-18 03:59:39 -04:00
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
28 lines
736 B
Makefile
28 lines
736 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= lldbPluginProcessPOSIX
|
|
|
|
# include_directories(.)
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/POSIX
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility
|
|
CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD
|
|
|
|
SRCDIR= tools/lldb/source/Plugins/Process/POSIX
|
|
SRCS= POSIXStopInfo.cpp \
|
|
POSIXThread.cpp \
|
|
ProcessMessage.cpp \
|
|
ProcessPOSIX.cpp \
|
|
ProcessPOSIXLog.cpp \
|
|
RegisterContextFreeBSD_x86_64.cpp \
|
|
RegisterContext_i386.cpp \
|
|
RegisterContextLinux_x86_64.cpp \
|
|
RegisterContext_x86_64.cpp
|
|
|
|
TGHDRS= DiagnosticCommonKinds \
|
|
DeclNodes \
|
|
StmtNodes \
|
|
CommentCommandList
|
|
|
|
.include "../lldb.lib.mk"
|