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/liblldbPluginProcessElfCore/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/clang/liblldbPluginProcessElfCore/Makefile (limited to 'lib/clang/liblldbPluginProcessElfCore') diff --git a/lib/clang/liblldbPluginProcessElfCore/Makefile b/lib/clang/liblldbPluginProcessElfCore/Makefile new file mode 100644 index 0000000..1d5dec3 --- /dev/null +++ b/lib/clang/liblldbPluginProcessElfCore/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +.include + +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" -- cgit v1.1