xref: /haiku/src/kits/debugger/Jamfile (revision 6a2d53e7237764eab0c7b6d121772f26d636fb60)
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 GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
38fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
39fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86_64 ] ;
40fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) controllers ] ;
41fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
42fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info loading_state_handlers ] ;
43fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debug_managers ] ;
44fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
45b02ee147SRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface core ] ;
46b02ee147SRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface local ] ;
4717954f2eSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface remote ] ;
48fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
49fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
50fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
51fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) jobs ] ;
52fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
53fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
54fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) settings generic ] ;
55fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
56fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language c_family ] ;
57fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) source_language x86 ] ;
58fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface ] ;
59fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface local ] ;
60692fe555SRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) target_host_interface network ] ;
61fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
62fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
63fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface util ] ;
64fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
65fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value ] ;
66fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value type_handlers ] ;
67fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value value_formatters ] ;
68fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value value_nodes ] ;
69fce4895dSRene GollentSEARCH_SOURCE += [ FDirName $(SUBDIR) value values ] ;
70fce4895dSRene Gollent
71fce4895dSRene GollentSubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
72fce4895dSRene GollentSubDirHdrs [ FDirName $(SUBDIR) dwarf ] ;
73fce4895dSRene GollentSubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
74fce4895dSRene Gollent
75fce4895dSRene GollentSourceHdrs
76fce4895dSRene Gollent	DwarfFunctionDebugInfo.cpp
77fce4895dSRene Gollent	DwarfImageDebugInfo.cpp
78fce4895dSRene Gollent	DwarfStackFrameDebugInfo.cpp
79fce4895dSRene Gollent	DwarfTeamDebugInfo.cpp
80fce4895dSRene Gollent	DwarfTypeFactory.cpp
81fce4895dSRene Gollent	DwarfTypes.cpp
82fce4895dSRene Gollent	: [ FDirName $(SUBDIR) dwarf ]
83fce4895dSRene Gollent;
84fce4895dSRene Gollent
85fce4895dSRene Gollentlocal sources =
86fce4895dSRene Gollent	DebuggerGlobals.cpp
87fce4895dSRene Gollent
88fce4895dSRene Gollent	# arch
89fce4895dSRene Gollent	Architecture.cpp
90fce4895dSRene Gollent	CpuState.cpp
91fce4895dSRene Gollent	InstructionInfo.cpp
92fce4895dSRene Gollent	Register.cpp
93fce4895dSRene Gollent	RegisterMap.cpp
94fce4895dSRene Gollent
95fce4895dSRene Gollent	# arch/x86
96fce4895dSRene Gollent	ArchitectureX86.cpp
97fce4895dSRene Gollent	CpuStateX86.cpp
98fce4895dSRene Gollent
99fce4895dSRene Gollent	# arch/x86_64
100fce4895dSRene Gollent	ArchitectureX8664.cpp
101fce4895dSRene Gollent	CpuStateX8664.cpp
102fce4895dSRene Gollent
103fce4895dSRene Gollent	# controllers
104fce4895dSRene Gollent	DebugReportGenerator.cpp
105fce4895dSRene Gollent	TeamDebugger.cpp
106fce4895dSRene Gollent	ThreadHandler.cpp
107fce4895dSRene Gollent
108fce4895dSRene Gollent	# debug_managers
109fce4895dSRene Gollent	BreakpointManager.cpp
110fce4895dSRene Gollent	TeamMemoryBlockManager.cpp
111fce4895dSRene Gollent	WatchpointManager.cpp
112fce4895dSRene Gollent
113fce4895dSRene Gollent	# debug_info
114fce4895dSRene Gollent	BasicFunctionDebugInfo.cpp
115fce4895dSRene Gollent	DebuggerImageDebugInfo.cpp
116fce4895dSRene Gollent	DebuggerTeamDebugInfo.cpp
117fce4895dSRene Gollent	DwarfFunctionDebugInfo.cpp
118fce4895dSRene Gollent	DwarfImageDebugInfo.cpp
119fce4895dSRene Gollent	DwarfImageDebugInfoLoadingState.cpp
120fce4895dSRene Gollent	DwarfStackFrameDebugInfo.cpp
121fce4895dSRene Gollent	DwarfTeamDebugInfo.cpp
122fce4895dSRene Gollent	DwarfTypeFactory.cpp
123fce4895dSRene Gollent	DwarfTypes.cpp
124fce4895dSRene Gollent	Function.cpp
125fce4895dSRene Gollent	FunctionDebugInfo.cpp
126fce4895dSRene Gollent	FunctionInstance.cpp
127fce4895dSRene Gollent	GlobalTypeLookup.cpp
128fce4895dSRene Gollent	ImageDebugInfo.cpp
129fce4895dSRene Gollent	ImageDebugInfoLoadingState.cpp
130fce4895dSRene Gollent	ImageDebugInfoProvider.cpp
131fce4895dSRene Gollent	ImageDebugLoadingStateHandler.cpp
132fce4895dSRene Gollent	ImageDebugLoadingStateHandlerRoster.cpp
133fce4895dSRene Gollent	NoOpStackFrameDebugInfo.cpp
134fce4895dSRene Gollent	SpecificImageDebugInfo.cpp
135fce4895dSRene Gollent	SpecificImageDebugInfoLoadingState.cpp
136fce4895dSRene Gollent	SpecificTeamDebugInfo.cpp
137fce4895dSRene Gollent	StackFrameDebugInfo.cpp
138fce4895dSRene Gollent	TeamDebugInfo.cpp
139fce4895dSRene Gollent
140fce4895dSRene Gollent	# debug_info/loading_state_handlers
141fce4895dSRene Gollent	DwarfLoadingStateHandler.cpp
142fce4895dSRene Gollent
143fce4895dSRene Gollent	# debugger_interface
144fce4895dSRene Gollent	DebugEvent.cpp
145fce4895dSRene Gollent	DebuggerInterface.cpp
146fce4895dSRene Gollent
147b02ee147SRene Gollent	# debugger_interface/core
148fce4895dSRene Gollent	CoreFileDebuggerInterface.cpp
149b02ee147SRene Gollent
150b02ee147SRene Gollent	# debugger_interface/local
151fce4895dSRene Gollent	LocalDebuggerInterface.cpp
152fce4895dSRene Gollent
15317954f2eSRene Gollent	# debugger_interface/remote
15417954f2eSRene Gollent	RemoteDebugRequest.cpp
15517954f2eSRene Gollent
156fce4895dSRene Gollent	# elf
157fce4895dSRene Gollent	CoreFile.cpp
158fce4895dSRene Gollent	ElfFile.cpp
159fce4895dSRene Gollent	ElfSymbolLookup.cpp
160fce4895dSRene Gollent
161fce4895dSRene Gollent	# files
162fce4895dSRene Gollent	FileManager.cpp
163fce4895dSRene Gollent	LocatableDirectory.cpp
164fce4895dSRene Gollent	LocatableEntry.cpp
165fce4895dSRene Gollent	LocatableFile.cpp
166fce4895dSRene Gollent	SourceFile.cpp
167fce4895dSRene Gollent
168fce4895dSRene Gollent	# ids
169fce4895dSRene Gollent	FunctionID.cpp
170fce4895dSRene Gollent	FunctionParameterID.cpp
171fce4895dSRene Gollent	LocalVariableID.cpp
172fce4895dSRene Gollent	ObjectID.cpp
173fce4895dSRene Gollent	ReturnValueID.cpp
174fce4895dSRene Gollent
175fce4895dSRene Gollent	# jobs
176fce4895dSRene Gollent	ExpressionEvaluationJob.cpp
177fce4895dSRene Gollent	GetCPUStateJob.cpp
178fce4895dSRene Gollent	GetStackTraceJob.cpp
179fce4895dSRene Gollent	GetThreadStateJob.cpp
180fce4895dSRene Gollent	LoadImageDebugInfoJob.cpp
181fce4895dSRene Gollent	LoadSourceCodeJob.cpp
182fce4895dSRene Gollent	ResolveValueNodeJob.cpp
183fce4895dSRene Gollent	RetrieveMemoryBlockJob.cpp
184fce4895dSRene Gollent	WriteCoreFileJob.cpp
185fce4895dSRene Gollent	WriteMemoryJob.cpp
186fce4895dSRene Gollent	WriteValueNodeJob.cpp
187fce4895dSRene Gollent
188fce4895dSRene Gollent	# model
189fce4895dSRene Gollent	AreaInfo.cpp
190fce4895dSRene Gollent	Breakpoint.cpp
191fce4895dSRene Gollent	DisassembledCode.cpp
192fce4895dSRene Gollent	ExpressionInfo.cpp
193fce4895dSRene Gollent	ExpressionValues.cpp
194fce4895dSRene Gollent	FileSourceCode.cpp
195fce4895dSRene Gollent	Image.cpp
196fce4895dSRene Gollent	ImageInfo.cpp
197fce4895dSRene Gollent	LineDataSource.cpp
198fce4895dSRene Gollent	ReturnValueInfo.cpp
199fce4895dSRene Gollent	SemaphoreInfo.cpp
200fce4895dSRene Gollent	SignalInfo.cpp
201fce4895dSRene Gollent	SourceCode.cpp
202fce4895dSRene Gollent	StackFrame.cpp
203fce4895dSRene Gollent	StackFrameValues.cpp
204fce4895dSRene Gollent	StackFrameValueInfos.cpp
205fce4895dSRene Gollent	StackTrace.cpp
206fce4895dSRene Gollent	Statement.cpp
207fce4895dSRene Gollent	SymbolInfo.cpp
208fce4895dSRene Gollent	SyntheticPrimitiveType.cpp
209fce4895dSRene Gollent	SyscallInfo.cpp
210fce4895dSRene Gollent	SystemInfo.cpp
211fce4895dSRene Gollent	TargetHost.cpp
212fce4895dSRene Gollent	Team.cpp
213b65adbdfSRene Gollent	TeamFunctionSourceInformation.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
268692fe555SRene Gollent	# target_host_interface/network
269692fe555SRene Gollent	NetworkTargetHostInterface.cpp
270692fe555SRene Gollent	NetworkTargetHostInterfaceInfo.cpp
271692fe555SRene Gollent
272fce4895dSRene Gollent	# types
273fce4895dSRene Gollent	ArrayIndexPath.cpp
274fce4895dSRene Gollent	TargetAddressRangeList.cpp
275fce4895dSRene Gollent	ValueLocation.cpp
276fce4895dSRene Gollent
277fce4895dSRene Gollent	# user_interface
278fce4895dSRene Gollent	UserInterface.cpp
279fce4895dSRene Gollent
280fce4895dSRene Gollent	# user_interface/util
281fce4895dSRene Gollent	UiUtils.cpp
282fce4895dSRene Gollent
283fce4895dSRene Gollent	# util
284fce4895dSRene Gollent	ArchivingUtils.cpp
285fce4895dSRene Gollent	BitBuffer.cpp
286fce4895dSRene Gollent	IntegerFormatter.cpp
287fce4895dSRene Gollent	RangeList.cpp
288fce4895dSRene Gollent	Worker.cpp
289fce4895dSRene Gollent
290fce4895dSRene Gollent	# value
291fce4895dSRene Gollent	TypeHandler.cpp
292fce4895dSRene Gollent	TypeHandlerRoster.cpp
293fce4895dSRene Gollent	Value.cpp
294fce4895dSRene Gollent	ValueFormatter.cpp
295fce4895dSRene Gollent	ValueLoader.cpp
296fce4895dSRene Gollent	ValueNode.cpp
297fce4895dSRene Gollent	ValueNodeContainer.cpp
298fce4895dSRene Gollent	ValueNodeManager.cpp
299fce4895dSRene Gollent	ValueWriter.cpp
300fce4895dSRene Gollent
301fce4895dSRene Gollent	# value/type_handlers
302fce4895dSRene Gollent	BListTypeHandler.cpp
303fce4895dSRene Gollent	BMessageTypeHandler.cpp
304fce4895dSRene Gollent	CStringTypeHandler.cpp
305fce4895dSRene Gollent
306fce4895dSRene Gollent	# value/value_formatters
307fce4895dSRene Gollent	BoolValueFormatter.cpp
308fce4895dSRene Gollent	EnumerationValueFormatter.cpp
309fce4895dSRene Gollent	FloatValueFormatter.cpp
310fce4895dSRene Gollent	IntegerValueFormatter.cpp
311fce4895dSRene Gollent	StringValueFormatter.cpp
312fce4895dSRene Gollent
313fce4895dSRene Gollent	# value/value_nodes
314fce4895dSRene Gollent	AddressValueNode.cpp
315fce4895dSRene Gollent	ArrayValueNode.cpp
316fce4895dSRene Gollent	BListValueNode.cpp
317fce4895dSRene Gollent	BMessageValueNode.cpp
318fce4895dSRene Gollent	CompoundValueNode.cpp
319fce4895dSRene Gollent	CStringValueNode.cpp
320fce4895dSRene Gollent	EnumerationValueNode.cpp
321fce4895dSRene Gollent	ExpressionValueNode.cpp
322fce4895dSRene Gollent	PointerToMemberValueNode.cpp
323fce4895dSRene Gollent	PrimitiveValueNode.cpp
324fce4895dSRene Gollent	VariableValueNodeChild.cpp
325fce4895dSRene Gollent
326fce4895dSRene Gollent	# value/values
327fce4895dSRene Gollent	AddressValue.cpp
328fce4895dSRene Gollent	BoolValue.cpp
329fce4895dSRene Gollent	EnumerationValue.cpp
330fce4895dSRene Gollent	FloatValue.cpp
331fce4895dSRene Gollent	IntegerValue.cpp
332fce4895dSRene Gollent	StringValue.cpp
333fce4895dSRene Gollent;
334fce4895dSRene Gollent
335fce4895dSRene Gollent# since syscall_numbers.h is generated on the fly, we need to explicitly
336fce4895dSRene Gollent# let Jam know about the dependency.
337fce4895dSRene GollentIncludes [ FGristFiles $(sources) ] :
338fce4895dSRene Gollent	<syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h
339fce4895dSRene Gollent;
340fce4895dSRene Gollent
341fce4895dSRene GollentSharedLibrary libdebugger.so :
342fce4895dSRene Gollent	$(sources)
343fce4895dSRene Gollent	:
344fce4895dSRene Gollent	<nogrist>Debugger_demangler.o
345fce4895dSRene Gollent	<nogrist>Debugger_disasm_x86.o
346fce4895dSRene Gollent	<nogrist>Debugger_disasm_x86_64.o
347fce4895dSRene Gollent	<nogrist>Debugger_dwarf.o
348fce4895dSRene Gollent
349*34b59fcaSJérôme Duval	libzydis.a
350fce4895dSRene Gollent	<bin>debug_utils.a
351fce4895dSRene Gollent	shared
352fce4895dSRene Gollent
353fce4895dSRene Gollent	[ TargetLibstdc++ ]
354fce4895dSRene Gollent	be package libbsd.so libdebug.so
355fce4895dSRene Gollent;
356fce4895dSRene Gollent
357fce4895dSRene GollentHaikuSubInclude arch x86 disasm ;
358fce4895dSRene GollentHaikuSubInclude arch x86_64 disasm ;
359fce4895dSRene GollentHaikuSubInclude demangler ;
360fce4895dSRene GollentHaikuSubInclude dwarf ;
361