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= -ledit -lcurses -lexecinfo
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 lldbPluginUnwindAssemblyInstEmulation \
57 lldbPluginUnwindAssemblyX86
59 LDADD+= -Wl,--start-group
60 .for lib in ${LLDB_LIBS}
61 DPADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
62 LDADD+= ${.OBJDIR}/../../../lib/clang/lib${lib}/lib${lib}.a
64 LDADD+= -Wl,--end-group
66 # Clang and LLVM libraries
87 llvmmipsdisassembler \
106 llvmmipsinstprinter \
108 llvmpowerpcinstprinter \
109 llvmpowerpcasmparser \
114 llvmexecutionengine \
134 .include "../clang.prog.mk"