opnsense-src/lib/clang/liblldbPluginProcessPOSIX/Makefile
Ed Maste e8f1392d95 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

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"