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