diff options
author | emaste <emaste@FreeBSD.org> | 2013-09-20 01:52:02 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-09-20 01:52:02 +0000 |
commit | 51ba585f88949f7d515cf6be9c32aa678838a67c (patch) | |
tree | 03c4639d8dd72b5865e528b3705c2061add52e92 /usr.bin/clang/Makefile | |
parent | 07c75ee46c7f2c2fa93ef848a944b6c054d22168 (diff) | |
download | FreeBSD-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 'usr.bin/clang/Makefile')
-rw-r--r-- | usr.bin/clang/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/clang/Makefile b/usr.bin/clang/Makefile index db5fae7..a61a418 100644 --- a/usr.bin/clang/Makefile +++ b/usr.bin/clang/Makefile @@ -4,7 +4,8 @@ SUBDIR= clang clang-tblgen tblgen -.if ${MK_CLANG_EXTRAS} != "no" && !defined(TOOLS_PREFIX) +.if !defined(TOOLS_PREFIX) +.if ${MK_CLANG_EXTRAS} != "no" SUBDIR+=bugpoint \ llc \ lli \ @@ -25,4 +26,9 @@ SUBDIR+=bugpoint \ opt .endif +.if ${MK_LLDB} != "no" +SUBDIR+=lldb +.endif +.endif # TOOLS_PREFIX + .include <bsd.subdir.mk> |