From 51ba585f88949f7d515cf6be9c32aa678838a67c Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 20 Sep 2013 01:52:02 +0000 Subject: 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 --- lib/clang/liblldbPluginProcessPOSIX/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 lib/clang/liblldbPluginProcessPOSIX/Makefile (limited to 'lib/clang/liblldbPluginProcessPOSIX') diff --git a/lib/clang/liblldbPluginProcessPOSIX/Makefile b/lib/clang/liblldbPluginProcessPOSIX/Makefile new file mode 100644 index 0000000..cee18c5 --- /dev/null +++ b/lib/clang/liblldbPluginProcessPOSIX/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +.include + +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" -- cgit v1.1