xref: /haiku/src/apps/debugger/Jamfile (revision 445d4fd926c569e7b9ae28017da86280aaecbae2)
1SubDir HAIKU_TOP src apps debugger ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
4
5UsePrivateHeaders debugger ;
6UsePrivateHeaders [ FDirName debugger arch ] ;
7UsePrivateHeaders [ FDirName debugger controllers ] ;
8UsePrivateHeaders [ FDirName debugger debug_info ] ;
9UsePrivateHeaders [ FDirName debugger debug_managers ] ;
10UsePrivateHeaders [ FDirName debugger elf ] ;
11UsePrivateHeaders [ FDirName debugger files ] ;
12UsePrivateHeaders [ FDirName debugger ids ] ;
13UsePrivateHeaders [ FDirName debugger model ] ;
14UsePrivateHeaders [ FDirName debugger settings ] ;
15UsePrivateHeaders [ FDirName debugger settings generic ] ;
16UsePrivateHeaders [ FDirName debugger source_language ] ;
17UsePrivateHeaders [ FDirName debugger source_language c_family ] ;
18UsePrivateHeaders [ FDirName debugger target_host_interface ] ;
19UsePrivateHeaders [ FDirName debugger user_interface ] ;
20UsePrivateHeaders [ FDirName debugger user_interface util ] ;
21UsePrivateHeaders [ FDirName debugger types ] ;
22UsePrivateHeaders [ FDirName debugger util ] ;
23UsePrivateHeaders [ FDirName debugger value ] ;
24UsePrivateHeaders [ FDirName debugger value value_formatters ] ;
25UsePrivateHeaders [ FDirName debugger value value_nodes ] ;
26UsePrivateHeaders [ FDirName debugger value values ] ;
27
28UsePrivateHeaders app interface kernel shared system ;
29UsePrivateSystemHeaders ;
30
31UseBuildFeatureHeaders libedit ;
32
33LINKFLAGS += -Wl,--exclude-libs,ALL ;
34
35SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
36SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface cli ] ;
37SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface cli commands ] ;
38SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui ] ;
39SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui connection_config ] ;
40SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui connection_config
41	config_handlers ] ;
42SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui expression_eval_window ] ;
43SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui inspector_window ] ;
44SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui model ] ;
45SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui settings ] ;
46SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_window ] ;
47SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_settings_window ] ;
48SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui teams_window ] ;
49SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui utility_windows ] ;
50SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui util ] ;
51SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value ] ;
52SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value value_handlers ] ;
53SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface report ] ;
54SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
55
56local debugAnalyzerSources
57	= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
58
59SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
60
61local sources =
62	Debugger.cpp
63
64	# settings
65	DebuggerSettingsManager.cpp
66
67	# user_interface/cli
68	CliContext.cpp
69	CommandLineUserInterface.cpp
70
71	# user_interface/cli/commands
72	CliCommand.cpp
73	CliContinueCommand.cpp
74	CliDebugReportCommand.cpp
75	CliDumpMemoryCommand.cpp
76	CliDumpStringCommand.cpp
77	CliPrintVariableCommand.cpp
78	CliQuitCommand.cpp
79	CliStackFrameCommand.cpp
80	CliStackTraceCommand.cpp
81	CliStopCommand.cpp
82	CliThreadCommand.cpp
83	CliThreadsCommand.cpp
84	CliVariablesCommand.cpp
85	CliWriteCoreFileCommand.cpp
86
87	# user_interface/gui
88	GraphicalUserInterface.cpp
89
90	# user_interface/gui/connection_config
91	ConnectionConfigHandler.cpp
92	ConnectionConfigHandlerRoster.cpp
93	ConnectionConfigView.cpp
94
95	# user_interface/gui/connection_config/config_handlers
96	NetworkConnectionConfigHandler.cpp
97	NetworkConnectionConfigView.cpp
98
99	# user_interface/gui/model
100	VariablesViewState.cpp
101	VariablesViewStateHistory.cpp
102
103	# user_interface/gui/expression_eval_window
104	ExpressionEvaluationWindow.cpp
105
106	# user_interface/gui/inspector_window
107	InspectorWindow.cpp
108	MemoryView.cpp
109
110	# user_interface/gui/settings
111	DebuggerUiSettingsFactory.cpp
112	GuiTeamUiSettings.cpp
113
114	# user_interface/gui/teams_window
115	TeamsWindow.cpp
116	TeamsListView.cpp
117
118	# user_interface/gui/team_window
119	BreakpointListView.cpp
120	BreakpointsView.cpp
121	ConsoleOutputView.cpp
122	ImageFunctionsView.cpp
123	ImageListView.cpp
124	RegistersView.cpp
125	SourceView.cpp
126	StackTraceView.cpp
127	TeamWindow.cpp
128	ThreadListView.cpp
129	TypeHandlerMenuItem.cpp
130	VariablesView.cpp
131
132	# user_interface/gui/team_settings_window
133	ExceptionStopConfigView.cpp
134	ImageStopConfigView.cpp
135	SignalsConfigView.cpp
136	TeamSettingsWindow.cpp
137
138	# user_interface/gui/util
139	ActionMenuItem.cpp
140	AlertWithCheckbox.cpp
141	GuiSettingsUtils.cpp
142	SettingsMenu.cpp
143	SignalDispositionMenu.cpp
144	TargetAddressTableColumn.cpp
145
146	# user_interface/gui/utility_windows
147	BreakpointEditWindow.cpp
148	ConnectionConfigWindow.cpp
149	ExpressionPromptWindow.cpp
150	SignalDispositionEditWindow.cpp
151	StartTeamWindow.cpp
152	VariableEditWindow.cpp
153	WatchPromptWindow.cpp
154
155	# user_interface/gui/value
156	TableCellBoolEditor.cpp
157	TableCellEnumerationEditor.cpp
158	TableCellFloatEditor.cpp
159	TableCellFormattedValueEditor.cpp
160	TableCellFormattedValueRenderer.cpp
161	TableCellIntegerEditor.cpp
162	TableCellOptionPopUpEditor.cpp
163	TableCellTextControlEditor.cpp
164	TableCellValueEditor.cpp
165	TableCellValueRenderer.cpp
166	TableCellValueRendererUtils.cpp
167	ValueHandler.cpp
168	ValueHandlerRoster.cpp
169
170	# user_interface/gui/value/value_handlers
171	AddressValueHandler.cpp
172	BoolValueHandler.cpp
173	EnumerationValueHandler.cpp
174	FloatValueHandler.cpp
175	IntegerValueHandler.cpp
176	StringValueHandler.cpp
177
178	# user_interface/report
179	ReportUserInterface.cpp
180;
181
182Includes [ FGristFiles $(sources) ] :
183	[ BuildFeatureAttribute ncurses : headers ]
184	[ BuildFeatureAttribute libedit : headers ]
185;
186
187Application Debugger :
188	$(sources)
189	:
190	<nogrist>DebugAnalyzer_gui_table.o
191
192	libcolumnlistview.a
193	shared
194
195	[ TargetLibstdc++ ]
196	be package tracker libbsd.so libdebugger.so
197
198	[ BuildFeatureAttribute ncurses : library ]
199	[ BuildFeatureAttribute libedit : library ]
200
201	: Debugger.rdef
202;
203