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