xref: /haiku/src/kits/debugger/Jamfile (revision 17954f2e22cbe96c1a8da611a86a184579a6bfd3)
1fce4895dSRene GollentSubDir HAIKU_TOP src kits debugger ;
2fce4895dSRene Gollent
3fce4895dSRene GollentUseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
4fce4895dSRene Gollent
5fce4895dSRene Gollent# for syscall_numbers.h
6fce4895dSRene GollentUseHeaders [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
7fce4895dSRene Gollent	system kernel ] ;
8fce4895dSRene Gollent
9fce4895dSRene GollentUsePrivateHeaders debugger ;
10fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger arch ] ;
11fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger controllers ] ;
12fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger debug_info ] ;
13fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger debug_managers ] ;
14fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger elf ] ;
15fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger files ] ;
16fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger ids ] ;
17fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger model ] ;
18fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger settings ] ;
19fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger settings generic ] ;
20fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger source_language ] ;
21fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger source_language c_family ] ;
22fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger target_host_interface ] ;
23fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger types ] ;
24fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger user_interface ] ;
25fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger user_interface util ] ;
26fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger util ] ;
27fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger value ] ;
28fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger value value_formatters ] ;
29fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger value value_nodes ] ;
30fce4895dSRene GollentUsePrivateHeaders [ FDirName debugger value values ] ;
31fce4895dSRene Gollent
329968f343SRene GollentUsePrivateHeaders app debug interface kernel package shared libroot ;
339968f343SRene GollentUsePrivateSystemHeaders ;
349968f343SRene Gollent
35fce4895dSRene GollentLINKFLAGS += -Wl,--exclude-libs,ALL ;
36fce4895dSRene Gollent
37fce4895dSRene GollentSubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
38fce4895dSRene Gollent
39fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
40fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
41fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86_64 ] ;
42fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) controllers ] ;
43fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
44fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info loading_state_handlers ] ;
45fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_managers ] ;
46fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
47b02ee147SRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface core ] ;
48b02ee147SRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface local ] ;
49*17954f2eSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface remote ] ;
50fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
51fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
52fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
53fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) jobs ] ;
54fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
55fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
56fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) settings generic ] ;
57fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
58fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language c_family ] ;
59fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language x86 ] ;
60fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface ] ;
61fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface local ] ;
62fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
63fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
64fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface util ] ;
65fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
66fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value ] ;
67fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value type_handlers ] ;
68fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value value_formatters ] ;
69fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value value_nodes ] ;
70fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value values ] ;
71fce4895dSRene Gollent
72fce4895dSRene GollentSubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
73fce4895dSRene GollentSubDirHdrs [ FDirName $(SUBDIR) dwarf ] ;
74fce4895dSRene GollentSubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
75fce4895dSRene Gollent
76fce4895dSRene GollentSourceHdrs
77fce4895dSRene Gollent	DwarfFunctionDebugInfo.cpp
78fce4895dSRene Gollent	DwarfImageDebugInfo.cpp
79fce4895dSRene Gollent	DwarfStackFrameDebugInfo.cpp
80fce4895dSRene Gollent	DwarfTeamDebugInfo.cpp
81fce4895dSRene Gollent	DwarfTypeFactory.cpp
82fce4895dSRene Gollent	DwarfTypes.cpp
83fce4895dSRene Gollent	: [ FDirName $(SUBDIR) dwarf ]
84fce4895dSRene Gollent;
85fce4895dSRene Gollent
86fce4895dSRene Gollentlocal sources =
87fce4895dSRene Gollent	DebuggerGlobals.cpp
88fce4895dSRene Gollent
89fce4895dSRene Gollent	# arch
90fce4895dSRene Gollent	Architecture.cpp
91fce4895dSRene Gollent	CpuState.cpp
92fce4895dSRene Gollent	InstructionInfo.cpp
93fce4895dSRene Gollent	Register.cpp
94fce4895dSRene Gollent	RegisterMap.cpp
95fce4895dSRene Gollent
96fce4895dSRene Gollent	# arch/x86
97fce4895dSRene Gollent	ArchitectureX86.cpp
98fce4895dSRene Gollent	CpuStateX86.cpp
99fce4895dSRene Gollent
100fce4895dSRene Gollent	# arch/x86_64
101fce4895dSRene Gollent	ArchitectureX8664.cpp
102fce4895dSRene Gollent	CpuStateX8664.cpp
103fce4895dSRene Gollent
104fce4895dSRene Gollent	# controllers
105fce4895dSRene Gollent	DebugReportGenerator.cpp
106fce4895dSRene Gollent	TeamDebugger.cpp
107fce4895dSRene Gollent	ThreadHandler.cpp
108fce4895dSRene Gollent
109fce4895dSRene Gollent	# debug_managers
110fce4895dSRene Gollent	BreakpointManager.cpp
111fce4895dSRene Gollent	TeamMemoryBlockManager.cpp
112fce4895dSRene Gollent	WatchpointManager.cpp
113fce4895dSRene Gollent
114fce4895dSRene Gollent	# debug_info
115fce4895dSRene Gollent	BasicFunctionDebugInfo.cpp
116fce4895dSRene Gollent	DebuggerImageDebugInfo.cpp
117fce4895dSRene Gollent	DebuggerTeamDebugInfo.cpp
118fce4895dSRene Gollent	DwarfFunctionDebugInfo.cpp
119fce4895dSRene Gollent	DwarfImageDebugInfo.cpp
120fce4895dSRene Gollent	DwarfImageDebugInfoLoadingState.cpp
121fce4895dSRene Gollent	DwarfStackFrameDebugInfo.cpp
122fce4895dSRene Gollent	DwarfTeamDebugInfo.cpp
123fce4895dSRene Gollent	DwarfTypeFactory.cpp
124fce4895dSRene Gollent	DwarfTypes.cpp
125fce4895dSRene Gollent	Function.cpp
126fce4895dSRene Gollent	FunctionDebugInfo.cpp
127fce4895dSRene Gollent	FunctionInstance.cpp
128fce4895dSRene Gollent	GlobalTypeLookup.cpp
129fce4895dSRene Gollent	ImageDebugInfo.cpp
130fce4895dSRene Gollent	ImageDebugInfoLoadingState.cpp
131fce4895dSRene Gollent	ImageDebugInfoProvider.cpp
132fce4895dSRene Gollent	ImageDebugLoadingStateHandler.cpp
133fce4895dSRene Gollent	ImageDebugLoadingStateHandlerRoster.cpp
134fce4895dSRene Gollent	NoOpStackFrameDebugInfo.cpp
135fce4895dSRene Gollent	SpecificImageDebugInfo.cpp
136fce4895dSRene Gollent	SpecificImageDebugInfoLoadingState.cpp
137fce4895dSRene Gollent	SpecificTeamDebugInfo.cpp
138fce4895dSRene Gollent	StackFrameDebugInfo.cpp
139fce4895dSRene Gollent	TeamDebugInfo.cpp
140fce4895dSRene Gollent
141fce4895dSRene Gollent	# debug_info/loading_state_handlers
142fce4895dSRene Gollent	DwarfLoadingStateHandler.cpp
143fce4895dSRene Gollent
144fce4895dSRene Gollent	# debugger_interface
145fce4895dSRene Gollent	DebugEvent.cpp
146fce4895dSRene Gollent	DebuggerInterface.cpp
147fce4895dSRene Gollent
148b02ee147SRene Gollent	# debugger_interface/core
149fce4895dSRene Gollent	CoreFileDebuggerInterface.cpp
150b02ee147SRene Gollent
151b02ee147SRene Gollent	# debugger_interface/local
152fce4895dSRene Gollent	LocalDebuggerInterface.cpp
153fce4895dSRene Gollent
154*17954f2eSRene Gollent	# debugger_interface/remote
155*17954f2eSRene Gollent	RemoteDebugRequest.cpp
156*17954f2eSRene Gollent
157fce4895dSRene Gollent	# elf
158fce4895dSRene Gollent	CoreFile.cpp
159fce4895dSRene Gollent	ElfFile.cpp
160fce4895dSRene Gollent	ElfSymbolLookup.cpp
161fce4895dSRene Gollent
162fce4895dSRene Gollent	# files
163fce4895dSRene Gollent	FileManager.cpp
164fce4895dSRene Gollent	LocatableDirectory.cpp
165fce4895dSRene Gollent	LocatableEntry.cpp
166fce4895dSRene Gollent	LocatableFile.cpp
167fce4895dSRene Gollent	SourceFile.cpp
168fce4895dSRene Gollent
169fce4895dSRene Gollent	# ids
170fce4895dSRene Gollent	FunctionID.cpp
171fce4895dSRene Gollent	FunctionParameterID.cpp
172fce4895dSRene Gollent	LocalVariableID.cpp
173fce4895dSRene Gollent	ObjectID.cpp
174fce4895dSRene Gollent	ReturnValueID.cpp
175fce4895dSRene Gollent
176fce4895dSRene Gollent	# jobs
177fce4895dSRene Gollent	ExpressionEvaluationJob.cpp
178fce4895dSRene Gollent	GetCPUStateJob.cpp
179fce4895dSRene Gollent	GetStackTraceJob.cpp
180fce4895dSRene Gollent	GetThreadStateJob.cpp
181fce4895dSRene Gollent	LoadImageDebugInfoJob.cpp
182fce4895dSRene Gollent	LoadSourceCodeJob.cpp
183fce4895dSRene Gollent	ResolveValueNodeJob.cpp
184fce4895dSRene Gollent	RetrieveMemoryBlockJob.cpp
185fce4895dSRene Gollent	WriteCoreFileJob.cpp
186fce4895dSRene Gollent	WriteMemoryJob.cpp
187fce4895dSRene Gollent	WriteValueNodeJob.cpp
188fce4895dSRene Gollent
189fce4895dSRene Gollent	# model
190fce4895dSRene Gollent	AreaInfo.cpp
191fce4895dSRene Gollent	Breakpoint.cpp
192fce4895dSRene Gollent	DisassembledCode.cpp
193fce4895dSRene Gollent	ExpressionInfo.cpp
194fce4895dSRene Gollent	ExpressionValues.cpp
195fce4895dSRene Gollent	FileSourceCode.cpp
196fce4895dSRene Gollent	Image.cpp
197fce4895dSRene Gollent	ImageInfo.cpp
198fce4895dSRene Gollent	LineDataSource.cpp
199fce4895dSRene Gollent	ReturnValueInfo.cpp
200fce4895dSRene Gollent	SemaphoreInfo.cpp
201fce4895dSRene Gollent	SignalInfo.cpp
202fce4895dSRene Gollent	SourceCode.cpp
203fce4895dSRene Gollent	StackFrame.cpp
204fce4895dSRene Gollent	StackFrameValues.cpp
205fce4895dSRene Gollent	StackFrameValueInfos.cpp
206fce4895dSRene Gollent	StackTrace.cpp
207fce4895dSRene Gollent	Statement.cpp
208fce4895dSRene Gollent	SymbolInfo.cpp
209fce4895dSRene Gollent	SyntheticPrimitiveType.cpp
210fce4895dSRene Gollent	SyscallInfo.cpp
211fce4895dSRene Gollent	SystemInfo.cpp
212fce4895dSRene Gollent	TargetHost.cpp
213fce4895dSRene Gollent	Team.cpp
214fce4895dSRene Gollent	TeamInfo.cpp
215fce4895dSRene Gollent	TeamMemory.cpp
216fce4895dSRene Gollent	TeamMemoryBlock.cpp
217fce4895dSRene Gollent	TeamTypeInformation.cpp
218fce4895dSRene Gollent	Thread.cpp
219fce4895dSRene Gollent	ThreadInfo.cpp
220fce4895dSRene Gollent	Type.cpp
221fce4895dSRene Gollent	TypeComponentPath.cpp
222fce4895dSRene Gollent	TypeLookupConstraints.cpp
223fce4895dSRene Gollent	UserBreakpoint.cpp
224fce4895dSRene Gollent	Variable.cpp
225fce4895dSRene Gollent	Watchpoint.cpp
226fce4895dSRene Gollent
227fce4895dSRene Gollent	# settings
228fce4895dSRene Gollent	BreakpointSetting.cpp
229fce4895dSRene Gollent	NoOpSettingsManager.cpp
230fce4895dSRene Gollent	SettingsManager.cpp
231fce4895dSRene Gollent	TeamFileManagerSettings.cpp
232fce4895dSRene Gollent	TeamSettings.cpp
233fce4895dSRene Gollent	TeamSignalSettings.cpp
234fce4895dSRene Gollent	TeamUiSettings.cpp
235fce4895dSRene Gollent	TeamUiSettingsFactory.cpp
236fce4895dSRene Gollent
237fce4895dSRene Gollent	# settings/generic
238fce4895dSRene Gollent	Setting.cpp
239fce4895dSRene Gollent	Settings.cpp
240fce4895dSRene Gollent	SettingsDescription.cpp
241fce4895dSRene Gollent
242fce4895dSRene Gollent	# source_language
243fce4895dSRene Gollent	SourceLanguage.cpp
244fce4895dSRene Gollent	SyntaxHighlighter.cpp
245fce4895dSRene Gollent	UnsupportedLanguage.cpp
246fce4895dSRene Gollent
247fce4895dSRene Gollent	# source_language/c_family
248fce4895dSRene Gollent	CLanguage.cpp
249fce4895dSRene Gollent	CLanguageExpressionEvaluator.cpp
250fce4895dSRene Gollent	CLanguageFamily.cpp
251fce4895dSRene Gollent	CLanguageFamilySyntaxHighlighter.cpp
252fce4895dSRene Gollent	CLanguageFamilySyntaxHighlightInfo.cpp
253fce4895dSRene Gollent	CLanguageTokenizer.cpp
254fce4895dSRene Gollent	CppLanguage.cpp
255fce4895dSRene Gollent
256fce4895dSRene Gollent	# source_language/x86
257fce4895dSRene Gollent	X86AssemblyLanguage.cpp
258fce4895dSRene Gollent
259fce4895dSRene Gollent	# target_host_interface
260fce4895dSRene Gollent	TargetHostInterface.cpp
261fce4895dSRene Gollent	TargetHostInterfaceInfo.cpp
262fce4895dSRene Gollent	TargetHostInterfaceRoster.cpp
263fce4895dSRene Gollent
264fce4895dSRene Gollent	# target_host_interface/local
265fce4895dSRene Gollent	LocalTargetHostInterface.cpp
266fce4895dSRene Gollent	LocalTargetHostInterfaceInfo.cpp
267fce4895dSRene Gollent
268fce4895dSRene Gollent	# types
269fce4895dSRene Gollent	ArrayIndexPath.cpp
270fce4895dSRene Gollent	TargetAddressRangeList.cpp
271fce4895dSRene Gollent	ValueLocation.cpp
272fce4895dSRene Gollent
273fce4895dSRene Gollent	# user_interface
274fce4895dSRene Gollent	UserInterface.cpp
275fce4895dSRene Gollent
276fce4895dSRene Gollent	# user_interface/util
277fce4895dSRene Gollent	UiUtils.cpp
278fce4895dSRene Gollent
279fce4895dSRene Gollent	# util
280fce4895dSRene Gollent	ArchivingUtils.cpp
281fce4895dSRene Gollent	BitBuffer.cpp
282fce4895dSRene Gollent	IntegerFormatter.cpp
283fce4895dSRene Gollent	RangeList.cpp
284fce4895dSRene Gollent	StringUtils.cpp
285fce4895dSRene Gollent	Worker.cpp
286fce4895dSRene Gollent
287fce4895dSRene Gollent	# value
288fce4895dSRene Gollent	TypeHandler.cpp
289fce4895dSRene Gollent	TypeHandlerRoster.cpp
290fce4895dSRene Gollent	Value.cpp
291fce4895dSRene Gollent	ValueFormatter.cpp
292fce4895dSRene Gollent	ValueLoader.cpp
293fce4895dSRene Gollent	ValueNode.cpp
294fce4895dSRene Gollent	ValueNodeContainer.cpp
295fce4895dSRene Gollent	ValueNodeManager.cpp
296fce4895dSRene Gollent	ValueWriter.cpp
297fce4895dSRene Gollent
298fce4895dSRene Gollent	# value/type_handlers
299fce4895dSRene Gollent	BListTypeHandler.cpp
300fce4895dSRene Gollent	BMessageTypeHandler.cpp
301fce4895dSRene Gollent	CStringTypeHandler.cpp
302fce4895dSRene Gollent
303fce4895dSRene Gollent	# value/value_formatters
304fce4895dSRene Gollent	BoolValueFormatter.cpp
305fce4895dSRene Gollent	EnumerationValueFormatter.cpp
306fce4895dSRene Gollent	FloatValueFormatter.cpp
307fce4895dSRene Gollent	IntegerValueFormatter.cpp
308fce4895dSRene Gollent	StringValueFormatter.cpp
309fce4895dSRene Gollent
310fce4895dSRene Gollent	# value/value_nodes
311fce4895dSRene Gollent	AddressValueNode.cpp
312fce4895dSRene Gollent	ArrayValueNode.cpp
313fce4895dSRene Gollent	BListValueNode.cpp
314fce4895dSRene Gollent	BMessageValueNode.cpp
315fce4895dSRene Gollent	CompoundValueNode.cpp
316fce4895dSRene Gollent	CStringValueNode.cpp
317fce4895dSRene Gollent	EnumerationValueNode.cpp
318fce4895dSRene Gollent	ExpressionValueNode.cpp
319fce4895dSRene Gollent	PointerToMemberValueNode.cpp
320fce4895dSRene Gollent	PrimitiveValueNode.cpp
321fce4895dSRene Gollent	VariableValueNodeChild.cpp
322fce4895dSRene Gollent
323fce4895dSRene Gollent	# value/values
324fce4895dSRene Gollent	AddressValue.cpp
325fce4895dSRene Gollent	BoolValue.cpp
326fce4895dSRene Gollent	EnumerationValue.cpp
327fce4895dSRene Gollent	FloatValue.cpp
328fce4895dSRene Gollent	IntegerValue.cpp
329fce4895dSRene Gollent	StringValue.cpp
330fce4895dSRene Gollent;
331fce4895dSRene Gollent
332fce4895dSRene Gollent# since syscall_numbers.h is generated on the fly, we need to explicitly
333fce4895dSRene Gollent# let Jam know about the dependency.
334fce4895dSRene GollentIncludes [ FGristFiles $(sources) ] :
335fce4895dSRene Gollent	<syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h
336fce4895dSRene Gollent;
337fce4895dSRene Gollent
338fce4895dSRene GollentSharedLibrary libdebugger.so :
339fce4895dSRene Gollent	$(sources)
340fce4895dSRene Gollent	:
341fce4895dSRene Gollent	<nogrist>Debugger_demangler.o
342fce4895dSRene Gollent	<nogrist>Debugger_disasm_x86.o
343fce4895dSRene Gollent	<nogrist>Debugger_disasm_x86_64.o
344fce4895dSRene Gollent	<nogrist>Debugger_dwarf.o
345fce4895dSRene Gollent
346fce4895dSRene Gollent	libudis86.a
347fce4895dSRene Gollent	<bin>debug_utils.a
348fce4895dSRene Gollent	shared
349fce4895dSRene Gollent
350fce4895dSRene Gollent	[ TargetLibstdc++ ]
351fce4895dSRene Gollent	be package libbsd.so libdebug.so
352fce4895dSRene Gollent;
353fce4895dSRene Gollent
354fce4895dSRene GollentHaikuSubInclude arch x86 disasm ;
355fce4895dSRene GollentHaikuSubInclude arch x86_64 disasm ;
356fce4895dSRene GollentHaikuSubInclude demangler ;
357fce4895dSRene GollentHaikuSubInclude dwarf ;
358