7 LLDB_SRCS=${.CURDIR}/../../../contrib/llvm/tools/lldb
9 CFLAGS+= -I${LLDB_SRCS}/include
12 SRCDIR= tools/lldb/tools/driver
17 ln -fs ${LLDB_SRCS}/docs/lldb.1 ${.TARGET}
19 DPADD= ${LIBEDIT} ${LIBNCURSESW} ${LIBEXECINFO} ${LIBPANEL} ${LIBZ}
20 LDADD= -ledit -lncursesw -lexecinfo -lpanel -lz
39 lldbPluginABISysV_x86_64 \
40 lldbPluginCXXItaniumABI \
41 lldbPluginDisassemblerLLVM \
42 lldbPluginInstructionARM \
43 lldbPluginInstructionARM64 \
44 lldbPluginJITLoaderGDB \
45 lldbPluginSymbolFileDWARF \
46 lldbPluginSymbolFileSymtab \
47 lldbPluginDynamicLoaderStatic \
48 lldbPluginDynamicLoaderPosixDYLD \
49 lldbPluginObjectContainerBSDArchive \
50 lldbPluginObjectFileELF \
51 lldbPluginObjectFileJIT \
52 lldbPluginSymbolVendorELF \
53 lldbPluginPlatformFreeBSD \
54 lldbPluginPlatformGDB \
55 lldbPluginProcessElfCore \
56 lldbPluginProcessFreeBSD \
57 lldbPluginProcessGDBRemote \
58 lldbPluginProcessUtility \
59 lldbPluginProcessPOSIX \
60 lldbPluginProcessFreeBSD \
61 lldbPluginUnwindAssemblyInstEmulation \
62 lldbPluginUnwindAssemblyX86
64 LDADD+= -Wl,--start-group
65 .for lib in ${LLDB_LIBS}
66 DPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
67 LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
69 LDADD+= -Wl,--end-group
71 # Clang and LLVM libraries
93 llvmmipsdisassembler \
101 llvmarmdisassembler \
111 llvmmipsinstprinter \
113 llvmpowerpcinstprinter \
114 llvmpowerpcasmparser \
115 llvmpowerpcdisassembler \
121 llvmexecutionengine \
124 llvmsparcdisassembler \
129 llvmsparcinstprinter \
148 .include "../clang.prog.mk"