xref: /haiku/src/apps/debugger/Jamfile (revision 0044a8c39ab5721051b6279506d1a8c511e20453)
1SubDir HAIKU_TOP src apps debugger ;
2
3CCFLAGS +=  -Werror ;
4C++FLAGS += -Werror ;
5
6UsePrivateHeaders app debug interface kernel shared libroot ;
7UsePrivateSystemHeaders ;
8
9SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
16SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
17SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
18SEARCH_SOURCE += [ FDirName $(SUBDIR) settings generic ] ;
19SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
20SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
21SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
22SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui ] ;
23SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui inspector_window ] ;
24SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui model ] ;
25SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_window ] ;
26SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui teams_window ] ;
27SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui util ] ;
28SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value ] ;
29SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
30SEARCH_SOURCE += [ FDirName $(SUBDIR) value ] ;
31SEARCH_SOURCE += [ FDirName $(SUBDIR) value type_handlers ] ;
32SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_handlers ] ;
33SEARCH_SOURCE += [ FDirName $(SUBDIR) value value_nodes ] ;
34SEARCH_SOURCE += [ FDirName $(SUBDIR) value values ] ;
35
36local debugAnalyzerSources
37	= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
38
39SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
40SubDirHdrs [ FDirName $(SUBDIR) dwarf ] ;
41SubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
42SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
43
44SourceHdrs
45	DwarfFunctionDebugInfo.cpp
46	DwarfImageDebugInfo.cpp
47	DwarfStackFrameDebugInfo.cpp
48	DwarfTeamDebugInfo.cpp
49	DwarfTypeFactory.cpp
50	DwarfTypes.cpp
51	: [ FDirName $(SUBDIR) dwarf ]
52;
53
54Application Debugger :
55	BreakpointManager.cpp
56	Debugger.cpp
57	Jobs.cpp
58	TeamMemoryBlockManager.cpp
59	TeamDebugger.cpp
60	ThreadHandler.cpp
61	Worker.cpp
62
63	# arch
64	Architecture.cpp
65	CpuState.cpp
66	InstructionInfo.cpp
67	Register.cpp
68	RegisterMap.cpp
69
70	# arch/x86
71	ArchitectureX86.cpp
72	CpuStateX86.cpp
73
74	# debug_info
75	BasicFunctionDebugInfo.cpp
76	DebuggerImageDebugInfo.cpp
77	DebuggerTeamDebugInfo.cpp
78	DwarfFunctionDebugInfo.cpp
79	DwarfImageDebugInfo.cpp
80	DwarfStackFrameDebugInfo.cpp
81	DwarfTeamDebugInfo.cpp
82	DwarfTypeFactory.cpp
83	DwarfTypes.cpp
84	Function.cpp
85	FunctionDebugInfo.cpp
86	FunctionInstance.cpp
87	GlobalTypeLookup.cpp
88	ImageDebugInfo.cpp
89	ImageDebugInfoProvider.cpp
90	NoOpStackFrameDebugInfo.cpp
91	SpecificImageDebugInfo.cpp
92	SpecificTeamDebugInfo.cpp
93	StackFrameDebugInfo.cpp
94	TeamDebugInfo.cpp
95
96	# debugger_interface
97	DebugEvent.cpp
98	DebuggerInterface.cpp
99
100	# elf
101	ElfFile.cpp
102
103	# files
104	FileManager.cpp
105	LocatableDirectory.cpp
106	LocatableEntry.cpp
107	LocatableFile.cpp
108	SourceFile.cpp
109
110	# ids
111	FunctionID.cpp
112	LocalVariableID.cpp
113	ObjectID.cpp
114	FunctionParameterID.cpp
115
116	# model
117	Breakpoint.cpp
118	DisassembledCode.cpp
119	FileSourceCode.cpp
120	Image.cpp
121	ImageInfo.cpp
122	SourceCode.cpp
123	StackFrame.cpp
124	StackFrameValues.cpp
125	StackFrameValueInfos.cpp
126	StackTrace.cpp
127	Statement.cpp
128	SymbolInfo.cpp
129	UserBreakpoint.cpp
130	Team.cpp
131	TeamMemory.cpp
132	TeamMemoryBlock.cpp
133	TeamTypeInformation.cpp
134	Thread.cpp
135	ThreadInfo.cpp
136	Type.cpp
137	TypeComponentPath.cpp
138	TypeLookupConstraints.cpp
139	Variable.cpp
140
141	# settings
142	BreakpointSetting.cpp
143	SettingsManager.cpp
144	TeamSettings.cpp
145	TeamUISettings.cpp
146	GUITeamUISettings.cpp
147
148	# settings/generic
149	Setting.cpp
150	Settings.cpp
151	SettingsDescription.cpp
152
153	# source_language
154	CLanguage.cpp
155	CLanguageFamily.cpp
156	CppLanguage.cpp
157	SourceLanguage.cpp
158	SyntaxHighlighter.cpp
159	UnsupportedLanguage.cpp
160	X86AssemblyLanguage.cpp
161
162	# types
163	ArrayIndexPath.cpp
164	TargetAddressRangeList.cpp
165	ValueLocation.cpp
166
167	# user_interface
168	UserInterface.cpp
169
170	# user_interface/gui
171	GraphicalUserInterface.cpp
172
173	# user_interface/gui/model
174	VariablesViewState.cpp
175	VariablesViewStateHistory.cpp
176
177	# user_interface/gui/inspector_window
178	InspectorWindow.cpp
179	MemoryView.cpp
180
181	# user_interface/gui/teams_window
182	TeamsWindow.cpp
183	TeamsListView.cpp
184
185	# user_interface/gui/team_window
186	BreakpointListView.cpp
187	BreakpointsView.cpp
188	ImageFunctionsView.cpp
189	ImageListView.cpp
190	RegistersView.cpp
191	SourceView.cpp
192	StackTraceView.cpp
193	TeamWindow.cpp
194	ThreadListView.cpp
195	VariablesView.cpp
196
197	# user_interface/gui/util
198	SettingsMenu.cpp
199	TargetAddressTableColumn.cpp
200
201	# user_interface/gui/value
202	TableCellBoolRenderer.cpp
203	TableCellEnumerationRenderer.cpp
204	TableCellFloatRenderer.cpp
205	TableCellIntegerRenderer.cpp
206	TableCellStringRenderer.cpp
207	TableCellValueRenderer.cpp
208	TableCellValueRendererUtils.cpp
209
210	# util
211	ArchivingUtils.cpp
212	BitBuffer.cpp
213	IntegerFormatter.cpp
214	StringUtils.cpp
215
216	# value
217	TypeHandler.cpp
218	TypeHandlerRoster.cpp
219	Value.cpp
220	ValueHandler.cpp
221	ValueHandlerRoster.cpp
222	ValueLoader.cpp
223	ValueNode.cpp
224	ValueNodeContainer.cpp
225
226	# value/type_handlers
227	BMessageTypeHandler.cpp
228	CStringTypeHandler.cpp
229
230	# value/value_handlers
231	AddressValueHandler.cpp
232	BoolValueHandler.cpp
233	EnumerationValueHandler.cpp
234	FloatValueHandler.cpp
235	IntegerValueHandler.cpp
236	StringValueHandler.cpp
237
238	# value/value_nodes
239	AddressValueNode.cpp
240	ArrayValueNode.cpp
241	BMessageValueNode.cpp
242	CompoundValueNode.cpp
243	CStringValueNode.cpp
244	EnumerationValueNode.cpp
245	PointerToMemberValueNode.cpp
246	PrimitiveValueNode.cpp
247	VariableValueNodeChild.cpp
248
249	# value/values
250	AddressValue.cpp
251	BoolValue.cpp
252	EnumerationValue.cpp
253	FloatValue.cpp
254	IntegerValue.cpp
255	StringValue.cpp
256
257	:
258	<nogrist>Debugger_demangler.o
259	<nogrist>Debugger_disasm_x86.o
260	<nogrist>Debugger_dwarf.o
261	<nogrist>DebugAnalyzer_gui_table.o
262
263	libudis86.a
264	<bin>debug_utils.a
265	libcolumnlistview.a
266	libshared.a
267
268	$(TARGET_LIBSTDC++)
269	be tracker libdebug.so libshared.a libexpression_parser.a libmapm.a
270
271	: Debugger.rdef
272;
273
274HaikuSubInclude arch x86 disasm ;
275HaikuSubInclude demangler ;
276HaikuSubInclude dwarf ;
277