xref: /haiku/src/apps/debugger/Jamfile (revision aa3083e086e5a929c061c72983e09d916c548a38)
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
35SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ;
36
37SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
38SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface cli ] ;
39SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface cli commands ] ;
40SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui ] ;
41SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui connection_config ] ;
42SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui connection_config
43	config_handlers ] ;
44SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui expression_eval_window ] ;
45SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui inspector_window ] ;
46SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui model ] ;
47SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui settings ] ;
48SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_window ] ;
49SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_settings_window ] ;
50SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui teams_window ] ;
51SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui utility_windows ] ;
52SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui util ] ;
53SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value ] ;
54SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui value value_handlers ] ;
55SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface report ] ;
56SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
57
58local debugAnalyzerSources
59	= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
60
61SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
62
63local sources =
64	Debugger.cpp
65
66	# settings
67	DebuggerSettingsManager.cpp
68
69	# user_interface/cli
70	CliContext.cpp
71	CommandLineUserInterface.cpp
72
73	# user_interface/cli/commands
74	CliCommand.cpp
75	CliContinueCommand.cpp
76	CliDebugReportCommand.cpp
77	CliDumpMemoryCommand.cpp
78	CliPrintVariableCommand.cpp
79	CliQuitCommand.cpp
80	CliStackFrameCommand.cpp
81	CliStackTraceCommand.cpp
82	CliStopCommand.cpp
83	CliThreadCommand.cpp
84	CliThreadsCommand.cpp
85	CliVariablesCommand.cpp
86	CliWriteCoreFileCommand.cpp
87
88	# user_interface/gui
89	GraphicalUserInterface.cpp
90
91	# user_interface/gui/connection_config
92	ConnectionConfigHandler.cpp
93	ConnectionConfigHandlerRoster.cpp
94	ConnectionConfigView.cpp
95
96	# user_interface/gui/connection_config/config_handlers
97	NetworkConnectionConfigHandler.cpp
98	NetworkConnectionConfigView.cpp
99
100	# user_interface/gui/model
101	VariablesViewState.cpp
102	VariablesViewStateHistory.cpp
103
104	# user_interface/gui/expression_eval_window
105	ExpressionEvaluationWindow.cpp
106
107	# user_interface/gui/inspector_window
108	InspectorWindow.cpp
109	MemoryView.cpp
110
111	# user_interface/gui/settings
112	DebuggerUiSettingsFactory.cpp
113	GuiTeamUiSettings.cpp
114
115	# user_interface/gui/teams_window
116	TeamsWindow.cpp
117	TeamsListView.cpp
118
119	# user_interface/gui/team_window
120	BreakpointListView.cpp
121	BreakpointsView.cpp
122	ConsoleOutputView.cpp
123	ImageFunctionsView.cpp
124	ImageListView.cpp
125	RegistersView.cpp
126	SourceView.cpp
127	StackTraceView.cpp
128	TeamWindow.cpp
129	ThreadListView.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	GuiSettingsUtils.cpp
141	SettingsMenu.cpp
142	SignalDispositionMenu.cpp
143	TargetAddressTableColumn.cpp
144
145	# user_interface/gui/utility_windows
146	BreakpointEditWindow.cpp
147	ConnectionConfigWindow.cpp
148	ExpressionPromptWindow.cpp
149	SignalDispositionEditWindow.cpp
150	StartTeamWindow.cpp
151	VariableEditWindow.cpp
152	WatchPromptWindow.cpp
153
154	# user_interface/gui/value
155	TableCellBoolEditor.cpp
156	TableCellEnumerationEditor.cpp
157	TableCellFloatEditor.cpp
158	TableCellFormattedValueEditor.cpp
159	TableCellFormattedValueRenderer.cpp
160	TableCellIntegerEditor.cpp
161	TableCellOptionPopUpEditor.cpp
162	TableCellTextControlEditor.cpp
163	TableCellValueEditor.cpp
164	TableCellValueRenderer.cpp
165	TableCellValueRendererUtils.cpp
166	ValueHandler.cpp
167	ValueHandlerRoster.cpp
168
169	# user_interface/gui/value/value_handlers
170	AddressValueHandler.cpp
171	BoolValueHandler.cpp
172	EnumerationValueHandler.cpp
173	FloatValueHandler.cpp
174	IntegerValueHandler.cpp
175	StringValueHandler.cpp
176
177	# user_interface/report
178	ReportUserInterface.cpp
179;
180
181Includes [ FGristFiles $(sources) ] :
182	[ BuildFeatureAttribute ncurses : headers ]
183	[ BuildFeatureAttribute libedit : headers ]
184;
185
186Application Debugger :
187	$(sources)
188	:
189	<nogrist>DebugAnalyzer_gui_table.o
190
191	libcolumnlistview.a
192	shared
193
194	[ TargetLibstdc++ ]
195	be package tracker libbsd.so libdebugger.so
196
197	[ BuildFeatureAttribute ncurses : library ]
198	[ BuildFeatureAttribute libedit : library ]
199
200	: Debugger.rdef
201;
202