Hook up initial build infrastructure for LLDB. Update LLVM/Clang

snapshot to r191390 for some required changed. Re-enable static analyzer
in Clang.
This commit is contained in:
joerg 2013-09-29 12:11:59 +00:00
parent 0acf56cdc6
commit 5f3aa2dbae
56 changed files with 1330 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1838 2013/09/19 17:29:06 rmind Exp $
# $NetBSD: mi,v 1.1839 2013/09/29 12:11:59 joerg Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -51,6 +51,7 @@
./usr/bin/lex comp-c-bin
./usr/bin/lint comp-c-bin
./usr/bin/lld comp-c-bin lld
./usr/bin/lldb comp-c-bin lldb
./usr/bin/llvm-tblgen comp-c-bin llvm
./usr/bin/lorder comp-util-bin
./usr/bin/luac comp-util-bin

View File

@ -1,4 +1,4 @@
# $NetBSD: sets.subr,v 1.152 2013/09/09 13:04:57 joerg Exp $
# $NetBSD: sets.subr,v 1.153 2013/09/29 12:11:59 joerg Exp $
#
#
@ -179,7 +179,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
# # $NetBSD: sets.subr,v 1.152 2013/09/09 13:04:57 joerg Exp $
# # $NetBSD: sets.subr,v 1.153 2013/09/29 12:11:59 joerg Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root
@ -231,6 +231,7 @@ SUBST="${SUBST};s#@MACHINE@#${MACHINE}#g"
# libcxx ${MKLIBCXX} != no
# libstdcxx ${MKLIBSTDCXX} != no
# lld ${MKLLD} != no
# lldb ${MKLLDB} != no
# llvm ${MKLLVM} != no
# lvm ${MKLVM} != no
# makemandb ${MKMAKEMANDB} != no

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2013/09/02 14:34:55 joerg Exp $
# $NetBSD: Makefile,v 1.5 2013/09/29 12:11:59 joerg Exp $
.include <bsd.init.mk>
@ -19,6 +19,7 @@ checkout:
svn co -r ${COMPILER_RT_REVISION} ${SVN_ROOT}/compiler-rt/trunk \
${COMPILER_RT_SRCDIR}
svn co -r ${LLD_REVISION} ${SVN_ROOT}/lld/trunk ${LLD_SRCDIR}
svn co -r ${LLDB_REVISION} ${SVN_ROOT}/lldb/trunk ${LLDB_SRCDIR}
svn co -r ${LLVM_REVISION} ${SVN_ROOT}/llvm/trunk ${LLVM_SRCDIR}
checkout-mclinker:

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.55 2013/09/21 22:28:12 joerg Exp $
# $NetBSD: Makefile.inc,v 1.56 2013/09/29 12:11:59 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
@ -7,10 +7,11 @@ LLVM_TOPLEVEL_MK=
SVN_ROOT= http://llvm.org/svn/llvm-project
COMMON_REVISION= 191105
COMMON_REVISION= 191390
CLANG_REVISION= ${COMMON_REVISION}
COMPILER_RT_REVISION= ${COMMON_REVISION}
LLD_REVISION= ${COMMON_REVISION}
LLDB_REVISION= ${COMMON_REVISION}
LLVM_REVISION= ${COMMON_REVISION}
MCLINKER_REVISION= deeb2a77b4165827316f88e0a7ba4ba6b743a080
@ -22,14 +23,16 @@ CLANG_VERSION= 3.4
COMPILER_RT_SRCDIR:= ${.PARSEDIR}/dist/compiler-rt
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
LLD_SRCDIR:= ${.PARSEDIR}/dist/lld
LLDB_SRCDIR:= ${.PARSEDIR}/dist/lldb
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
MCLINKER_SRCDIR:= ${.PARSEDIR}/dist/mclinker
LLVM_TOPLEVEL:= ${.PARSEDIR}
CPPFLAGS+= -I. -I${CLANG_SRCDIR}/include -I${LLD_SRCDIR}/include \
-I${LLVM_SRCDIR}/include -I${MCLINKER_SRCDIR}/include \
-I${LLDB_SRCDIR}/include \
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \
-D__STDC_FORMAT_MACROS
-D__STDC_FORMAT_MACROS -DCLANG_ENABLE_STATIC_ANALYZER
.if defined(HOSTLIB) || defined(HOSTPROG)
LLVM_INCLUDE_CONFIG= ${LLVM_TOOLCONF_OBJDIR}/config/include
@ -48,9 +51,12 @@ CLANG_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
MCLINKER_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config/mclinker
LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
.if ${MKLLD:Uno} == "yes"
.if ${MKLLD:Uno} == "yes" || ${MKLLDB:Uno} == "yes"
CPPFLAGS+= -std=c++11
.endif
.if ${MKLLDB:Uno} == "yes"
CPPFLAGS+= -DLLDB_DISABLE_PYTHON
.endif
CXXFLAGS+= -fno-rtti -fno-exceptions
CXXFLAGS+= -ffunction-sections -fdata-sections
LDFLAGS+= -Wl,--gc-sections

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2013/09/02 14:34:55 joerg Exp $
# $NetBSD: Makefile,v 1.12 2013/09/29 12:11:59 joerg Exp $
.include <bsd.own.mk>
@ -11,6 +11,11 @@ SUBDIR+= \
lld
.endif
.if ${MKLLDB} != "no"
SUBDIR+= \
lldb
.endif
.if ${MKMCLINKER} != "no"
SUBDIR+= \
llvm-mcld

