1 ## Process this file with automake to produce Makefile.in
3 # Copyright (c) 2006, Google Inc.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are
10 # * Redistributions of source code must retain the above copyright
11 # notice, this list of conditions and the following disclaimer.
12 # * Redistributions in binary form must reproduce the above
13 # copyright notice, this list of conditions and the following disclaimer
14 # in the documentation and/or other materials provided with the
16 # * Neither the name of Google Inc. nor the names of its
17 # contributors may be used to endorse or promote products derived from
18 # this software without specific prior written permission.
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 # This allows #includes to be relative to src/
34 AM_CPPFLAGS = -I$(top_srcdir)/src
38 docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
50 lib_LTLIBRARIES = src/libbreakpad.la
52 src_libbreakpad_la_SOURCES = \
53 src/google_breakpad/common/breakpad_types.h \
54 src/google_breakpad/common/minidump_format.h \
55 src/google_breakpad/common/minidump_size.h \
56 src/google_breakpad/processor/basic_source_line_resolver.h \
57 src/google_breakpad/processor/call_stack.h \
58 src/google_breakpad/processor/code_module.h \
59 src/google_breakpad/processor/code_modules.h \
60 src/google_breakpad/processor/memory_region.h \
61 src/google_breakpad/processor/minidump.h \
62 src/google_breakpad/processor/minidump_processor.h \
63 src/google_breakpad/processor/process_state.h \
64 src/google_breakpad/processor/source_line_resolver_interface.h \
65 src/google_breakpad/processor/stack_frame.h \
66 src/google_breakpad/processor/stack_frame_cpu.h \
67 src/google_breakpad/processor/stackwalker.h \
68 src/google_breakpad/processor/symbol_supplier.h \
69 src/google_breakpad/processor/system_info.h \
70 src/processor/address_map-inl.h \
71 src/processor/address_map.h \
72 src/processor/basic_code_module.h \
73 src/processor/basic_code_modules.cc \
74 src/processor/basic_code_modules.h \
75 src/processor/basic_source_line_resolver.cc \
76 src/processor/call_stack.cc \
77 src/processor/contained_range_map-inl.h \
78 src/processor/contained_range_map.h \
79 src/processor/linked_ptr.h \
80 src/processor/logging.h \
81 src/processor/logging.cc \
82 src/processor/minidump.cc \
83 src/processor/minidump_processor.cc \
84 src/processor/pathname_stripper.cc \
85 src/processor/pathname_stripper.h \
86 src/processor/postfix_evaluator-inl.h \
87 src/processor/postfix_evaluator.h \
88 src/processor/process_state.cc \
89 src/processor/range_map-inl.h \
90 src/processor/range_map.h \
91 src/processor/scoped_ptr.h \
92 src/processor/simple_symbol_supplier.cc \
93 src/processor/simple_symbol_supplier.h \
94 src/processor/stack_frame_info.h \
95 src/processor/stackwalker.cc \
96 src/processor/stackwalker_amd64.cc \
97 src/processor/stackwalker_amd64.h \
98 src/processor/stackwalker_ppc.cc \
99 src/processor/stackwalker_ppc.h \
100 src/processor/stackwalker_sparc.cc \
101 src/processor/stackwalker_sparc.h \
102 src/processor/stackwalker_x86.cc \
103 src/processor/stackwalker_x86.h
108 src/processor/minidump_dump \
109 src/processor/minidump_stackwalk
114 src/processor/address_map_unittest \
115 src/processor/basic_source_line_resolver_unittest \
116 src/processor/contained_range_map_unittest \
117 src/processor/minidump_processor_unittest \
118 src/processor/pathname_stripper_unittest \
119 src/processor/postfix_evaluator_unittest \
120 src/processor/range_map_unittest
124 src/processor/stackwalker_selftest
128 src/processor/minidump_dump_test \
129 src/processor/minidump_stackwalk_test \
130 src/processor/minidump_stackwalk_machine_readable_test
132 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
135 src_processor_address_map_unittest_SOURCES = \
136 src/processor/address_map_unittest.cc
137 src_processor_address_map_unittest_LDADD = \
138 src/processor/logging.lo \
139 src/processor/pathname_stripper.lo
141 src_processor_basic_source_line_resolver_unittest_SOURCES = \
142 src/processor/basic_source_line_resolver_unittest.cc
143 src_processor_basic_source_line_resolver_unittest_LDADD = \
144 src/processor/basic_source_line_resolver.lo \
145 src/processor/pathname_stripper.lo \
146 src/processor/logging.lo
148 src_processor_contained_range_map_unittest_SOURCES = \
149 src/processor/contained_range_map_unittest.cc
150 src_processor_contained_range_map_unittest_LDADD = \
151 src/processor/logging.lo \
152 src/processor/pathname_stripper.lo
154 src_processor_minidump_processor_unittest_SOURCES = \
155 src/processor/minidump_processor_unittest.cc
156 src_processor_minidump_processor_unittest_LDADD = \
157 src/processor/basic_code_modules.lo \
158 src/processor/basic_source_line_resolver.lo \
159 src/processor/call_stack.lo \
160 src/processor/logging.lo \
161 src/processor/minidump_processor.lo \
162 src/processor/minidump.lo \
163 src/processor/pathname_stripper.lo \
164 src/processor/process_state.lo \
165 src/processor/stackwalker.lo \
166 src/processor/stackwalker_amd64.lo \
167 src/processor/stackwalker_ppc.lo \
168 src/processor/stackwalker_sparc.lo \
169 src/processor/stackwalker_x86.lo
171 src_processor_pathname_stripper_unittest_SOURCES = \
172 src/processor/pathname_stripper_unittest.cc
173 src_processor_pathname_stripper_unittest_LDADD = \
174 src/processor/pathname_stripper.lo
176 src_processor_postfix_evaluator_unittest_SOURCES = \
177 src/processor/postfix_evaluator_unittest.cc
178 src_processor_postfix_evaluator_unittest_LDADD = \
179 src/processor/logging.lo \
180 src/processor/pathname_stripper.lo
182 src_processor_range_map_unittest_SOURCES = \
183 src/processor/range_map_unittest.cc
184 src_processor_range_map_unittest_LDADD = \
185 src/processor/logging.lo \
186 src/processor/pathname_stripper.lo
188 src_processor_stackwalker_selftest_SOURCES = \
189 src/processor/stackwalker_selftest.cc
190 src_processor_stackwalker_selftest_LDADD = \
191 src/processor/basic_code_modules.lo \
192 src/processor/basic_source_line_resolver.lo \
193 src/processor/call_stack.lo \
194 src/processor/logging.lo \
195 src/processor/minidump.lo \
196 src/processor/pathname_stripper.lo \
197 src/processor/stackwalker.lo \
198 src/processor/stackwalker_amd64.lo \
199 src/processor/stackwalker_ppc.lo \
200 src/processor/stackwalker_sparc.lo \
201 src/processor/stackwalker_x86.lo
205 noinst_SCRIPTS = $(check_SCRIPTS)
207 src_processor_minidump_dump_SOURCES = \
208 src/processor/minidump_dump.cc
209 src_processor_minidump_dump_LDADD = \
210 src/processor/basic_code_modules.lo \
211 src/processor/logging.lo \
212 src/processor/minidump.lo \
213 src/processor/pathname_stripper.lo
215 src_processor_minidump_stackwalk_SOURCES = \
216 src/processor/minidump_stackwalk.cc
217 src_processor_minidump_stackwalk_LDADD = \
218 src/processor/basic_code_modules.lo \
219 src/processor/basic_source_line_resolver.lo \
220 src/processor/call_stack.lo \
221 src/processor/logging.lo \
222 src/processor/minidump.lo \
223 src/processor/minidump_processor.lo \
224 src/processor/pathname_stripper.lo \
225 src/processor/process_state.lo \
226 src/processor/simple_symbol_supplier.lo \
227 src/processor/stackwalker.lo \
228 src/processor/stackwalker_amd64.lo \
229 src/processor/stackwalker_ppc.lo \
230 src/processor/stackwalker_sparc.lo \
231 src/processor/stackwalker_x86.lo
234 ## Additional files to be included in a source distribution
236 ## find src/client src/common src/processor/testdata src/tools \
237 ## -type f \! -path '*/.svn/*' -print | sort | \
238 ## sed -e s/'^\(.*\)$'/'\t\1 \\'/
241 src/processor/stackwalk_selftest_sol.s \
242 src/client/linux/handler/Makefile \
243 src/client/linux/handler/exception_handler.cc \
244 src/client/linux/handler/exception_handler.h \
245 src/client/linux/handler/exception_handler_test.cc \
246 src/client/linux/handler/linux_thread.cc \
247 src/client/linux/handler/linux_thread.h \
248 src/client/linux/handler/linux_thread_test.cc \
249 src/client/linux/handler/minidump_generator.cc \
250 src/client/linux/handler/minidump_generator.h \
251 src/client/linux/handler/minidump_test.cc \
252 src/client/mac/handler/dynamic_images.cc \
253 src/client/mac/handler/dynamic_images.h \
254 src/client/mac/handler/exception_handler.cc \
255 src/client/mac/handler/exception_handler.h \
256 src/client/mac/handler/exception_handler_test.cc \
257 src/client/mac/handler/minidump_generator.cc \
258 src/client/mac/handler/minidump_generator.h \
259 src/client/mac/handler/minidump_generator_test.cc \
260 src/client/mac/handler/minidump_test.xcodeproj/project.pbxproj \
261 src/client/mac/handler/protected_memory_allocator.cc \
262 src/client/mac/handler/protected_memory_allocator.h \
263 src/client/minidump_file_writer-inl.h \
264 src/client/minidump_file_writer.cc \
265 src/client/minidump_file_writer.h \
266 src/client/minidump_file_writer_unittest.cc \
267 src/client/solaris/handler/Makefile \
268 src/client/solaris/handler/exception_handler.cc \
269 src/client/solaris/handler/exception_handler.h \
270 src/client/solaris/handler/exception_handler_test.cc \
271 src/client/solaris/handler/minidump_generator.cc \
272 src/client/solaris/handler/minidump_generator.h \
273 src/client/solaris/handler/minidump_test.cc \
274 src/client/solaris/handler/solaris_lwp.cc \
275 src/client/solaris/handler/solaris_lwp.h \
276 src/client/windows/breakpad_client.sln \
277 src/client/windows/handler/exception_handler.cc \
278 src/client/windows/handler/exception_handler.h \
279 src/client/windows/handler/exception_handler.vcproj \
280 src/client/windows/sender/crash_report_sender.cc \
281 src/client/windows/sender/crash_report_sender.h \
282 src/client/windows/sender/crash_report_sender.vcproj \
283 src/common/convert_UTF.c \
284 src/common/convert_UTF.h \
285 src/common/linux/dump_symbols.cc \
286 src/common/linux/dump_symbols.h \
287 src/common/linux/file_id.cc \
288 src/common/linux/file_id.h \
289 src/common/linux/guid_creator.cc \
290 src/common/linux/guid_creator.h \
291 src/common/linux/http_upload.cc \
292 src/common/linux/http_upload.h \
293 src/common/mac/HTTPMultipartUpload.h \
294 src/common/mac/HTTPMultipartUpload.m \
295 src/common/mac/dump_syms.h \
296 src/common/mac/dump_syms.mm \
297 src/common/mac/file_id.cc \
298 src/common/mac/file_id.h \
299 src/common/mac/macho_id.cc \
300 src/common/mac/macho_id.h \
301 src/common/mac/macho_utilities.cc \
302 src/common/mac/macho_utilities.h \
303 src/common/mac/macho_walker.cc \
304 src/common/mac/macho_walker.h \
305 src/common/mac/string_utilities.cc \
306 src/common/mac/string_utilities.h \
309 src/common/solaris/dump_symbols.cc \
310 src/common/solaris/dump_symbols.h \
311 src/common/solaris/file_id.cc \
312 src/common/solaris/file_id.h \
313 src/common/solaris/guid_creator.cc \
314 src/common/solaris/guid_creator.h \
315 src/common/solaris/message_output.h \
316 src/common/string_conversion.cc \
317 src/common/string_conversion.h \
318 src/common/windows/guid_string.cc \
319 src/common/windows/guid_string.h \
320 src/common/windows/http_upload.cc \
321 src/common/windows/http_upload.h \
322 src/common/windows/pdb_source_line_writer.cc \
323 src/common/windows/pdb_source_line_writer.h \
324 src/common/windows/string_utils-inl.h \
325 src/common/windows/string_utils.cc \
326 src/processor/testdata/minidump2.dmp \
327 src/processor/testdata/minidump2.dump.out \
328 src/processor/testdata/minidump2.stackwalk.machine_readable.out \
329 src/processor/testdata/minidump2.stackwalk.out \
330 src/processor/testdata/module1.out \
331 src/processor/testdata/module2.out \
332 src/processor/testdata/module3_bad.out \
333 src/processor/testdata/module4_bad.out \
334 src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/kernel32.sym \
335 src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/test_app.sym \
336 src/processor/testdata/test_app.cc \
337 src/tools/linux/dump_syms/Makefile \
338 src/tools/linux/dump_syms/dump_syms.cc \
339 src/tools/linux/symupload/Makefile \
340 src/tools/linux/symupload/minidump_upload.cc \
341 src/tools/linux/symupload/sym_upload.cc \
342 src/tools/mac/crash_report/crash_report.mm \
343 src/tools/mac/crash_report/crash_report.xcodeproj/project.pbxproj \
344 src/tools/mac/crash_report/on_demand_symbol_supplier.h \
345 src/tools/mac/crash_report/on_demand_symbol_supplier.mm \
346 src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj \
347 src/tools/mac/dump_syms/dump_syms_tool.m \
348 src/tools/mac/symupload/minidump_upload.m \
349 src/tools/mac/symupload/symupload.m \
350 src/tools/mac/symupload/symupload.xcodeproj/project.pbxproj \
351 src/tools/solaris/dump_syms/Makefile \
352 src/tools/solaris/dump_syms/dump_syms.cc \
353 src/tools/solaris/dump_syms/run_regtest.sh \
354 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.cc \
355 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.o \
356 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.stabs \
357 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.sym \
358 src/tools/windows/converter/ms_symbol_server_converter.cc \
359 src/tools/windows/converter/ms_symbol_server_converter.h \
360 src/tools/windows/converter/ms_symbol_server_converter.vcproj \
361 src/tools/windows/dump_syms/dump_syms.cc \
362 src/tools/windows/dump_syms/dump_syms.vcproj \
363 src/tools/windows/dump_syms/run_regtest.sh \
364 src/tools/windows/dump_syms/testdata/dump_syms_regtest.cc \
365 src/tools/windows/dump_syms/testdata/dump_syms_regtest.pdb \
366 src/tools/windows/dump_syms/testdata/dump_syms_regtest.sym \
367 src/tools/windows/symupload/symupload.cc \
368 src/tools/windows/symupload/symupload.vcproj
372 libtool: $(LIBTOOL_DEPS)
373 $(SHELL) ./config.status --recheck