xref: /haiku/src/apps/debugger/Jamfile (revision c9ad965c81b08802fed0827fd1dd16f45297928a)
1SubDir HAIKU_TOP src apps debugger ;
2
3CCFLAGS +=  -Werror ;
4C++FLAGS += -Werror ;
5
6UsePrivateHeaders debug interface kernel shared ;
7UsePrivateSystemHeaders ;
8
9SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) debug_info ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) debugger_interface ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) elf ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) files ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface ] ;
16SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui ] ;
17SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui model ] ;
18SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui team_window ] ;
19SEARCH_SOURCE += [ FDirName $(SUBDIR) user_interface gui util ] ;
20SEARCH_SOURCE += [ FDirName $(SUBDIR) ids ] ;
21SEARCH_SOURCE += [ FDirName $(SUBDIR) model ] ;
22SEARCH_SOURCE += [ FDirName $(SUBDIR) settings ] ;
23SEARCH_SOURCE += [ FDirName $(SUBDIR) source_language ] ;
24SEARCH_SOURCE += [ FDirName $(SUBDIR) types ] ;
25SEARCH_SOURCE += [ FDirName $(SUBDIR) util ] ;
26
27local debugAnalyzerSources
28	= [ FDirName $(HAIKU_TOP) src apps debuganalyzer ] ;
29
30SubDirHdrs [ FDirName $(SUBDIR) demangler ] ;
31SubDirHdrs [ FDirName $(HAIKU_TOP) src bin debug ] ;
32SubDirHdrs [ FDirName $(debugAnalyzerSources) gui ] ;
33
34SourceHdrs
35	DwarfFunctionDebugInfo.cpp
36	DwarfImageDebugInfo.cpp
37	DwarfStackFrameDebugInfo.cpp
38	DwarfTeamDebugInfo.cpp
39	DwarfTypeFactory.cpp
40	DwarfTypes.cpp
41	: [ FDirName $(SUBDIR) dwarf ]
42;
43
44Application Debugger :
45	BreakpointManager.cpp
46	Debugger.cpp
47	Jobs.cpp
48	TeamDebugger.cpp
49	ThreadHandler.cpp
50	Worker.cpp
51
52	# arch
53	Architecture.cpp
54	CpuState.cpp
55	InstructionInfo.cpp
56	Register.cpp
57	RegisterMap.cpp
58
59	# arch/x86
60	ArchitectureX86.cpp
61	CpuStateX86.cpp
62
63	# debug_info
64	BasicFunctionDebugInfo.cpp
65	DebuggerImageDebugInfo.cpp
66	DebuggerTeamDebugInfo.cpp
67	DwarfFunctionDebugInfo.cpp
68	DwarfImageDebugInfo.cpp
69	DwarfStackFrameDebugInfo.cpp
70	DwarfTeamDebugInfo.cpp
71	DwarfTypeFactory.cpp
72	DwarfTypes.cpp
73	Function.cpp
74	FunctionDebugInfo.cpp
75	FunctionInstance.cpp
76	GlobalTypeLookup.cpp
77	ImageDebugInfo.cpp
78	ImageDebugInfoProvider.cpp
79	NoOpStackFrameDebugInfo.cpp
80	SpecificImageDebugInfo.cpp
81	SpecificTeamDebugInfo.cpp
82	StackFrameDebugInfo.cpp
83	TeamDebugInfo.cpp
84
85	# debugger_interface
86	DebugEvent.cpp
87	DebuggerInterface.cpp
88
89	# elf
90	ElfFile.cpp
91
92	# files
93	FileManager.cpp
94	LocatableDirectory.cpp
95	LocatableEntry.cpp
96	LocatableFile.cpp
97	SourceFile.cpp
98
99	# user_interface
100	UserInterface.cpp
101
102	# user_interface/gui
103	GraphicalUserInterface.cpp
104
105	# user_interface/gui/model
106	VariablesViewState.cpp
107	VariablesViewStateHistory.cpp
108
109	# user_interface/gui/team_window
110	BreakpointListView.cpp
111	BreakpointsView.cpp
112	ImageFunctionsView.cpp
113	ImageListView.cpp
114	RegistersView.cpp
115	SourceView.cpp
116	StackTraceView.cpp
117	TeamWindow.cpp
118	ThreadListView.cpp
119	VariablesView.cpp
120
121	# user_interface/gui/util
122	TargetAddressTableColumn.cpp
123
124	# ids
125	FunctionID.cpp
126	LocalVariableID.cpp
127	ObjectID.cpp
128	FunctionParameterID.cpp
129
130	# model
131	Breakpoint.cpp
132	DisassembledCode.cpp
133	FileSourceCode.cpp
134	Image.cpp
135	ImageInfo.cpp
136	SourceCode.cpp
137	StackFrame.cpp
138	StackFrameValues.cpp
139	StackFrameValueInfos.cpp
140	StackTrace.cpp
141	Statement.cpp
142	SymbolInfo.cpp
143	UserBreakpoint.cpp
144	Team.cpp
145	TeamMemory.cpp
146	Thread.cpp
147	ThreadInfo.cpp
148	Type.cpp
149	TypeComponentPath.cpp
150	Variable.cpp
151
152	# settings
153	BreakpointSetting.cpp
154	TeamSettings.cpp
155	SettingsManager.cpp
156
157	# source_language
158	CLanguage.cpp
159	CLanguageFamily.cpp
160	CppLanguage.cpp
161	SourceLanguage.cpp
162	SyntaxHighlighter.cpp
163	UnsupportedLanguage.cpp
164	X86AssemblyLanguage.cpp
165
166	# types
167	ArrayIndexPath.cpp
168	TargetAddressRangeList.cpp
169	ValueLocation.cpp
170
171	# util
172	ArchivingUtils.cpp
173	BitBuffer.cpp
174	StringUtils.cpp
175
176	:
177	<nogrist>Debugger_demangler.o
178	<nogrist>Debugger_disasm_x86.o
179	<nogrist>Debugger_dwarf.o
180	<nogrist>DebugAnalyzer_gui_table.o
181
182	libudis86.a
183	<bin>debug_utils.a
184	libcolumnlistview.a
185	libshared.a
186
187	$(TARGET_LIBSTDC++)
188	be libdebug.so
189
190	: Debugger.rdef
191;
192
193HaikuSubInclude arch x86 disasm ;
194HaikuSubInclude demangler ;
195HaikuSubInclude dwarf ;
196HaikuSubInclude user_interface gui running_teams_window ;
197