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} ${LIBCURSES} ${LIBEXECINFO}
20 LDADD= -lcurses -ledit -lexecinfo -lpanel
38 lldbPluginABISysV_x86_64 \
39 lldbPluginCXXItaniumABI \
40 lldbPluginDisassemblerLLVM \
41 lldbPluginInstructionARM \
42 lldbPluginSymbolFileDWARF \
43 lldbPluginSymbolFileSymtab \
44 lldbPluginDynamicLoaderStatic \
45 lldbPluginDynamicLoaderPosixDYLD \
46 lldbPluginObjectContainerBSDArchive \
47 lldbPluginObjectFileELF \
48 lldbPluginSymbolVendorELF \
49 lldbPluginPlatformFreeBSD \
50 lldbPluginPlatformGDB \
51 lldbPluginProcessElfCore \
52 lldbPluginProcessFreeBSD \
53 lldbPluginProcessGDBRemote \
54 lldbPluginProcessUtility \
55 lldbPluginProcessPOSIX \
56 lldbPluginProcessFreeBSD \
57 lldbPluginUnwindAssemblyInstEmulation \
58 lldbPluginUnwindAssemblyX86
60 LDADD+= -Wl,--start-group
61 .for lib in ${LLDB_LIBS}
62 DPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
63 LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
65 LDADD+= -Wl,--end-group
67 # Clang and LLVM libraries
89 llvmmipsdisassembler \
108 llvmmipsinstprinter \
110 llvmpowerpcinstprinter \
111 llvmpowerpcasmparser \
116 llvmexecutionengine \
136 .include "../clang.prog.mk"