Add lldb-tblgen tool.
This commit is contained in:
parent
9f21cde5df
commit
006dcf6159
@ -6,6 +6,10 @@ SUBDIR+= clang
|
|||||||
SUBDIR+= clang-tblgen
|
SUBDIR+= clang-tblgen
|
||||||
SUBDIR+= llvm-tblgen
|
SUBDIR+= llvm-tblgen
|
||||||
|
|
||||||
|
.if ${MK_LLDB} != "no"
|
||||||
|
SUBDIR+= lldb-tblgen
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !defined(TOOLS_PREFIX)
|
.if !defined(TOOLS_PREFIX)
|
||||||
SUBDIR+= llvm-ar
|
SUBDIR+= llvm-ar
|
||||||
SUBDIR+= llvm-nm
|
SUBDIR+= llvm-nm
|
||||||
|
10
usr.bin/clang/lldb-tblgen/Makefile
Normal file
10
usr.bin/clang/lldb-tblgen/Makefile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PROG_CXX= lldb-tblgen
|
||||||
|
MAN=
|
||||||
|
|
||||||
|
SRCDIR= tools/lldb/utils/TableGen
|
||||||
|
SRCS+= LLDBOptionDefEmitter.cpp
|
||||||
|
SRCS+= LLDBTableGen.cpp
|
||||||
|
|
||||||
|
.include "../llvm.prog.mk"
|
@ -8,7 +8,8 @@ CFLAGS+= -I${OBJTOP}/lib/clang/libllvm
|
|||||||
|
|
||||||
# Special case for the bootstrap-tools phase.
|
# Special case for the bootstrap-tools phase.
|
||||||
.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
|
.if (defined(TOOLS_PREFIX) || ${MACHINE} == "host") && \
|
||||||
(${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "llvm-tblgen")
|
(${PROG_CXX} == "clang-tblgen" || ${PROG_CXX} == "lldb-tblgen" || \
|
||||||
|
${PROG_CXX} == "llvm-tblgen")
|
||||||
LIBDEPS+= llvmminimal
|
LIBDEPS+= llvmminimal
|
||||||
.else
|
.else
|
||||||
LIBDEPS+= llvm
|
LIBDEPS+= llvm
|
||||||
|
Loading…
Reference in New Issue
Block a user