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