151
external/bsd/llvm/bin/lldb/Makefile vendored Normal file
View File

@ -0,0 +1,151 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:11:59 joerg Exp $
PROG_CXX= lldb
NOMAN= yes
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/tools/driver
SRCS= Driver.cpp \
IOChannel.cpp
CPPFLAGS.Driver.cpp+= -Dgetopt_long_only=getopt_long
LLDB_LIBS+= \
API \
Log \
PluginInstructionARM \
PluginProcessGDBRemote \
PluginProcessMachCore \
PluginProcessPOSIX \
PluginProcessUtility \
PluginSymbolFileDWARF \
PluginSymbolFileSymtab \
PluginSymbolVendorELF \
PluginUnwindAssemblyInstEmulation \
PluginUnwindAssemblyX86 \
Breakpoint \
Expression \
Symbol \
Target \
Utility \
HostCommon \
Interpreter \
Commands \
Breakpoint \
Core \
DataFormatters \
PluginABIMacOSX_arm \
PluginABIMacOSX_i386 \
PluginABISysV_x86_64 \
PluginAppleObjCRuntime \
PluginCXXItaniumABI \
PluginDisassemblerLLVM \
PluginDynamicLoaderMacOSXDYLD \
PluginDynamicLoaderPosixDYLD \
PluginDynamicLoaderStatic \
PluginObjectContainerBSDArchive \
PluginObjectContainerMachOArchive \
PluginObjectFileELF \
PluginObjectFileMachO \
PluginObjectFilePECOFF \
PluginPlatformNetBSD \
PluginPlatformGDB \
PluginPlatformLinux \
PluginPlatformMacOSX \
PluginPlatformPOSIX \
PluginProcessElfCore \
PluginProcessNetBSD \
PluginProcessPOSIX \
PluginProcessUtility \
HostCommon \
HostNetBSD \
Interpreter \
CLANG_LIBS+= \
clangFrontend \
clangDriver \
clangSerialization \
clangCodeGen \
clangParse \
clangSema \
clangEdit \
clangAnalysis \
clangAST \
clangLex \
clangBasic
LLVM_LIBS+= \
JIT \
MCJIT \
RuntimeDyld \
ExecutionEngine \
ObjCARC \
ipo \
IRReader \
AsmParser \
BitReader \
BitWriter \
MCDisassembler \
AArch64CodeGen \
AArch64TargetInfo \
AArch64AsmParser \
AArch64MCTargetDesc \
AArch64AsmPrinter \
AArch64Disassembler \
AArch64Utils \
ARMCodeGen \
ARMTargetInfo \
ARMAsmParser \
ARMMCTargetDesc \
ARMAsmPrinter \
ARMDisassembler \
MipsCodeGen \
MipsTargetInfo \
MipsAsmParser \
MipsDisassembler \
MipsMCTargetDesc \
MipsAsmPrinter \
PowerPCCodeGen \
PowerPCAsmParser \
PowerPCTargetInfo \
PowerPCMCTargetDesc \
PowerPCAsmPrinter \
SparcCodeGen \
SparcTargetInfo \
SparcMCTargetDesc \
X86CodeGen \
X86TargetInfo \
X86MCTargetDesc \
X86AsmParser \
X86Disassembler \
X86AsmPrinter \
X86Utils \
Object \
SelectionDAG \
AsmPrinter \
CodeGen \
Vectorize \
Target \
InstCombine \
Instrumentation \
ScalarOpts \
MCDisassembler \
MCParser \
MC \
Linker \
TransformsUtils \
Analysis \
ipa \
IR \
Option \
Support
LDADD+= -ledit -lterminfo -lexecinfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO} ${LIBEXECINFO}
DBG=-g
.include "${.PARSEDIR}/../../link.mk"
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.33 2013/09/02 14:34:55 joerg Exp $
# $NetBSD: Makefile,v 1.34 2013/09/29 12:11:59 joerg Exp $
.include <bsd.own.mk>
@ -78,17 +78,23 @@ SUBDIR+= \
libLLVMX86TargetInfo \
libLLVMX86Utils
.if ${NO_LLVM_DEVELOPER:Uno} == "no" && (${LLVM_DEVELOPER:U} == "yes" || ${MKLLDB} == "yes")
SUBDIR+= \
libLLVMExecutionEngine \
libLLVMJIT \
libLLVMMCJIT \
libLLVMRuntimeDyld
.endif
.if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${LLVM_DEVELOPER:U} == "yes"
SUBDIR+= \
libLLVMDebugInfo \
libLLVMCppBackend \
libLLVMCppBackendInfo \
libLLVMExecutionEngine \
libLLVMHello \
libLLVMInterpreter \
libLLVMJIT \
libLLVMMCJIT \
libLLVMRuntimeDyld
libLLVMLTO
.endif
SUBDIR+= \
@ -159,4 +165,52 @@ SUBDIR+= \
.endif
.if ${NO_LLVM_DEVELOPER:Uno} == "no" && ${MKLLDB} == "yes"
SUBDIR+= \
liblldbAPI \
liblldbBreakpoint \
liblldbCommands \
liblldbCore \
liblldbDataFormatters \
liblldbExpression \
liblldbHostCommon \
liblldbHostNetBSD \
liblldbInterpreter \
liblldbLog \
liblldbPluginABIMacOSX_arm \
liblldbPluginABIMacOSX_i386 \
liblldbPluginABISysV_x86_64 \
liblldbPluginAppleObjCRuntime \
liblldbPluginCXXItaniumABI \
liblldbPluginDisassemblerLLVM \
liblldbPluginDynamicLoaderMacOSXDYLD \
liblldbPluginDynamicLoaderPosixDYLD \
liblldbPluginDynamicLoaderStatic \
liblldbPluginInstructionARM \
liblldbPluginObjectContainerBSDArchive \
liblldbPluginObjectContainerMachOArchive \
liblldbPluginObjectFileELF \
liblldbPluginObjectFileMachO \
liblldbPluginObjectFilePECOFF \
liblldbPluginPlatformNetBSD \
liblldbPluginPlatformGDB \
liblldbPluginPlatformLinux \
liblldbPluginPlatformMacOSX \
liblldbPluginPlatformPOSIX \
liblldbPluginProcessElfCore \
liblldbPluginProcessNetBSD \
liblldbPluginProcessGDBRemote \
liblldbPluginProcessMachCore \
liblldbPluginProcessPOSIX \
liblldbPluginProcessUtility \
liblldbPluginSymbolFileDWARF \
liblldbPluginSymbolFileSymtab \
liblldbPluginSymbolVendorELF \
liblldbPluginUnwindAssemblyInstEmulation \
liblldbPluginUnwindAssemblyX86 \
liblldbSymbol \
liblldbTarget \
liblldbUtility
.endif
.include <bsd.subdir.mk>

