forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lldb-server, and update other lldb build glue to provide any
additionally required objects.
- Loading branch information
1 parent
e60d7a0
commit f93b529
Showing
4 changed files
with
332 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # $FreeBSD$ | ||
|
|
||
| .include "${SRCTOP}/lib/clang/lldb.pre.mk" | ||
|
|
||
| PACKAGE= lldb | ||
| PROG_CXX= lldb-server | ||
|
|
||
| CFLAGS+= -I${LLDB_SRCS}/include | ||
| CFLAGS+= -I${LLDB_SRCS}/source | ||
| CFLAGS+= -I${.OBJDIR} | ||
|
|
||
| SRCDIR= lldb/tools/lldb-server | ||
|
|
||
| SRCS+= Acceptor.cpp | ||
| SRCS+= LLDBServerUtilities.cpp | ||
| SRCS+= SystemInitializerLLGS.cpp | ||
| SRCS+= lldb-gdbserver.cpp | ||
| SRCS+= lldb-platform.cpp | ||
| SRCS+= lldb-server.cpp | ||
|
|
||
| .include "${SRCTOP}/lib/clang/clang.build.mk" | ||
|
|
||
| LIBDEPS+= lldb | ||
| LIBDEPS+= clang | ||
| LIBDEPS+= llvm | ||
|
|
||
| .for lib in ${LIBDEPS} | ||
| DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | ||
| LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a | ||
| .endfor | ||
|
|
||
| LLVM_TBLGEN?= llvm-tblgen | ||
| INCFILE= LLGSOptions.inc | ||
| TDFILE= ${LLDB_SRCS}/tools/lldb-server/LLGSOptions.td | ||
| GENOPT= -gen-opt-parser-defs | ||
| ${INCFILE}: ${TDFILE} | ||
| ${LLVM_TBLGEN} ${GENOPT} -I ${LLVM_SRCS}/include -d ${.TARGET:C/$/.d/} \ | ||
| -o ${.TARGET} ${TDFILE} | ||
| TGHDRS+= ${INCFILE} | ||
|
|
||
| DPSRCS+= ${TGHDRS} | ||
| CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/} | ||
|
|
||
| LIBADD+= edit | ||
| LIBADD+= execinfo | ||
| LIBADD+= lua | ||
| LIBADD+= lzma | ||
| LIBADD+= ncursesw | ||
| LIBADD+= panel | ||
| LIBADD+= pthread | ||
| LIBADD+= z | ||
|
|
||
| .include <bsd.prog.mk> |
Oops, something went wrong.