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
100 llvmaarch64disassembler \
102 llvmaarch64asmparser \
105 llvmaarch64instprinter \
107 llvmarmdisassembler \
113 llvmmipsdisassembler \
118 llvmmipsinstprinter \
119 llvmpowerpcdisassembler \
121 llvmpowerpcasmparser \
124 llvmpowerpcinstprinter \
125 llvmsparcdisassembler \
130 llvmsparcinstprinter \
131 llvmx86disassembler \
154 .include "../clang.prog.mk"