xref: /haiku/src/apps/debugger/Jamfile (revision 6e82e428596071bbde44e296d04740f1f5d54d03)
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	TypeHandlerMenuItem.cpp
131	VariablesView.cpp
132
133	# user_interface/gui/team_settings_window
134	ExceptionStopConfigView.cpp
135	ImageStopConfigView.cpp
136	SignalsConfigView.cpp
137	TeamSettingsWindow.cpp
138
139	# user_interface/gui/util
140	ActionMenuItem.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