xref: /haiku/src/apps/debugger/Jamfile (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
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	CliPrintVariableCommand.cpp
77	CliQuitCommand.cpp
78	CliStackFrameCommand.cpp
79	CliStackTraceCommand.cpp
80	CliStopCommand.cpp
81	CliThreadCommand.cpp
82	CliThreadsCommand.cpp
83	CliVariablesCommand.cpp
84	CliWriteCoreFileCommand.cpp
85
86	# user_interface/gui
87	GraphicalUserInterface.cpp
88
89	# user_interface/gui/connection_config
90	ConnectionConfigHandler.cpp
91	ConnectionConfigHandlerRoster.cpp
92	ConnectionConfigView.cpp
93
94	# user_interface/gui/connection_config/config_handlers
95	NetworkConnectionConfigHandler.cpp
96	NetworkConnectionConfigView.cpp
97
98	# user_interface/gui/model
99	VariablesViewState.cpp
100	VariablesViewStateHistory.cpp
101
102	# user_interface/gui/expression_eval_window
103	ExpressionEvaluationWindow.cpp
104
105	# user_interface/gui/inspector_window
106	InspectorWindow.cpp
107	MemoryView.cpp
108
109	# user_interface/gui/settings
110	DebuggerUiSettingsFactory.cpp
111	GuiTeamUiSettings.cpp
112
113	# user_interface/gui/teams_window
114	TeamsWindow.cpp
115	TeamsListView.cpp
116
117	# user_interface/gui/team_window
118	BreakpointListView.cpp
119	BreakpointsView.cpp
120	ConsoleOutputView.cpp
121	ImageFunctionsView.cpp
122	ImageListView.cpp
123	RegistersView.cpp
124	SourceView.cpp
125	StackTraceView.cpp
126	TeamWindow.cpp
127	ThreadListView.cpp
128	TypeHandlerMenuItem.cpp
129	VariablesView.cpp
130
131	# user_interface/gui/team_settings_window
132	ExceptionStopConfigView.cpp
133	ImageStopConfigView.cpp
134	SignalsConfigView.cpp
135	TeamSettingsWindow.cpp
136
137	# user_interface/gui/util
138	ActionMenuItem.cpp
139	GuiSettingsUtils.cpp
140	SettingsMenu.cpp
141	SignalDispositionMenu.cpp
142	TargetAddressTableColumn.cpp
143
144	# user_interface/gui/utility_windows
145	BreakpointEditWindow.cpp
146	ConnectionConfigWindow.cpp
147	ExpressionPromptWindow.cpp
148	SignalDispositionEditWindow.cpp
149	StartTeamWindow.cpp
150	VariableEditWindow.cpp
151	WatchPromptWindow.cpp
152
153	# user_interface/gui/value
154	TableCellBoolEditor.cpp
155	TableCellEnumerationEditor.cpp
156	TableCellFloatEditor.cpp
157	TableCellFormattedValueEditor.cpp
158	TableCellFormattedValueRenderer.cpp
159	TableCellIntegerEditor.cpp
160	TableCellOptionPopUpEditor.cpp
161	TableCellTextControlEditor.cpp
162	TableCellValueEditor.cpp
163	TableCellValueRenderer.cpp
164	TableCellValueRendererUtils.cpp
165	ValueHandler.cpp
166	ValueHandlerRoster.cpp
167
168	# user_interface/gui/value/value_handlers
169	AddressValueHandler.cpp
170	BoolValueHandler.cpp
171	EnumerationValueHandler.cpp
172	FloatValueHandler.cpp
173	IntegerValueHandler.cpp
174	StringValueHandler.cpp
175
176	# user_interface/report
177	ReportUserInterface.cpp
178;
179
180Includes [ FGristFiles $(sources) ] :
181	[ BuildFeatureAttribute ncurses : headers ]
182	[ BuildFeatureAttribute libedit : headers ]
183;
184
185Application Debugger :
186	$(sources)
187	:
188	<nogrist>DebugAnalyzer_gui_table.o
189
190	libcolumnlistview.a
191	shared
192
193	[ TargetLibstdc++ ]
194	be package tracker libbsd.so libdebugger.so
195
196	[ BuildFeatureAttribute ncurses : library ]
197	[ BuildFeatureAttribute libedit : library ]
198
199	: Debugger.rdef
200;
201