summaryrefslogtreecommitdiffstats
path: root/lib/clang/liblldbTarget/Makefile
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-09-20 01:52:02 +0000
committeremaste <emaste@FreeBSD.org>2013-09-20 01:52:02 +0000
commit51ba585f88949f7d515cf6be9c32aa678838a67c (patch)
tree03c4639d8dd72b5865e528b3705c2061add52e92 /lib/clang/liblldbTarget/Makefile
parent07c75ee46c7f2c2fa93ef848a944b6c054d22168 (diff)
downloadFreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.zip
FreeBSD-src-51ba585f88949f7d515cf6be9c32aa678838a67c.tar.gz
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
Diffstat (limited to 'lib/clang/liblldbTarget/Makefile')
-rw-r--r--lib/clang/liblldbTarget/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/lib/clang/liblldbTarget/Makefile b/lib/clang/liblldbTarget/Makefile
new file mode 100644
index 0000000..c6384be
--- /dev/null
+++ b/lib/clang/liblldbTarget/Makefile
@@ -0,0 +1,54 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+LIB= lldbTarget
+
+CFLAGS+=-I${.CURDIR}/../../../contrib/llvm/tools/lldb/source/Plugins/Process/Utility
+
+SRCDIR= tools/lldb/source/Target
+SRCS= ABI.cpp \
+ CPPLanguageRuntime.cpp \
+ ExecutionContext.cpp \
+ LanguageRuntime.cpp \
+ Memory.cpp \
+ ObjCLanguageRuntime.cpp \
+ OperatingSystem.cpp \
+ PathMappingList.cpp \
+ Platform.cpp \
+ Process.cpp \
+ RegisterContext.cpp \
+ SectionLoadList.cpp \
+ StackFrame.cpp \
+ StackFrameList.cpp \
+ StackID.cpp \
+ StopInfo.cpp \
+ Target.cpp \
+ TargetList.cpp \
+ Thread.cpp \
+ ThreadList.cpp \
+ ThreadPlan.cpp \
+ ThreadPlanBase.cpp \
+ ThreadPlanCallFunction.cpp \
+ ThreadPlanCallUserExpression.cpp \
+ ThreadPlanRunToAddress.cpp \
+ ThreadPlanShouldStopHere.cpp \
+ ThreadPlanStepInRange.cpp \
+ ThreadPlanStepInstruction.cpp \
+ ThreadPlanStepOut.cpp \
+ ThreadPlanStepOverBreakpoint.cpp \
+ ThreadPlanStepOverRange.cpp \
+ ThreadPlanStepRange.cpp \
+ ThreadPlanStepThrough.cpp \
+ ThreadPlanStepUntil.cpp \
+ ThreadPlanTracer.cpp \
+ ThreadSpec.cpp \
+ UnixSignals.cpp \
+ UnwindAssembly.cpp
+
+TGHDRS= DiagnosticCommonKinds \
+ DeclNodes \
+ StmtNodes \
+ CommentCommandList
+
+.include "../lldb.lib.mk"
OpenPOWER on IntegriCloud