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