View File

@ -1,5 +1,9 @@
# $NetBSD: Makefile.inc,v 1.1 2011/02/06 01:13:52 joerg Exp $
# $NetBSD: Makefile.inc,v 1.2 2013/09/29 12:11:59 joerg Exp $
LIBISPRIVATE= yes
.if !empty(LIB:Mlldb*)
CPPFLAGS+= -I${LLDB_SRCDIR}/source
.endif
.include "${.PARSEDIR}/../Makefile.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2013/07/07 21:36:44 joerg Exp $
# $NetBSD: Makefile,v 1.5 2013/09/29 12:12:00 joerg Exp $
LIB= LLVMDebugInfo
@ -18,7 +18,9 @@ SRCS+= DIContext.cpp \
DWARFDebugLine.cpp \
DWARFDebugLoc.cpp \
DWARFDebugRangeList.cpp \
DWARFFormValue.cpp
DWARFFormValue.cpp \
DWARFTypeUnit.cpp \
DWARFUnit.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= LLVMLTO
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/lib/LTO
SRCS+= LTOCodeGenerator.cpp \
LTOModule.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,61 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbAPI
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/API
SRCS+= SBAddress.cpp \
SBBlock.cpp \
SBBreakpoint.cpp \
SBBreakpointLocation.cpp \
SBBroadcaster.cpp \
SBCommandInterpreter.cpp \
SBCommandReturnObject.cpp \
SBCommunication.cpp \
SBCompileUnit.cpp \
SBData.cpp \
SBDebugger.cpp \
SBDeclaration.cpp \
SBError.cpp \
SBEvent.cpp \
SBExpressionOptions.cpp \
SBFileSpec.cpp \
SBFileSpecList.cpp \
SBFrame.cpp \
SBFunction.cpp \
SBHostOS.cpp \
SBInputReader.cpp \
SBInstruction.cpp \
SBInstructionList.cpp \
SBLineEntry.cpp \
SBListener.cpp \
SBModule.cpp \
SBModuleSpec.cpp \
SBProcess.cpp \
SBSection.cpp \
SBSourceManager.cpp \
SBStream.cpp \
SBStringList.cpp \
SBSymbol.cpp \
SBSymbolContext.cpp \
SBSymbolContextList.cpp \
SBTarget.cpp \
SBThread.cpp \
SBType.cpp \
SBTypeCategory.cpp \
SBTypeFilter.cpp \
SBTypeFormat.cpp \
SBTypeNameSpecifier.cpp \
SBTypeSummary.cpp \
SBTypeSynthetic.cpp \
SBValue.cpp \
SBValueList.cpp \
SBWatchpoint.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbBreakpoint
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Breakpoint
SRCS+= Breakpoint.cpp \
BreakpointID.cpp \
BreakpointIDList.cpp \
BreakpointList.cpp \
BreakpointLocation.cpp \
BreakpointLocationCollection.cpp \
BreakpointLocationList.cpp \
BreakpointOptions.cpp \
BreakpointResolver.cpp \
BreakpointResolverAddress.cpp \
BreakpointResolverFileLine.cpp \
BreakpointResolverFileRegex.cpp \
BreakpointResolverName.cpp \
BreakpointSite.cpp \
BreakpointSiteList.cpp \
Stoppoint.cpp \
StoppointCallbackContext.cpp \
StoppointLocation.cpp \
Watchpoint.cpp \
WatchpointList.cpp \
WatchpointOptions.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbCommands
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Commands
SRCS+= CommandCompletions.cpp \
CommandObjectApropos.cpp \
CommandObjectArgs.cpp \
CommandObjectBreakpoint.cpp \
CommandObjectBreakpointCommand.cpp \
CommandObjectCommands.cpp \
CommandObjectDisassemble.cpp \
CommandObjectExpression.cpp \
CommandObjectFrame.cpp \
CommandObjectHelp.cpp \
CommandObjectLog.cpp \
CommandObjectMemory.cpp \
CommandObjectMultiword.cpp \
CommandObjectPlatform.cpp \
CommandObjectPlugin.cpp \
CommandObjectProcess.cpp \
CommandObjectQuit.cpp \
CommandObjectRegister.cpp \
CommandObjectSettings.cpp \
CommandObjectSource.cpp \
CommandObjectSyntax.cpp \
CommandObjectTarget.cpp \
CommandObjectThread.cpp \
CommandObjectType.cpp \
CommandObjectVersion.cpp \
CommandObjectWatchpoint.cpp \
CommandObjectWatchpointCommand.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,85 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbCore
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Core
SRCS+= Address.cpp \
AddressRange.cpp \
AddressResolver.cpp \
AddressResolverFileLine.cpp \
AddressResolverName.cpp \
ArchSpec.cpp \
Baton.cpp \
Broadcaster.cpp \
Communication.cpp \
Connection.cpp \
ConnectionFileDescriptor.cpp \
ConnectionMachPort.cpp \
ConnectionSharedMemory.cpp \
ConstString.cpp \
DataBufferHeap.cpp \
DataBufferMemoryMap.cpp \
DataEncoder.cpp \
DataExtractor.cpp \
Debugger.cpp \
Disassembler.cpp \
DynamicLoader.cpp \
EmulateInstruction.cpp \
Error.cpp \
Event.cpp \
FileLineResolver.cpp \
FileSpecList.cpp \
History.cpp \
InputReader.cpp \
InputReaderEZ.cpp \
InputReaderStack.cpp \
Language.cpp \
Listener.cpp \
Log.cpp \
Mangled.cpp \
Module.cpp \
ModuleChild.cpp \
ModuleList.cpp \
Opcode.cpp \
PluginManager.cpp \
RegisterValue.cpp \
RegularExpression.cpp \
Scalar.cpp \
SearchFilter.cpp \
Section.cpp \
SourceManager.cpp \
State.cpp \
Stream.cpp \
StreamAsynchronousIO.cpp \
StreamCallback.cpp \
StreamFile.cpp \
StreamGDBRemote.cpp \
StreamString.cpp \
StringList.cpp \
Timer.cpp \
UserID.cpp \
UserSettingsController.cpp \
UUID.cpp \
Value.cpp \
ValueObject.cpp \
ValueObjectCast.cpp \
ValueObjectChild.cpp \
ValueObjectConstResult.cpp \
ValueObjectConstResultChild.cpp \
ValueObjectConstResultImpl.cpp \
ValueObjectDynamicValue.cpp \
ValueObjectList.cpp \
ValueObjectMemory.cpp \
ValueObjectRegister.cpp \
ValueObjectSyntheticFilter.cpp \
ValueObjectVariable.cpp \
VMRange.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbDataFormatters
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/DataFormatters
SRCS+= CF.cpp \
Cocoa.cpp \
CXXFormatterFunctions.cpp \
DataVisualization.cpp \
FormatCache.cpp \
FormatClasses.cpp \
FormatManager.cpp \
LibCxx.cpp \
LibCxxList.cpp \
LibCxxMap.cpp \
LibCxxUnorderedMap.cpp \
LibStdcpp.cpp \
NSArray.cpp \
NSDictionary.cpp \
NSSet.cpp \
TypeCategory.cpp \
TypeCategoryMap.cpp \
TypeFormat.cpp \
TypeSummary.cpp \
TypeSynthetic.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbExpression
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Expression
SRCS+= ASTDumper.cpp \
ASTResultSynthesizer.cpp \
ASTStructExtractor.cpp \
ClangASTSource.cpp \
ClangExpressionDeclMap.cpp \
ClangExpressionParser.cpp \
ClangExpressionVariable.cpp \
ClangFunction.cpp \
ClangPersistentVariables.cpp \
ClangUserExpression.cpp \
ClangUtilityFunction.cpp \
DWARFExpression.cpp \
ExpressionSourceCode.cpp \
IRDynamicChecks.cpp \
IRExecutionUnit.cpp \
IRForTarget.cpp \
IRInterpreter.cpp \
IRMemoryMap.cpp \
Materializer.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbHostCommon
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Host/common
SRCS+= Condition.cpp \
DynamicLibrary.cpp \
File.cpp \
FileSpec.cpp \
Host.cpp \
Mutex.cpp \
OptionParser.cpp \
ProcessRunLock.cpp \
SocketAddress.cpp \
Symbols.cpp \
Terminal.cpp \
TimeValue.cpp
CPPFLAGS.OptionParser.cpp+= -Dgetopt_long_only=getopt_long
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbHostNetBSD
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Host/freebsd
SRCS+= Host.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,56 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbInterpreter
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Interpreter
SRCS+= Args.cpp \
CommandHistory.cpp \
CommandInterpreter.cpp \
CommandObject.cpp \
CommandObjectRegexCommand.cpp \
CommandObjectScript.cpp \
CommandReturnObject.cpp \
OptionGroupArchitecture.cpp \
OptionGroupBoolean.cpp \
OptionGroupFile.cpp \
OptionGroupFormat.cpp \
OptionGroupOutputFile.cpp \
OptionGroupPlatform.cpp \
OptionGroupString.cpp \
OptionGroupUInt64.cpp \
OptionGroupUUID.cpp \
OptionGroupValueObjectDisplay.cpp \
OptionValue.cpp \
OptionValueArch.cpp \
OptionValueArgs.cpp \
OptionValueArray.cpp \
OptionValueBoolean.cpp \
OptionValueDictionary.cpp \
OptionValueEnumeration.cpp \
OptionValueFileSpec.cpp \
OptionValueFileSpecLIst.cpp \
OptionValueFormat.cpp \
OptionValuePathMappings.cpp \
OptionValueProperties.cpp \
OptionValueRegex.cpp \
OptionValueSInt64.cpp \
OptionValueString.cpp \
OptionValueUInt64.cpp \
OptionValueUUID.cpp \
OptionGroupVariable.cpp \
OptionGroupWatchpoint.cpp \
Options.cpp \
Property.cpp \
PythonDataObjects.cpp \
ScriptInterpreter.cpp \
ScriptInterpreterNone.cpp \
ScriptInterpreterPython.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbLog
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source
SRCS+= lldb.cpp \
lldb-log.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbPluginABIMacOSX_arm
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ABI/MacOSX-arm
SRCS+= ABIMacOSX_arm.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbPluginABIMacOSX_i386
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ABI/MacOSX-i386
SRCS+= ABIMacOSX_i386.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbPluginABISysV_x86_64
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ABI/SysV-x86_64
SRCS+= ABISysV_x86_64.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,20 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbPluginAppleObjCRuntime
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime
SRCS+= AppleObjCRuntime.cpp \
AppleObjCRuntimeV1.cpp \
AppleObjCRuntimeV2.cpp \
AppleObjCTrampolineHandler.cpp \
AppleObjCTypeVendor.cpp \
AppleThreadPlanStepThroughObjCTrampoline.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:00 joerg Exp $
LIB= lldbPluginCXXItaniumABI
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI
SRCS+= ItaniumABILanguageRuntime.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginDisassemblerLLVM
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Disassembler/llvm
SRCS+= DisassemblerLLVMC.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginDynamicLoaderMacOSXDYLD
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/DynamicLoader/MacOSX-DYLD
SRCS+= DynamicLoaderMacOSXDYLD.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginDynamicLoaderPosixDYLD
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/DynamicLoader/POSIX-DYLD
SRCS+= AuxVector.cpp \
DYLDRendezvous.cpp \
DynamicLoaderPOSIXDYLD.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginDynamicLoaderStatic
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/DynamicLoader/Static
SRCS+= DynamicLoaderStatic.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginInstructionARM
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Instruction/ARM
SRCS+= EmulateInstructionARM.cpp \
EmulationStateARM.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginObjectContainerBSDArchive
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectContainer/BSD-Archive
SRCS+= ObjectContainerBSDArchive.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginObjectContainerMachOArchive
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectContainer/Universal-Mach-O
SRCS+= ObjectContainerUniversalMachO.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginObjectFileELF
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectFile/ELF
SRCS+= ELFHeader.cpp \
ObjectFileELF.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginObjectFileMachO
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectFile/Mach-O
SRCS+= ObjectFileMachO.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginObjectFilePECOFF
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/ObjectFile/PECOFF
SRCS+= ObjectFilePECOFF.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginPlatformGDB
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Platform/gdb-server
SRCS+= PlatformRemoteGDBServer.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginPlatformLinux
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Platform/Linux
SRCS+= PlatformLinux.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginPlatformMacOSX
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Platform/MacOSX
SRCS+= PlatformDarwin.cpp \
PlatformDarwinKernel.cpp \
PlatformiOSSimulator.cpp \
PlatformMacOSX.cpp \
PlatformRemoteiOS.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginPlatformNetBSD
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Platform/FreeBSD
SRCS+= PlatformFreeBSD.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginPlatformPOSIX
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Platform/POSIX
SRCS+= PlatformPOSIX.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:01 joerg Exp $
LIB= lldbPluginProcessElfCore
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/elf-core
SRCS+= ProcessElfCore.cpp \
ThreadElfCore.cpp \
RegisterContextPOSIXCore_x86_64.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginProcessGDBRemote
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/gdb-remote
SRCS+= GDBRemoteCommunication.cpp \
GDBRemoteCommunicationClient.cpp \
GDBRemoteCommunicationServer.cpp \
GDBRemoteRegisterContext.cpp \
ProcessGDBRemote.cpp \
ProcessGDBRemoteLog.cpp \
ThreadGDBRemote.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginProcessMachCore
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/mach-core
SRCS+= ProcessMachCore.cpp \
ThreadMachCore.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginProcessNetBSD
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
SRCS+= ProcessFreeBSD.cpp \
ProcessMonitor.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginProcessPOSIX
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/POSIX
CPPFLAGS.POSIXThread.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
CPPFLAGS.ProcessPOSIX.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
CPPFLAGS.RegisterContextPOSIX_i386.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
CPPFLAGS.RegisterContextPOSIX_x86_64.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
CPPFLAGS.RegisterContextPOSIXProcessMonitor_i386.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
CPPFLAGS.RegisterContextPOSIXProcessMonitor_x86_64.cpp= -I${LLDB_SRCDIR}/source/Plugins/Process/FreeBSD
SRCS+= POSIXStopInfo.cpp \
POSIXThread.cpp \
ProcessMessage.cpp \
ProcessPOSIX.cpp \
ProcessPOSIXLog.cpp \
RegisterContextPOSIX_i386.cpp \
RegisterContextPOSIX_x86_64.cpp \
RegisterContextFreeBSD_x86_64.cpp \
RegisterContextLinux_x86_64.cpp \
RegisterContextPOSIXProcessMonitor_i386.cpp \
RegisterContextPOSIXProcessMonitor_x86_64.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginProcessUtility
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/Process/Utility
SRCS+= DynamicRegisterInfo.cpp \
InferiorCallPOSIX.cpp \
RegisterContextDarwin_arm.cpp \
RegisterContextDarwin_i386.cpp \
RegisterContextDarwin_x86_64.cpp \
RegisterContextDummy.cpp \
RegisterContextLLDB.cpp \
RegisterContextMach_arm.cpp \
RegisterContextMach_i386.cpp \
RegisterContextMach_x86_64.cpp \
RegisterContextMacOSXFrameBackchain.cpp \
RegisterContextMemory.cpp \
RegisterContextThreadMemory.cpp \
StopInfoMachException.cpp \
ThreadMemory.cpp \
UnwindLLDB.cpp \
UnwindMacOSXFrameBackchain.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginSymbolFileDWARF
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/SymbolFile/DWARF
SRCS+= DWARFAbbreviationDeclaration.cpp \
DWARFCompileUnit.cpp \
DWARFDebugAbbrev.cpp \
DWARFDebugAranges.cpp \
DWARFDebugArangeSet.cpp \
DWARFDebugInfo.cpp \
DWARFDebugInfoEntry.cpp \
DWARFDebugLine.cpp \
DWARFDebugMacinfo.cpp \
DWARFDebugMacinfoEntry.cpp \
DWARFDebugPubnames.cpp \
DWARFDebugPubnamesSet.cpp \
DWARFDebugRanges.cpp \
DWARFDeclContext.cpp \
DWARFDefines.cpp \
DWARFDIECollection.cpp \
DWARFFormValue.cpp \
DWARFLocationDescription.cpp \
DWARFLocationList.cpp \
LogChannelDWARF.cpp \
NameToDIE.cpp \
SymbolFileDWARF.cpp \
SymbolFileDWARFDebugMap.cpp \
UniqueDWARFASTType.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginSymbolFileSymtab
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/SymbolFile/Symtab
SRCS+= SymbolFileSymtab.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginSymbolVendorELF
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/SymbolVendor/ELF
SRCS+= SymbolVendorELF.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginUnwindAssemblyInstEmulation
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/UnwindAssembly/InstEmulation
SRCS+= UnwindAssemblyInstEmulation.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbPluginUnwindAssemblyX86
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Plugins/UnwindAssembly/x86
SRCS+= UnwindAssembly-x86.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,41 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbSymbol
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Symbol
SRCS+= Block.cpp \
ClangASTContext.cpp \
ClangASTImporter.cpp \
ClangASTType.cpp \
ClangExternalASTSourceCallbacks.cpp \
ClangExternalASTSourceCommon.cpp \
ClangNamespaceDecl.cpp \
CompileUnit.cpp \
Declaration.cpp \
DWARFCallFrameInfo.cpp \
Function.cpp \
FuncUnwinders.cpp \
LineEntry.cpp \
LineTable.cpp \
ObjectFile.cpp \
Symbol.cpp \
SymbolContext.cpp \
SymbolFile.cpp \
SymbolVendor.cpp \
Symtab.cpp \
Type.cpp \
TypeList.cpp \
UnwindPlan.cpp \
UnwindTable.cpp \
Variable.cpp \
VariableList.cpp \
VerifyDecl.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbTarget
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Target
SRCS+= ABI.cpp \
CPPLanguageRuntime.cpp \
ExecutionContext.cpp \
LanguageRuntime.cpp \
Memory.cpp \
ObjCLanguageRuntime.cpp \
OperatingSystem.cpp \
PathMappingList.cpp \
Platform.cpp \
Process.cpp \
RegisterContext.cpp \
SectionLoadList.cpp \
StackFrame.cpp \
StackFrameList.cpp \
StackID.cpp \
StopInfo.cpp \
Target.cpp \
TargetList.cpp \
Thread.cpp \
ThreadList.cpp \
ThreadPlan.cpp \
ThreadPlanBase.cpp \
ThreadPlanCallFunction.cpp \
ThreadPlanCallUserExpression.cpp \
ThreadPlanRunToAddress.cpp \
ThreadPlanShouldStopHere.cpp \
ThreadPlanStepInRange.cpp \
ThreadPlanStepInstruction.cpp \
ThreadPlanStepOut.cpp \
ThreadPlanStepOverBreakpoint.cpp \
ThreadPlanStepOverRange.cpp \
ThreadPlanStepRange.cpp \
ThreadPlanStepThrough.cpp \
ThreadPlanStepUntil.cpp \
ThreadPlanTracer.cpp \
ThreadSpec.cpp \
UnixSignals.cpp \
UnwindAssembly.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2013/09/29 12:12:02 joerg Exp $
LIB= lldbUtility
.include <bsd.init.mk>
.PATH: ${LLDB_SRCDIR}/source/Utility
SRCS+= ARM_DWARF_Registers.cpp \
KQueue.cpp \
PseudoTerminal.cpp \
Range.cpp \
SharingPtr.cpp \
StringExtractor.cpp \
StringExtractorGDBRemote.cpp \
TimeSpecTimeout.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: link.mk,v 1.4 2013/09/02 14:34:55 joerg Exp $
# $NetBSD: link.mk,v 1.5 2013/09/29 12:11:59 joerg Exp $
.include <bsd.own.mk>
@ -14,6 +14,12 @@ LDADD+= -L${MCLINKER_OBJDIR.${l}} -lMCLinker${l}
DPADD+= ${MCLINKER_OBJDIR.${l}}/libMCLinker${l}.a
.endfor
.for l in ${LLDB_LIBS}
LLDB_OBJDIR.${l}!= cd ${LIB_BASE}/liblldb${l} && ${PRINTOBJDIR}
LDADD+= -L${LLDB_OBJDIR.${l}} -llldb${l}
DPADD+= ${LLDB_OBJDIR.${l}}/liblldb${l}.a
.endfor
.for l in ${CLANG_LIBS}
CLANG_OBJDIR.${l}!= cd ${LIB_BASE}/lib${l} && ${PRINTOBJDIR}
LDADD+= -L${CLANG_OBJDIR.${l}} -l${l}

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.750 2013/09/02 14:34:55 joerg Exp $
# $NetBSD: bsd.own.mk,v 1.751 2013/09/29 12:11:59 joerg Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@ -904,7 +904,7 @@ _MKVARS.no= \
MKBSDGREP MKBSDTAR \
MKCATPAGES MKCRYPTO_RC5 MKDEBUG \
MKDEBUGLIB MKDTRACE MKEXTSRC \
MKKYUA MKLLD MKLINT \
MKKYUA MKLLD MKLLDB MKLINT \
MKMANZ MKMCLINKER MKOBJDIRS \
MKLIBCXX MKLLVM MKPCC \
MKPIGZGZIP \