1 ## Process this file with automake to produce Makefile.in 2 3 # Copyright (c) 2011, Google Inc. 4 # All rights reserved. 5 # 6 # Redistribution and use in source and binary forms, with or without 7 # modification, are permitted provided that the following conditions are 8 # met: 9 # 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 15 # distribution. 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. 19 # 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. 31 32 33 # This allows #includes to be relative to src/ 34 AM_CPPFLAGS = -I$(top_srcdir)/src 35 AM_CFLAGS = 36 AM_CXXFLAGS = 37 38 if ANDROID_HOST 39 # This allows using fixed NDK headers when building for Android. 40 AM_CXXFLAGS += -I$(top_srcdir)/src/common/android/include 41 # This is only necessary for building the unit tests until GTest is upgraded 42 # to a future version. 43 AM_CXXFLAGS += -I$(top_srcdir)/src/common/android/testing/include 44 endif 45 46 if GCC 47 # These are good warnings to be treated as errors 48 AM_CXXFLAGS += \ 49 -Werror=missing-braces \ 50 -Werror=non-virtual-dtor \ 51 -Werror=overloaded-virtual \ 52 -Werror=reorder \ 53 -Werror=sign-compare \ 54 -Werror=unused-variable \ 55 -Werror=vla 56 endif 57 58 if LINUX_HOST 59 # Build as PIC on Linux, for linux_client_unittest_shlib 60 AM_CFLAGS += -fPIC 61 AM_CXXFLAGS += -fPIC 62 endif 63 64 # Specify include paths for ac macros 65 ACLOCAL_AMFLAGS = -I m4 66 67 # License file is called LICENSE not COPYING 68 AUTOMAKE_OPTIONS = foreign 69 70 ## Documentation 71 docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) 72 73 dist_doc_DATA = \ 74 AUTHORS \ 75 ChangeLog \ 76 INSTALL \ 77 LICENSE \ 78 NEWS \ 79 README 80 81 ## Headers 82 if LINUX_HOST 83 includeclhdir = $(includedir)/$(PACKAGE)/client/linux/handler 84 includeclh_HEADERS = $(top_srcdir)/src/client/linux/handler/*.h 85 86 includeclmdir = $(includedir)/$(PACKAGE)/client/linux/minidump_writer 87 includeclm_HEADERS = $(top_srcdir)/src/client/linux/minidump_writer/*.h 88 89 includeclcdir = $(includedir)/$(PACKAGE)/client/linux/crash_generation 90 includeclc_HEADERS = $(top_srcdir)/src/client/linux/crash_generation/*.h 91 92 includelssdir = $(includedir)/$(PACKAGE)/third_party/lss 93 includelss_HEADERS = $(top_srcdir)/src/third_party/lss/*.h 94 95 includecldir = $(includedir)/$(PACKAGE)/common/linux 96 includecl_HEADERS = $(top_srcdir)/src/common/linux/*.h 97 endif 98 99 includegbcdir = $(includedir)/$(PACKAGE)/google_breakpad/common 100 includegbc_HEADERS = $(top_srcdir)/src/google_breakpad/common/*.h 101 102 includecdir = $(includedir)/$(PACKAGE)/common 103 includec_HEADERS = $(top_srcdir)/src/common/*.h 104 105 includepdir = $(includedir)/$(PACKAGE)/processor 106 includep_HEADERS = $(top_srcdir)/src/processor/*.h 107 108 ## pkgconfig files 109 pkgconfigdir = $(libdir)/pkgconfig 110 pkgconfig_DATA = 111 112 ## Libraries 113 noinst_LIBRARIES = 114 lib_LIBRARIES = 115 bin_PROGRAMS = 116 check_PROGRAMS = 117 118 if !DISABLE_PROCESSOR 119 lib_LIBRARIES += src/libbreakpad.a 120 pkgconfig_DATA += breakpad.pc 121 noinst_LIBRARIES += src/third_party/libdisasm/libdisasm.a 122 endif 123 124 if LINUX_HOST 125 lib_LIBRARIES += src/client/linux/libbreakpad_client.a 126 pkgconfig_DATA += breakpad-client.pc 127 128 src_client_linux_libbreakpad_client_a_SOURCES = \ 129 src/client/linux/crash_generation/crash_generation_client.cc \ 130 src/client/linux/crash_generation/crash_generation_server.cc \ 131 src/client/linux/dump_writer_common/seccomp_unwinder.cc \ 132 src/client/linux/dump_writer_common/thread_info.cc \ 133 src/client/linux/dump_writer_common/ucontext_reader.cc \ 134 src/client/linux/handler/exception_handler.cc \ 135 src/client/linux/handler/minidump_descriptor.cc \ 136 src/client/linux/log/log.cc \ 137 src/client/linux/microdump_writer/microdump_writer.cc \ 138 src/client/linux/minidump_writer/linux_dumper.cc \ 139 src/client/linux/minidump_writer/linux_ptrace_dumper.cc \ 140 src/client/linux/minidump_writer/minidump_writer.cc \ 141 src/client/minidump_file_writer.cc \ 142 src/common/convert_UTF.c \ 143 src/common/md5.cc \ 144 src/common/string_conversion.cc \ 145 src/common/linux/elfutils.cc \ 146 src/common/linux/file_id.cc \ 147 src/common/linux/guid_creator.cc \ 148 src/common/linux/linux_libc_support.cc \ 149 src/common/linux/memory_mapped_file.cc \ 150 src/common/linux/safe_readlink.cc 151 if ANDROID_HOST 152 src_client_linux_libbreakpad_client_a_SOURCES += \ 153 src/common/android/breakpad_getcontext.S 154 endif 155 endif LINUX_HOST 156 157 if !DISABLE_PROCESSOR 158 src_libbreakpad_a_SOURCES = \ 159 src/google_breakpad/common/breakpad_types.h \ 160 src/google_breakpad/common/minidump_format.h \ 161 src/google_breakpad/common/minidump_size.h \ 162 src/google_breakpad/processor/basic_source_line_resolver.h \ 163 src/google_breakpad/processor/call_stack.h \ 164 src/google_breakpad/processor/code_module.h \ 165 src/google_breakpad/processor/code_modules.h \ 166 src/google_breakpad/processor/dump_context.h \ 167 src/google_breakpad/processor/dump_object.h \ 168 src/google_breakpad/processor/exploitability.h \ 169 src/google_breakpad/processor/fast_source_line_resolver.h \ 170 src/google_breakpad/processor/memory_region.h \ 171 src/google_breakpad/processor/microdump.h \ 172 src/google_breakpad/processor/microdump_processor.h \ 173 src/google_breakpad/processor/minidump.h \ 174 src/google_breakpad/processor/minidump_processor.h \ 175 src/google_breakpad/processor/process_result.h \ 176 src/google_breakpad/processor/process_state.h \ 177 src/google_breakpad/processor/source_line_resolver_base.h \ 178 src/google_breakpad/processor/source_line_resolver_interface.h \ 179 src/google_breakpad/processor/stack_frame.h \ 180 src/google_breakpad/processor/stack_frame_cpu.h \ 181 src/google_breakpad/processor/stack_frame_symbolizer.h \ 182 src/google_breakpad/processor/stackwalker.h \ 183 src/google_breakpad/processor/symbol_supplier.h \ 184 src/google_breakpad/processor/system_info.h \ 185 src/processor/address_map-inl.h \ 186 src/processor/address_map.h \ 187 src/processor/basic_code_module.h \ 188 src/processor/basic_code_modules.cc \ 189 src/processor/basic_code_modules.h \ 190 src/processor/basic_source_line_resolver_types.h \ 191 src/processor/basic_source_line_resolver.cc \ 192 src/processor/binarystream.h \ 193 src/processor/binarystream.cc \ 194 src/processor/call_stack.cc \ 195 src/processor/cfi_frame_info.cc \ 196 src/processor/cfi_frame_info.h \ 197 src/processor/contained_range_map-inl.h \ 198 src/processor/contained_range_map.h \ 199 src/processor/disassembler_x86.h \ 200 src/processor/disassembler_x86.cc \ 201 src/processor/dump_context.cc \ 202 src/processor/dump_object.cc \ 203 src/processor/exploitability.cc \ 204 src/processor/exploitability_linux.h \ 205 src/processor/exploitability_linux.cc \ 206 src/processor/exploitability_win.h \ 207 src/processor/exploitability_win.cc \ 208 src/processor/fast_source_line_resolver_types.h \ 209 src/processor/fast_source_line_resolver.cc \ 210 src/processor/linked_ptr.h \ 211 src/processor/logging.h \ 212 src/processor/logging.cc \ 213 src/processor/map_serializers-inl.h \ 214 src/processor/map_serializers.h \ 215 src/processor/microdump.cc \ 216 src/processor/microdump_processor.cc \ 217 src/processor/minidump.cc \ 218 src/processor/minidump_processor.cc \ 219 src/processor/module_comparer.cc \ 220 src/processor/module_comparer.h \ 221 src/processor/module_factory.h \ 222 src/processor/module_serializer.cc \ 223 src/processor/module_serializer.h \ 224 src/processor/pathname_stripper.cc \ 225 src/processor/pathname_stripper.h \ 226 src/processor/postfix_evaluator-inl.h \ 227 src/processor/postfix_evaluator.h \ 228 src/processor/process_state.cc \ 229 src/processor/range_map-inl.h \ 230 src/processor/range_map.h \ 231 src/processor/simple_serializer-inl.h \ 232 src/processor/simple_serializer.h \ 233 src/processor/simple_symbol_supplier.cc \ 234 src/processor/simple_symbol_supplier.h \ 235 src/processor/windows_frame_info.h \ 236 src/processor/source_line_resolver_base_types.h \ 237 src/processor/source_line_resolver_base.cc \ 238 src/processor/stack_frame_cpu.cc \ 239 src/processor/stack_frame_symbolizer.cc \ 240 src/processor/stackwalker.cc \ 241 src/processor/stackwalker_amd64.cc \ 242 src/processor/stackwalker_amd64.h \ 243 src/processor/stackwalker_arm.cc \ 244 src/processor/stackwalker_arm.h \ 245 src/processor/stackwalker_arm64.cc \ 246 src/processor/stackwalker_arm64.h \ 247 src/processor/stackwalker_address_list.cc \ 248 src/processor/stackwalker_address_list.h \ 249 src/processor/stackwalker_mips.cc \ 250 src/processor/stackwalker_mips.h \ 251 src/processor/stackwalker_ppc.cc \ 252 src/processor/stackwalker_ppc.h \ 253 src/processor/stackwalker_ppc64.cc \ 254 src/processor/stackwalker_ppc64.h \ 255 src/processor/stackwalker_sparc.cc \ 256 src/processor/stackwalker_sparc.h \ 257 src/processor/stackwalker_x86.cc \ 258 src/processor/stackwalker_x86.h \ 259 src/processor/static_address_map-inl.h \ 260 src/processor/static_address_map.h \ 261 src/processor/static_contained_range_map-inl.h \ 262 src/processor/static_contained_range_map.h \ 263 src/processor/static_map_iterator-inl.h \ 264 src/processor/static_map_iterator.h \ 265 src/processor/static_map-inl.h \ 266 src/processor/static_map.h \ 267 src/processor/static_range_map-inl.h \ 268 src/processor/static_range_map.h \ 269 src/processor/symbolic_constants_win.cc \ 270 src/processor/symbolic_constants_win.h \ 271 src/processor/tokenize.cc \ 272 src/processor/tokenize.h 273 274 src_libbreakpad_a_LIBADD = src/third_party/libdisasm/libdisasm.a 275 276 src_third_party_libdisasm_libdisasm_a_SOURCES = \ 277 src/third_party/libdisasm/ia32_implicit.c \ 278 src/third_party/libdisasm/ia32_implicit.h \ 279 src/third_party/libdisasm/ia32_insn.c \ 280 src/third_party/libdisasm/ia32_insn.h \ 281 src/third_party/libdisasm/ia32_invariant.c \ 282 src/third_party/libdisasm/ia32_invariant.h \ 283 src/third_party/libdisasm/ia32_modrm.c \ 284 src/third_party/libdisasm/ia32_modrm.h \ 285 src/third_party/libdisasm/ia32_opcode_tables.c \ 286 src/third_party/libdisasm/ia32_opcode_tables.h \ 287 src/third_party/libdisasm/ia32_operand.c \ 288 src/third_party/libdisasm/ia32_operand.h \ 289 src/third_party/libdisasm/ia32_reg.c \ 290 src/third_party/libdisasm/ia32_reg.h \ 291 src/third_party/libdisasm/ia32_settings.c \ 292 src/third_party/libdisasm/ia32_settings.h \ 293 src/third_party/libdisasm/libdis.h \ 294 src/third_party/libdisasm/qword.h \ 295 src/third_party/libdisasm/x86_disasm.c \ 296 src/third_party/libdisasm/x86_format.c \ 297 src/third_party/libdisasm/x86_imm.c \ 298 src/third_party/libdisasm/x86_imm.h \ 299 src/third_party/libdisasm/x86_insn.c \ 300 src/third_party/libdisasm/x86_misc.c \ 301 src/third_party/libdisasm/x86_operand_list.c \ 302 src/third_party/libdisasm/x86_operand_list.h 303 304 ## Programs 305 bin_PROGRAMS += \ 306 src/processor/microdump_stackwalk \ 307 src/processor/minidump_dump \ 308 src/processor/minidump_stackwalk 309 endif !DISABLE_PROCESSOR 310 311 if LINUX_HOST 312 bin_PROGRAMS += \ 313 src/client/linux/linux_dumper_unittest_helper 314 315 if !DISABLE_TOOLS 316 bin_PROGRAMS += \ 317 src/tools/linux/core2md/core2md \ 318 src/tools/linux/dump_syms/dump_syms \ 319 src/tools/linux/md2core/minidump-2-core \ 320 src/tools/linux/symupload/minidump_upload \ 321 src/tools/linux/symupload/sym_upload 322 endif 323 endif LINUX_HOST 324 325 326 ## Tests 327 if !DISABLE_PROCESSOR 328 check_PROGRAMS += \ 329 src/common/test_assembler_unittest \ 330 src/processor/address_map_unittest \ 331 src/processor/binarystream_unittest \ 332 src/processor/basic_source_line_resolver_unittest \ 333 src/processor/cfi_frame_info_unittest \ 334 src/processor/contained_range_map_unittest \ 335 src/processor/disassembler_x86_unittest \ 336 src/processor/exploitability_unittest \ 337 src/processor/fast_source_line_resolver_unittest \ 338 src/processor/map_serializers_unittest \ 339 src/processor/microdump_processor_unittest \ 340 src/processor/minidump_processor_unittest \ 341 src/processor/minidump_unittest \ 342 src/processor/static_address_map_unittest \ 343 src/processor/static_contained_range_map_unittest \ 344 src/processor/static_map_unittest \ 345 src/processor/static_range_map_unittest \ 346 src/processor/pathname_stripper_unittest \ 347 src/processor/postfix_evaluator_unittest \ 348 src/processor/range_map_unittest \ 349 src/processor/stackwalker_amd64_unittest \ 350 src/processor/stackwalker_arm_unittest \ 351 src/processor/stackwalker_arm64_unittest \ 352 src/processor/stackwalker_address_list_unittest \ 353 src/processor/stackwalker_mips_unittest \ 354 src/processor/stackwalker_x86_unittest \ 355 src/processor/synth_minidump_unittest 356 endif 357 358 if LINUX_HOST 359 EXTRA_PROGRAMS = \ 360 src/client/linux/linux_client_unittest_shlib 361 362 check_PROGRAMS += \ 363 src/client/linux/linux_client_unittest 364 365 if !DISABLE_TOOLS 366 check_PROGRAMS += \ 367 src/common/dumper_unittest \ 368 src/tools/linux/md2core/minidump_2_core_unittest 369 endif 370 endif LINUX_HOST 371 372 if !DISABLE_PROCESSOR 373 if SELFTEST 374 check_PROGRAMS += \ 375 src/processor/stackwalker_selftest 376 endif SELFTEST 377 endif !DISABLE_PROCESSOR 378 379 if !DISABLE_PROCESSOR 380 check_SCRIPTS = \ 381 src/processor/microdump_stackwalk_test \ 382 src/processor/microdump_stackwalk_machine_readable_test \ 383 src/processor/minidump_dump_test \ 384 src/processor/minidump_stackwalk_test \ 385 src/processor/minidump_stackwalk_machine_readable_test 386 endif 387 388 TESTS = $(check_PROGRAMS) $(check_SCRIPTS) 389 390 if ANDROID_HOST 391 # Since Autotools 1.2, tests are run through a special "test driver" script. 392 # Unfortunately, it's not possible anymore to specify an alternative shell to 393 # run them on connected devices, so use a slightly modified version of the 394 # driver for Android. 395 LOG_DRIVER = $(top_srcdir)/android/test-driver 396 else 397 # The default Autotools test driver script. 398 LOG_DRIVER = $(top_srcdir)/autotools/test-driver 399 endif 400 401 if LINUX_HOST 402 src_client_linux_linux_dumper_unittest_helper_SOURCES = \ 403 src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc 404 src_client_linux_linux_dumper_unittest_helper_LDFLAGS=$(PTHREAD_CFLAGS) 405 src_client_linux_linux_dumper_unittest_helper_CC=$(PTHREAD_CC) 406 if ANDROID_HOST 407 # On Android PTHREAD_CFLAGS is empty, and adding src/common/android/include 408 # to the include path is necessary to build this program. 409 src_client_linux_linux_dumper_unittest_helper_CXXFLAGS=$(AM_CXXFLAGS) 410 else 411 src_client_linux_linux_dumper_unittest_helper_CXXFLAGS=$(PTHREAD_CFLAGS) 412 endif 413 414 src_client_linux_linux_client_unittest_shlib_SOURCES = \ 415 src/client/linux/handler/exception_handler_unittest.cc \ 416 src/client/linux/minidump_writer/directory_reader_unittest.cc \ 417 src/client/linux/minidump_writer/cpu_set_unittest.cc \ 418 src/client/linux/minidump_writer/line_reader_unittest.cc \ 419 src/client/linux/minidump_writer/linux_core_dumper.cc \ 420 src/client/linux/minidump_writer/linux_core_dumper_unittest.cc \ 421 src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc \ 422 src/client/linux/minidump_writer/minidump_writer_unittest.cc \ 423 src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc \ 424 src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc \ 425 src/common/linux/elf_core_dump.cc \ 426 src/common/linux/linux_libc_support_unittest.cc \ 427 src/common/linux/tests/crash_generator.cc \ 428 src/common/memory_unittest.cc \ 429 src/common/tests/file_utils.cc \ 430 src/testing/gtest/src/gtest-all.cc \ 431 src/testing/gtest/src/gtest_main.cc \ 432 src/testing/src/gmock-all.cc \ 433 src/processor/basic_code_modules.cc \ 434 src/processor/dump_context.cc \ 435 src/processor/dump_object.cc \ 436 src/processor/logging.cc \ 437 src/processor/minidump.cc \ 438 src/processor/pathname_stripper.cc 439 if ANDROID_HOST 440 src_client_linux_linux_client_unittest_shlib_SOURCES += \ 441 src/common/android/breakpad_getcontext.S 442 endif 443 if LINUX_HOST 444 src_client_linux_linux_client_unittest_shlib_SOURCES += \ 445 src/client/linux/microdump_writer/microdump_writer_unittest.cc 446 endif 447 448 src_client_linux_linux_client_unittest_shlib_CPPFLAGS = \ 449 -I$(top_srcdir)/src \ 450 -I$(top_srcdir)/src/testing/include \ 451 -I$(top_srcdir)/src/testing/gtest/include \ 452 -I$(top_srcdir)/src/testing/gtest \ 453 -I$(top_srcdir)/src/testing 454 src_client_linux_linux_client_unittest_shlib_LDFLAGS = \ 455 -shared \ 456 -Wl,-h,linux_client_unittest_shlib 457 src_client_linux_linux_client_unittest_shlib_LDADD = \ 458 src/client/linux/crash_generation/crash_generation_client.o \ 459 src/client/linux/dump_writer_common/seccomp_unwinder.o \ 460 src/client/linux/dump_writer_common/thread_info.o \ 461 src/client/linux/dump_writer_common/ucontext_reader.o \ 462 src/client/linux/handler/exception_handler.o \ 463 src/client/linux/handler/minidump_descriptor.o \ 464 src/client/linux/log/log.o \ 465 src/client/linux/microdump_writer/microdump_writer.o \ 466 src/client/linux/minidump_writer/linux_dumper.o \ 467 src/client/linux/minidump_writer/linux_ptrace_dumper.o \ 468 src/client/linux/minidump_writer/minidump_writer.o \ 469 src/client/minidump_file_writer.o \ 470 src/common/convert_UTF.o \ 471 src/common/md5.o \ 472 src/common/linux/elfutils.o \ 473 src/common/linux/file_id.o \ 474 src/common/linux/guid_creator.o \ 475 src/common/linux/linux_libc_support.o \ 476 src/common/linux/memory_mapped_file.o \ 477 src/common/linux/safe_readlink.o \ 478 src/common/string_conversion.o \ 479 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 480 if ANDROID_HOST 481 src_client_linux_linux_client_unittest_shlib_SOURCES += \ 482 src/common/android/breakpad_getcontext_unittest.cc 483 src_client_linux_linux_client_unittest_shlib_LDFLAGS += \ 484 -llog -lm 485 endif 486 487 src_client_linux_linux_client_unittest_shlib_DEPENDENCIES = \ 488 src/client/linux/linux_dumper_unittest_helper \ 489 src/client/linux/libbreakpad_client.a \ 490 src/libbreakpad.a 491 492 src_client_linux_linux_client_unittest_SOURCES = 493 src_client_linux_linux_client_unittest_LDFLAGS = \ 494 -Wl,-rpath,'$$ORIGIN' 495 if ANDROID_HOST 496 src_client_linux_linux_client_unittest_LDFLAGS += \ 497 -llog 498 endif 499 500 src_client_linux_linux_client_unittest_LDADD = \ 501 src/client/linux/linux_client_unittest_shlib 502 503 src_client_linux_linux_client_unittest_DEPENDENCIES = \ 504 src/client/linux/linux_client_unittest_shlib 505 506 if !DISABLE_TOOLS 507 src_tools_linux_core2md_core2md_SOURCES = \ 508 src/tools/linux/core2md/core2md.cc \ 509 src/client/linux/minidump_writer/linux_core_dumper.cc \ 510 src/common/linux/elf_core_dump.cc 511 512 src_tools_linux_core2md_core2md_LDADD = \ 513 src/client/linux/libbreakpad_client.a 514 515 src_tools_linux_dump_syms_dump_syms_SOURCES = \ 516 src/common/dwarf_cfi_to_module.cc \ 517 src/common/dwarf_cu_to_module.cc \ 518 src/common/dwarf_line_to_module.cc \ 519 src/common/language.cc \ 520 src/common/module.cc \ 521 src/common/stabs_reader.cc \ 522 src/common/stabs_to_module.cc \ 523 src/common/dwarf/bytereader.cc \ 524 src/common/dwarf/dwarf2diehandler.cc \ 525 src/common/dwarf/dwarf2reader.cc \ 526 src/common/linux/crc32.cc \ 527 src/common/linux/dump_symbols.cc \ 528 src/common/linux/elf_symbols_to_module.cc \ 529 src/common/linux/elfutils.cc \ 530 src/common/linux/file_id.cc \ 531 src/common/linux/linux_libc_support.cc \ 532 src/common/linux/memory_mapped_file.cc \ 533 src/common/linux/safe_readlink.cc \ 534 src/tools/linux/dump_syms/dump_syms.cc 535 536 src_tools_linux_md2core_minidump_2_core_SOURCES = \ 537 src/common/linux/memory_mapped_file.cc \ 538 src/tools/linux/md2core/minidump-2-core.cc 539 540 src_tools_linux_symupload_minidump_upload_SOURCES = \ 541 src/common/linux/http_upload.cc \ 542 src/tools/linux/symupload/minidump_upload.cc 543 src_tools_linux_symupload_minidump_upload_LDADD = -ldl 544 545 src_tools_linux_symupload_sym_upload_SOURCES = \ 546 src/common/linux/http_upload.cc \ 547 src/tools/linux/symupload/sym_upload.cc 548 src_tools_linux_symupload_sym_upload_LDADD = -ldl 549 550 src_common_dumper_unittest_SOURCES = \ 551 src/common/byte_cursor_unittest.cc \ 552 src/common/dwarf_cfi_to_module.cc \ 553 src/common/dwarf_cfi_to_module_unittest.cc \ 554 src/common/dwarf_cu_to_module.cc \ 555 src/common/dwarf_cu_to_module_unittest.cc \ 556 src/common/dwarf_line_to_module.cc \ 557 src/common/dwarf_line_to_module_unittest.cc \ 558 src/common/language.cc \ 559 src/common/memory_range_unittest.cc \ 560 src/common/module.cc \ 561 src/common/module_unittest.cc \ 562 src/common/stabs_reader.cc \ 563 src/common/stabs_reader_unittest.cc \ 564 src/common/stabs_to_module.cc \ 565 src/common/stabs_to_module_unittest.cc \ 566 src/common/test_assembler.cc \ 567 src/common/dwarf/bytereader.cc \ 568 src/common/dwarf/bytereader_unittest.cc \ 569 src/common/dwarf/cfi_assembler.cc \ 570 src/common/dwarf/dwarf2diehandler.cc \ 571 src/common/dwarf/dwarf2diehandler_unittest.cc \ 572 src/common/dwarf/dwarf2reader.cc \ 573 src/common/dwarf/dwarf2reader_cfi_unittest.cc \ 574 src/common/dwarf/dwarf2reader_die_unittest.cc \ 575 src/common/linux/crc32.cc \ 576 src/common/linux/dump_symbols.cc \ 577 src/common/linux/dump_symbols_unittest.cc \ 578 src/common/linux/elf_core_dump.cc \ 579 src/common/linux/elf_core_dump_unittest.cc \ 580 src/common/linux/elf_symbols_to_module.cc \ 581 src/common/linux/elf_symbols_to_module_unittest.cc \ 582 src/common/linux/elfutils.cc \ 583 src/common/linux/file_id.cc \ 584 src/common/linux/file_id_unittest.cc \ 585 src/common/linux/linux_libc_support.cc \ 586 src/common/linux/memory_mapped_file.cc \ 587 src/common/linux/memory_mapped_file_unittest.cc \ 588 src/common/linux/safe_readlink.cc \ 589 src/common/linux/safe_readlink_unittest.cc \ 590 src/common/linux/synth_elf.cc \ 591 src/common/linux/synth_elf_unittest.cc \ 592 src/common/linux/tests/crash_generator.cc \ 593 src/common/tests/file_utils.cc \ 594 src/testing/gtest/src/gtest-all.cc \ 595 src/testing/gtest/src/gtest_main.cc \ 596 src/testing/src/gmock-all.cc 597 src_common_dumper_unittest_CPPFLAGS = \ 598 -I$(top_srcdir)/src \ 599 -I$(top_srcdir)/src/testing/include \ 600 -I$(top_srcdir)/src/testing/gtest/include \ 601 -I$(top_srcdir)/src/testing/gtest \ 602 -I$(top_srcdir)/src/testing \ 603 $(PTHREAD_CFLAGS) 604 src_common_dumper_unittest_LDADD = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 605 endif 606 607 src_tools_linux_md2core_minidump_2_core_unittest_SOURCES = \ 608 src/testing/gtest/src/gtest-all.cc \ 609 src/testing/gtest/src/gtest_main.cc \ 610 src/testing/src/gmock-all.cc \ 611 src/tools/linux/md2core/minidump_memory_range_unittest.cc 612 src_tools_linux_md2core_minidump_2_core_unittest_CPPFLAGS = \ 613 -I$(top_srcdir)/src \ 614 -I$(top_srcdir)/src/testing/include \ 615 -I$(top_srcdir)/src/testing/gtest/include \ 616 -I$(top_srcdir)/src/testing/gtest \ 617 -I$(top_srcdir)/src/testing 618 src_tools_linux_md2core_minidump_2_core_unittest_LDADD = \ 619 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 620 621 endif LINUX_HOST 622 623 if !DISABLE_PROCESSOR 624 src_processor_address_map_unittest_SOURCES = \ 625 src/processor/address_map_unittest.cc 626 src_processor_address_map_unittest_LDADD = \ 627 src/processor/logging.o \ 628 src/processor/pathname_stripper.o 629 630 src_processor_binarystream_unittest_SOURCES = \ 631 src/processor/binarystream_unittest.cc \ 632 src/testing/gtest/src/gtest-all.cc \ 633 src/testing/src/gmock-all.cc 634 src_processor_binarystream_unittest_CPPFLAGS = \ 635 -I$(top_srcdir)/src \ 636 -I$(top_srcdir)/src/testing/include \ 637 -I$(top_srcdir)/src/testing/gtest/include \ 638 -I$(top_srcdir)/src/testing/gtest \ 639 -I$(top_srcdir)/src/testing 640 src_processor_binarystream_unittest_LDADD = \ 641 src/processor/binarystream.o \ 642 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 643 644 src_processor_basic_source_line_resolver_unittest_SOURCES = \ 645 src/processor/basic_source_line_resolver_unittest.cc \ 646 src/testing/gtest/src/gtest-all.cc \ 647 src/testing/src/gmock-all.cc 648 src_processor_basic_source_line_resolver_unittest_CPPFLAGS = \ 649 -I$(top_srcdir)/src \ 650 -I$(top_srcdir)/src/testing/include \ 651 -I$(top_srcdir)/src/testing/gtest/include \ 652 -I$(top_srcdir)/src/testing/gtest \ 653 -I$(top_srcdir)/src/testing 654 src_processor_basic_source_line_resolver_unittest_LDADD = \ 655 src/processor/basic_source_line_resolver.o \ 656 src/processor/cfi_frame_info.o \ 657 src/processor/pathname_stripper.o \ 658 src/processor/logging.o \ 659 src/processor/source_line_resolver_base.o \ 660 src/processor/tokenize.o \ 661 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 662 663 src_processor_cfi_frame_info_unittest_SOURCES = \ 664 src/processor/cfi_frame_info_unittest.cc \ 665 src/testing/gtest/src/gtest-all.cc \ 666 src/testing/gtest/src/gtest_main.cc \ 667 src/testing/src/gmock-all.cc 668 src_processor_cfi_frame_info_unittest_LDADD = \ 669 src/processor/cfi_frame_info.o \ 670 src/processor/logging.o \ 671 src/processor/pathname_stripper.o \ 672 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 673 src_processor_cfi_frame_info_unittest_CPPFLAGS = \ 674 -I$(top_srcdir)/src \ 675 -I$(top_srcdir)/src/testing/include \ 676 -I$(top_srcdir)/src/testing/gtest/include \ 677 -I$(top_srcdir)/src/testing/gtest \ 678 -I$(top_srcdir)/src/testing 679 680 src_processor_contained_range_map_unittest_SOURCES = \ 681 src/processor/contained_range_map_unittest.cc 682 src_processor_contained_range_map_unittest_LDADD = \ 683 src/processor/logging.o \ 684 src/processor/pathname_stripper.o 685 686 src_processor_exploitability_unittest_SOURCES = \ 687 src/processor/exploitability_unittest.cc \ 688 src/testing/gtest/src/gtest-all.cc \ 689 src/testing/gtest/src/gtest_main.cc \ 690 src/testing/src/gmock-all.cc 691 src_processor_exploitability_unittest_CPPFLAGS = \ 692 -I$(top_srcdir)/src \ 693 -I$(top_srcdir)/src/testing/include \ 694 -I$(top_srcdir)/src/testing/gtest/include \ 695 -I$(top_srcdir)/src/testing/gtest \ 696 -I$(top_srcdir)/src/testing 697 src_processor_exploitability_unittest_LDADD = \ 698 src/processor/minidump_processor.o \ 699 src/processor/process_state.o \ 700 src/processor/disassembler_x86.o \ 701 src/processor/exploitability.o \ 702 src/processor/exploitability_linux.o \ 703 src/processor/exploitability_win.o \ 704 src/processor/basic_code_modules.o \ 705 src/processor/basic_source_line_resolver.o \ 706 src/processor/call_stack.o \ 707 src/processor/cfi_frame_info.o \ 708 src/processor/dump_context.o \ 709 src/processor/dump_object.o \ 710 src/processor/logging.o \ 711 src/processor/minidump.o \ 712 src/processor/pathname_stripper.o \ 713 src/processor/simple_symbol_supplier.o \ 714 src/processor/source_line_resolver_base.o \ 715 src/processor/stack_frame_cpu.o \ 716 src/processor/stack_frame_symbolizer.o \ 717 src/processor/stackwalker.o \ 718 src/processor/stackwalker_address_list.o \ 719 src/processor/stackwalker_amd64.o \ 720 src/processor/stackwalker_arm.o \ 721 src/processor/stackwalker_arm64.o \ 722 src/processor/stackwalker_mips.o \ 723 src/processor/stackwalker_ppc.o \ 724 src/processor/stackwalker_ppc64.o \ 725 src/processor/stackwalker_sparc.o \ 726 src/processor/stackwalker_x86.o \ 727 src/processor/symbolic_constants_win.o \ 728 src/processor/tokenize.o \ 729 src/third_party/libdisasm/libdisasm.a \ 730 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 731 732 src_processor_disassembler_x86_unittest_SOURCES = \ 733 src/processor/disassembler_x86_unittest.cc \ 734 src/testing/gtest/src/gtest-all.cc \ 735 src/testing/gtest/src/gtest_main.cc \ 736 src/testing/src/gmock-all.cc 737 src_processor_disassembler_x86_unittest_CPPFLAGS = \ 738 -I$(top_srcdir)/src \ 739 -I$(top_srcdir)/src/testing/include \ 740 -I$(top_srcdir)/src/testing/gtest/include \ 741 -I$(top_srcdir)/src/testing/gtest \ 742 -I$(top_srcdir)/src/testing 743 src_processor_disassembler_x86_unittest_LDADD = \ 744 src/processor/disassembler_x86.o \ 745 src/third_party/libdisasm/libdisasm.a \ 746 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 747 748 src_processor_fast_source_line_resolver_unittest_SOURCES = \ 749 src/processor/fast_source_line_resolver_unittest.cc \ 750 src/testing/gtest/src/gtest-all.cc \ 751 src/testing/src/gmock-all.cc 752 src_processor_fast_source_line_resolver_unittest_CPPFLAGS = \ 753 -I$(top_srcdir)/src \ 754 -I$(top_srcdir)/src/testing/include \ 755 -I$(top_srcdir)/src/testing/gtest/include \ 756 -I$(top_srcdir)/src/testing/gtest \ 757 -I$(top_srcdir)/src/testing 758 src_processor_fast_source_line_resolver_unittest_LDADD = \ 759 src/processor/fast_source_line_resolver.o \ 760 src/processor/basic_source_line_resolver.o \ 761 src/processor/cfi_frame_info.o \ 762 src/processor/module_comparer.o \ 763 src/processor/module_serializer.o \ 764 src/processor/pathname_stripper.o \ 765 src/processor/logging.o \ 766 src/processor/source_line_resolver_base.o \ 767 src/processor/tokenize.o \ 768 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 769 770 src_processor_map_serializers_unittest_SOURCES = \ 771 src/processor/map_serializers_unittest.cc \ 772 src/testing/gtest/src/gtest-all.cc \ 773 src/testing/src/gmock-all.cc 774 src_processor_map_serializers_unittest_CPPFLAGS = \ 775 -I$(top_srcdir)/src \ 776 -I$(top_srcdir)/src/testing/include \ 777 -I$(top_srcdir)/src/testing/gtest/include \ 778 -I$(top_srcdir)/src/testing/gtest \ 779 -I$(top_srcdir)/src/testing 780 src_processor_map_serializers_unittest_LDADD = \ 781 src/processor/logging.o \ 782 src/processor/pathname_stripper.o \ 783 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 784 785 src_processor_microdump_processor_unittest_SOURCES = \ 786 src/processor/microdump_processor_unittest.cc \ 787 src/testing/gtest/src/gtest-all.cc \ 788 src/testing/src/gmock-all.cc 789 src_processor_microdump_processor_unittest_CPPFLAGS = \ 790 -I$(top_srcdir)/src \ 791 -I$(top_srcdir)/src/testing/include \ 792 -I$(top_srcdir)/src/testing/gtest/include \ 793 -I$(top_srcdir)/src/testing/gtest \ 794 -I$(top_srcdir)/src/testing 795 src_processor_microdump_processor_unittest_LDADD = \ 796 src/processor/basic_code_modules.o \ 797 src/processor/basic_source_line_resolver.o \ 798 src/processor/call_stack.o \ 799 src/processor/cfi_frame_info.o \ 800 src/processor/dump_context.o \ 801 src/processor/dump_object.o \ 802 src/processor/logging.o \ 803 src/processor/microdump.o \ 804 src/processor/microdump_processor.o \ 805 src/processor/pathname_stripper.o \ 806 src/processor/process_state.o \ 807 src/processor/simple_symbol_supplier.o \ 808 src/processor/source_line_resolver_base.o \ 809 src/processor/stack_frame_symbolizer.o \ 810 src/processor/stackwalker.o \ 811 src/processor/stackwalker_address_list.o \ 812 src/processor/stackwalker_amd64.o \ 813 src/processor/stackwalker_arm.o \ 814 src/processor/stackwalker_arm64.o \ 815 src/processor/stackwalker_mips.o \ 816 src/processor/stackwalker_ppc.o \ 817 src/processor/stackwalker_ppc64.o \ 818 src/processor/stackwalker_sparc.o \ 819 src/processor/stackwalker_x86.o \ 820 src/processor/tokenize.o \ 821 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 822 823 src_processor_minidump_processor_unittest_SOURCES = \ 824 src/processor/minidump_processor_unittest.cc \ 825 src/testing/gtest/src/gtest-all.cc \ 826 src/testing/src/gmock-all.cc 827 src_processor_minidump_processor_unittest_CPPFLAGS = \ 828 -I$(top_srcdir)/src \ 829 -I$(top_srcdir)/src/testing/include \ 830 -I$(top_srcdir)/src/testing/gtest/include \ 831 -I$(top_srcdir)/src/testing/gtest \ 832 -I$(top_srcdir)/src/testing 833 src_processor_minidump_processor_unittest_LDADD = \ 834 src/processor/basic_code_modules.o \ 835 src/processor/basic_source_line_resolver.o \ 836 src/processor/call_stack.o \ 837 src/processor/cfi_frame_info.o \ 838 src/processor/disassembler_x86.o \ 839 src/processor/dump_context.o \ 840 src/processor/dump_object.o \ 841 src/processor/exploitability.o \ 842 src/processor/exploitability_linux.o \ 843 src/processor/exploitability_win.o \ 844 src/processor/logging.o \ 845 src/processor/minidump_processor.o \ 846 src/processor/minidump.o \ 847 src/processor/pathname_stripper.o \ 848 src/processor/process_state.o \ 849 src/processor/source_line_resolver_base.o \ 850 src/processor/stack_frame_cpu.o \ 851 src/processor/stack_frame_symbolizer.o \ 852 src/processor/stackwalker.o \ 853 src/processor/stackwalker_address_list.o \ 854 src/processor/stackwalker_amd64.o \ 855 src/processor/stackwalker_arm.o \ 856 src/processor/stackwalker_arm64.o \ 857 src/processor/stackwalker_mips.o \ 858 src/processor/stackwalker_ppc.o \ 859 src/processor/stackwalker_ppc64.o \ 860 src/processor/stackwalker_sparc.o \ 861 src/processor/stackwalker_x86.o \ 862 src/processor/symbolic_constants_win.o \ 863 src/processor/tokenize.o \ 864 src/third_party/libdisasm/libdisasm.a \ 865 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 866 867 src_processor_minidump_unittest_SOURCES = \ 868 src/common/test_assembler.cc \ 869 src/processor/minidump_unittest.cc \ 870 src/processor/synth_minidump.cc \ 871 src/testing/gtest/src/gtest-all.cc \ 872 src/testing/gtest/src/gtest_main.cc \ 873 src/testing/src/gmock-all.cc 874 src_processor_minidump_unittest_CPPFLAGS = \ 875 -I$(top_srcdir)/src \ 876 -I$(top_srcdir)/src/testing/include \ 877 -I$(top_srcdir)/src/testing/gtest/include \ 878 -I$(top_srcdir)/src/testing/gtest \ 879 -I$(top_srcdir)/src/testing 880 src_processor_minidump_unittest_LDADD = \ 881 src/processor/basic_code_modules.o \ 882 src/processor/dump_context.o \ 883 src/processor/dump_object.o \ 884 src/processor/logging.o \ 885 src/processor/minidump.o \ 886 src/processor/pathname_stripper.o \ 887 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 888 889 src_processor_static_address_map_unittest_SOURCES = \ 890 src/processor/static_address_map_unittest.cc \ 891 src/testing/gtest/src/gtest-all.cc \ 892 src/testing/src/gmock-all.cc 893 src_processor_static_address_map_unittest_CPPFLAGS = \ 894 -I$(top_srcdir)/src \ 895 -I$(top_srcdir)/src/testing/include \ 896 -I$(top_srcdir)/src/testing/gtest/include \ 897 -I$(top_srcdir)/src/testing/gtest \ 898 -I$(top_srcdir)/src/testing 899 src_processor_static_address_map_unittest_LDADD = \ 900 src/processor/logging.o \ 901 src/processor/pathname_stripper.o \ 902 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 903 904 src_processor_static_contained_range_map_unittest_SOURCES = \ 905 src/processor/static_contained_range_map_unittest.cc \ 906 src/testing/gtest/src/gtest-all.cc \ 907 src/testing/src/gmock-all.cc 908 src_processor_static_contained_range_map_unittest_CPPFLAGS = \ 909 -I$(top_srcdir)/src \ 910 -I$(top_srcdir)/src/testing/include \ 911 -I$(top_srcdir)/src/testing/gtest/include \ 912 -I$(top_srcdir)/src/testing/gtest \ 913 -I$(top_srcdir)/src/testing 914 src_processor_static_contained_range_map_unittest_LDADD = \ 915 src/processor/logging.o \ 916 src/processor/pathname_stripper.o \ 917 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 918 919 src_processor_static_map_unittest_SOURCES = \ 920 src/processor/static_map_unittest.cc \ 921 src/testing/gtest/src/gtest-all.cc \ 922 src/testing/src/gmock-all.cc 923 src_processor_static_map_unittest_CPPFLAGS = \ 924 -I$(top_srcdir)/src \ 925 -I$(top_srcdir)/src/testing/include \ 926 -I$(top_srcdir)/src/testing/gtest/include \ 927 -I$(top_srcdir)/src/testing/gtest \ 928 -I$(top_srcdir)/src/testing 929 src_processor_static_map_unittest_LDADD = \ 930 src/processor/logging.o \ 931 src/processor/pathname_stripper.o \ 932 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 933 934 src_processor_static_range_map_unittest_SOURCES = \ 935 src/processor/static_range_map_unittest.cc \ 936 src/testing/gtest/src/gtest-all.cc \ 937 src/testing/src/gmock-all.cc 938 src_processor_static_range_map_unittest_CPPFLAGS = \ 939 -I$(top_srcdir)/src \ 940 -I$(top_srcdir)/src/testing/include \ 941 -I$(top_srcdir)/src/testing/gtest/include \ 942 -I$(top_srcdir)/src/testing/gtest \ 943 -I$(top_srcdir)/src/testing 944 src_processor_static_range_map_unittest_LDADD = \ 945 src/processor/logging.o \ 946 src/processor/pathname_stripper.o \ 947 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 948 949 src_processor_pathname_stripper_unittest_SOURCES = \ 950 src/processor/pathname_stripper_unittest.cc 951 src_processor_pathname_stripper_unittest_LDADD = \ 952 src/processor/pathname_stripper.o \ 953 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 954 955 src_processor_postfix_evaluator_unittest_SOURCES = \ 956 src/processor/postfix_evaluator_unittest.cc 957 src_processor_postfix_evaluator_unittest_LDADD = \ 958 src/processor/logging.o \ 959 src/processor/pathname_stripper.o \ 960 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 961 962 src_processor_range_map_unittest_SOURCES = \ 963 src/processor/range_map_unittest.cc 964 src_processor_range_map_unittest_LDADD = \ 965 src/processor/logging.o \ 966 src/processor/pathname_stripper.o \ 967 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 968 969 src_processor_stackwalker_selftest_SOURCES = \ 970 src/processor/stackwalker_selftest.cc 971 src_processor_stackwalker_selftest_LDADD = \ 972 src/processor/basic_code_modules.o \ 973 src/processor/basic_source_line_resolver.o \ 974 src/processor/call_stack.o \ 975 src/processor/disassembler_x86.o \ 976 src/processor/exploitability.o \ 977 src/processor/exploitability_linux.o \ 978 src/processor/exploitability_win.o \ 979 src/processor/logging.o \ 980 src/processor/minidump.o \ 981 src/processor/pathname_stripper.o \ 982 src/processor/source_line_resolver_base.o \ 983 src/processor/stack_frame_cpu.o \ 984 src/processor/stack_frame_symbolizer.o \ 985 src/processor/stackwalker.o \ 986 src/processor/stackwalker_address_list.o \ 987 src/processor/stackwalker_amd64.o \ 988 src/processor/stackwalker_arm.o \ 989 src/processor/stackwalker_arm64.o \ 990 src/processor/stackwalker_mips.o \ 991 src/processor/stackwalker_ppc.o \ 992 src/processor/stackwalker_ppc64.o \ 993 src/processor/stackwalker_sparc.o \ 994 src/processor/stackwalker_x86.o \ 995 src/processor/tokenize.o \ 996 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 997 998 src_processor_stackwalker_amd64_unittest_SOURCES = \ 999 src/common/test_assembler.cc \ 1000 src/processor/stackwalker_amd64_unittest.cc \ 1001 src/testing/gtest/src/gtest-all.cc \ 1002 src/testing/gtest/src/gtest_main.cc \ 1003 src/testing/src/gmock-all.cc 1004 src_processor_stackwalker_amd64_unittest_LDADD = \ 1005 src/libbreakpad.a \ 1006 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1007 src_processor_stackwalker_amd64_unittest_CPPFLAGS = \ 1008 -I$(top_srcdir)/src \ 1009 -I$(top_srcdir)/src/testing/include \ 1010 -I$(top_srcdir)/src/testing/gtest/include \ 1011 -I$(top_srcdir)/src/testing/gtest \ 1012 -I$(top_srcdir)/src/testing 1013 1014 src_processor_stackwalker_arm_unittest_SOURCES = \ 1015 src/common/test_assembler.cc \ 1016 src/processor/stackwalker_arm_unittest.cc \ 1017 src/testing/gtest/src/gtest-all.cc \ 1018 src/testing/gtest/src/gtest_main.cc \ 1019 src/testing/src/gmock-all.cc 1020 src_processor_stackwalker_arm_unittest_LDADD = \ 1021 src/libbreakpad.a \ 1022 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1023 src_processor_stackwalker_arm_unittest_CPPFLAGS = \ 1024 -I$(top_srcdir)/src \ 1025 -I$(top_srcdir)/src/testing/include \ 1026 -I$(top_srcdir)/src/testing/gtest/include \ 1027 -I$(top_srcdir)/src/testing/gtest \ 1028 -I$(top_srcdir)/src/testing 1029 1030 src_processor_stackwalker_arm64_unittest_SOURCES = \ 1031 src/common/test_assembler.cc \ 1032 src/processor/stackwalker_arm64_unittest.cc \ 1033 src/testing/gtest/src/gtest-all.cc \ 1034 src/testing/gtest/src/gtest_main.cc \ 1035 src/testing/src/gmock-all.cc 1036 src_processor_stackwalker_arm64_unittest_LDADD = \ 1037 src/libbreakpad.a \ 1038 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1039 src_processor_stackwalker_arm64_unittest_CPPFLAGS = \ 1040 -I$(top_srcdir)/src \ 1041 -I$(top_srcdir)/src/testing/include \ 1042 -I$(top_srcdir)/src/testing/gtest/include \ 1043 -I$(top_srcdir)/src/testing/gtest \ 1044 -I$(top_srcdir)/src/testing 1045 1046 src_processor_stackwalker_address_list_unittest_SOURCES = \ 1047 src/common/test_assembler.cc \ 1048 src/processor/stackwalker_address_list_unittest.cc \ 1049 src/testing/gtest/src/gtest-all.cc \ 1050 src/testing/gtest/src/gtest_main.cc \ 1051 src/testing/src/gmock-all.cc 1052 src_processor_stackwalker_address_list_unittest_LDADD = \ 1053 src/libbreakpad.a \ 1054 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1055 src_processor_stackwalker_address_list_unittest_CPPFLAGS = \ 1056 -I$(top_srcdir)/src \ 1057 -I$(top_srcdir)/src/testing/include \ 1058 -I$(top_srcdir)/src/testing/gtest/include \ 1059 -I$(top_srcdir)/src/testing/gtest \ 1060 -I$(top_srcdir)/src/testing 1061 1062 src_processor_stackwalker_mips_unittest_SOURCES = \ 1063 src/common/test_assembler.cc \ 1064 src/processor/stackwalker_mips_unittest.cc \ 1065 src/testing/gtest/src/gtest-all.cc \ 1066 src/testing/gtest/src/gtest_main.cc \ 1067 src/testing/src/gmock-all.cc 1068 src_processor_stackwalker_mips_unittest_LDADD = \ 1069 src/libbreakpad.a \ 1070 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1071 src_processor_stackwalker_mips_unittest_CPPFLAGS = \ 1072 -I$(top_srcdir)/src \ 1073 -I$(top_srcdir)/src/testing/include \ 1074 -I$(top_srcdir)/src/testing/gtest/include \ 1075 -I$(top_srcdir)/src/testing/gtest \ 1076 -I$(top_srcdir)/src/testing 1077 1078 src_processor_stackwalker_x86_unittest_SOURCES = \ 1079 src/common/test_assembler.cc \ 1080 src/processor/stackwalker_x86_unittest.cc \ 1081 src/testing/gtest/src/gtest-all.cc \ 1082 src/testing/gtest/src/gtest_main.cc \ 1083 src/testing/src/gmock-all.cc 1084 src_processor_stackwalker_x86_unittest_LDADD = \ 1085 src/libbreakpad.a \ 1086 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1087 src_processor_stackwalker_x86_unittest_CPPFLAGS = \ 1088 -I$(top_srcdir)/src \ 1089 -I$(top_srcdir)/src/testing/include \ 1090 -I$(top_srcdir)/src/testing/gtest/include \ 1091 -I$(top_srcdir)/src/testing/gtest \ 1092 -I$(top_srcdir)/src/testing 1093 1094 src_processor_synth_minidump_unittest_SOURCES = \ 1095 src/common/test_assembler.cc \ 1096 src/common/test_assembler.h \ 1097 src/processor/synth_minidump_unittest.cc \ 1098 src/testing/gtest/src/gtest-all.cc \ 1099 src/testing/gtest/src/gtest_main.cc \ 1100 src/testing/src/gmock-all.cc \ 1101 src/processor/synth_minidump.cc \ 1102 src/processor/synth_minidump.h 1103 src_processor_synth_minidump_unittest_CPPFLAGS = \ 1104 -I$(top_srcdir)/src \ 1105 -I$(top_srcdir)/src/testing/include \ 1106 -I$(top_srcdir)/src/testing/gtest/include \ 1107 -I$(top_srcdir)/src/testing/gtest \ 1108 -I$(top_srcdir)/src/testing 1109 src_processor_synth_minidump_unittest_LDADD = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1110 1111 src_common_test_assembler_unittest_SOURCES = \ 1112 src/common/test_assembler.cc \ 1113 src/common/test_assembler.h \ 1114 src/common/test_assembler_unittest.cc \ 1115 src/testing/gtest/src/gtest-all.cc \ 1116 src/testing/gtest/src/gtest_main.cc \ 1117 src/testing/src/gmock-all.cc 1118 src_common_test_assembler_unittest_CPPFLAGS = \ 1119 -I$(top_srcdir)/src \ 1120 -I$(top_srcdir)/src/testing/include \ 1121 -I$(top_srcdir)/src/testing/gtest/include \ 1122 -I$(top_srcdir)/src/testing/gtest \ 1123 -I$(top_srcdir)/src/testing 1124 src_common_test_assembler_unittest_LDADD = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) 1125 1126 ## Non-installables 1127 noinst_PROGRAMS = 1128 noinst_SCRIPTS = $(check_SCRIPTS) 1129 1130 src_processor_minidump_dump_SOURCES = \ 1131 src/processor/minidump_dump.cc 1132 src_processor_minidump_dump_LDADD = \ 1133 src/processor/basic_code_modules.o \ 1134 src/processor/dump_context.o \ 1135 src/processor/dump_object.o \ 1136 src/processor/logging.o \ 1137 src/processor/minidump.o \ 1138 src/processor/pathname_stripper.o 1139 1140 src_processor_microdump_stackwalk_SOURCES = \ 1141 src/processor/microdump_stackwalk.cc 1142 src_processor_microdump_stackwalk_LDADD = \ 1143 src/processor/basic_code_modules.o \ 1144 src/processor/basic_source_line_resolver.o \ 1145 src/processor/binarystream.o \ 1146 src/processor/call_stack.o \ 1147 src/processor/cfi_frame_info.o \ 1148 src/processor/disassembler_x86.o \ 1149 src/processor/dump_context.o \ 1150 src/processor/dump_object.o \ 1151 src/processor/logging.o \ 1152 src/processor/microdump.o \ 1153 src/processor/microdump_processor.o \ 1154 src/processor/pathname_stripper.o \ 1155 src/processor/process_state.o \ 1156 src/processor/simple_symbol_supplier.o \ 1157 src/processor/source_line_resolver_base.o \ 1158 src/processor/stack_frame_cpu.o \ 1159 src/processor/stack_frame_symbolizer.o \ 1160 src/processor/stackwalk_common.o \ 1161 src/processor/stackwalker.o \ 1162 src/processor/stackwalker_address_list.o \ 1163 src/processor/stackwalker_amd64.o \ 1164 src/processor/stackwalker_arm.o \ 1165 src/processor/stackwalker_arm64.o \ 1166 src/processor/stackwalker_mips.o \ 1167 src/processor/stackwalker_ppc.o \ 1168 src/processor/stackwalker_ppc64.o \ 1169 src/processor/stackwalker_sparc.o \ 1170 src/processor/stackwalker_x86.o \ 1171 src/processor/tokenize.o \ 1172 src/third_party/libdisasm/libdisasm.a 1173 1174 src_processor_minidump_stackwalk_SOURCES = \ 1175 src/processor/minidump_stackwalk.cc 1176 src_processor_minidump_stackwalk_LDADD = \ 1177 src/processor/basic_code_modules.o \ 1178 src/processor/basic_source_line_resolver.o \ 1179 src/processor/binarystream.o \ 1180 src/processor/call_stack.o \ 1181 src/processor/cfi_frame_info.o \ 1182 src/processor/disassembler_x86.o \ 1183 src/processor/dump_context.o \ 1184 src/processor/dump_object.o \ 1185 src/processor/exploitability.o \ 1186 src/processor/exploitability_linux.o \ 1187 src/processor/exploitability_win.o \ 1188 src/processor/logging.o \ 1189 src/processor/minidump.o \ 1190 src/processor/minidump_processor.o \ 1191 src/processor/pathname_stripper.o \ 1192 src/processor/process_state.o \ 1193 src/processor/simple_symbol_supplier.o \ 1194 src/processor/source_line_resolver_base.o \ 1195 src/processor/stack_frame_cpu.o \ 1196 src/processor/stack_frame_symbolizer.o \ 1197 src/processor/stackwalk_common.o \ 1198 src/processor/stackwalker.o \ 1199 src/processor/stackwalker_address_list.o \ 1200 src/processor/stackwalker_amd64.o \ 1201 src/processor/stackwalker_arm.o \ 1202 src/processor/stackwalker_arm64.o \ 1203 src/processor/stackwalker_mips.o \ 1204 src/processor/stackwalker_ppc.o \ 1205 src/processor/stackwalker_ppc64.o \ 1206 src/processor/stackwalker_sparc.o \ 1207 src/processor/stackwalker_x86.o \ 1208 src/processor/symbolic_constants_win.o \ 1209 src/processor/tokenize.o \ 1210 src/third_party/libdisasm/libdisasm.a 1211 1212 endif !DISABLE_PROCESSOR 1213 1214 ## Additional files to be included in a source distribution 1215 ## 1216 ## find src/client src/common src/processor/testdata src/tools \ 1217 ## -type f \! -path '*/.svn/*' -print | sort | \ 1218 ## sed -e s/'^\(.*\)$'/'\t\1 \\'/ 1219 EXTRA_DIST = \ 1220 $(SCRIPTS) \ 1221 src/processor/stackwalk_selftest_sol.s \ 1222 src/client/linux/handler/Makefile \ 1223 src/client/linux/handler/exception_handler.cc \ 1224 src/client/linux/handler/exception_handler.h \ 1225 src/client/linux/handler/minidump_descriptor.cc \ 1226 src/client/linux/handler/minidump_descriptor.h \ 1227 src/client/linux/handler/exception_handler_test.cc \ 1228 src/client/linux/handler/linux_thread.cc \ 1229 src/client/linux/handler/linux_thread.h \ 1230 src/client/linux/handler/linux_thread_test.cc \ 1231 src/client/linux/handler/minidump_generator.cc \ 1232 src/client/linux/handler/minidump_generator.h \ 1233 src/client/linux/handler/minidump_test.cc \ 1234 src/client/mac/handler/dynamic_images.cc \ 1235 src/client/mac/handler/dynamic_images.h \ 1236 src/client/mac/handler/exception_handler.cc \ 1237 src/client/mac/handler/exception_handler.h \ 1238 src/client/mac/handler/exception_handler_test.cc \ 1239 src/client/mac/handler/minidump_generator.cc \ 1240 src/client/mac/handler/minidump_generator.h \ 1241 src/client/mac/handler/minidump_generator_test.cc \ 1242 src/client/mac/handler/minidump_test.xcodeproj/project.pbxproj \ 1243 src/client/mac/handler/protected_memory_allocator.cc \ 1244 src/client/mac/handler/protected_memory_allocator.h \ 1245 src/client/minidump_file_writer-inl.h \ 1246 src/client/minidump_file_writer.cc \ 1247 src/client/minidump_file_writer.h \ 1248 src/client/minidump_file_writer_unittest.cc \ 1249 src/client/solaris/handler/Makefile \ 1250 src/client/solaris/handler/exception_handler.cc \ 1251 src/client/solaris/handler/exception_handler.h \ 1252 src/client/solaris/handler/exception_handler_test.cc \ 1253 src/client/solaris/handler/minidump_generator.cc \ 1254 src/client/solaris/handler/minidump_generator.h \ 1255 src/client/solaris/handler/minidump_test.cc \ 1256 src/client/solaris/handler/solaris_lwp.cc \ 1257 src/client/solaris/handler/solaris_lwp.h \ 1258 src/client/windows/breakpad_client.sln \ 1259 src/client/windows/handler/exception_handler.cc \ 1260 src/client/windows/handler/exception_handler.h \ 1261 src/client/windows/handler/exception_handler.vcproj \ 1262 src/client/windows/sender/crash_report_sender.cc \ 1263 src/client/windows/sender/crash_report_sender.h \ 1264 src/client/windows/sender/crash_report_sender.vcproj \ 1265 src/common/convert_UTF.c \ 1266 src/common/convert_UTF.h \ 1267 src/common/linux/crc32.cc \ 1268 src/common/linux/dump_symbols.cc \ 1269 src/common/linux/dump_symbols.h \ 1270 src/common/linux/elf_symbols_to_module.cc \ 1271 src/common/linux/elf_symbols_to_module.h \ 1272 src/common/linux/elfutils.cc \ 1273 src/common/linux/elfutils.h \ 1274 src/common/linux/file_id.cc \ 1275 src/common/linux/file_id.h \ 1276 src/common/linux/guid_creator.cc \ 1277 src/common/linux/guid_creator.h \ 1278 src/common/linux/http_upload.cc \ 1279 src/common/linux/http_upload.h \ 1280 src/common/mac/HTTPMultipartUpload.h \ 1281 src/common/mac/HTTPMultipartUpload.m \ 1282 src/common/mac/dump_syms.h \ 1283 src/common/mac/dump_syms.mm \ 1284 src/common/mac/file_id.cc \ 1285 src/common/mac/file_id.h \ 1286 src/common/mac/macho_id.cc \ 1287 src/common/mac/macho_id.h \ 1288 src/common/mac/macho_utilities.cc \ 1289 src/common/mac/macho_utilities.h \ 1290 src/common/mac/macho_walker.cc \ 1291 src/common/mac/macho_walker.h \ 1292 src/common/mac/string_utilities.cc \ 1293 src/common/mac/string_utilities.h \ 1294 src/common/md5.cc \ 1295 src/common/md5.h \ 1296 src/common/scoped_ptr.h \ 1297 src/common/solaris/dump_symbols.cc \ 1298 src/common/solaris/dump_symbols.h \ 1299 src/common/solaris/file_id.cc \ 1300 src/common/solaris/file_id.h \ 1301 src/common/solaris/guid_creator.cc \ 1302 src/common/solaris/guid_creator.h \ 1303 src/common/solaris/message_output.h \ 1304 src/common/string_conversion.cc \ 1305 src/common/string_conversion.h \ 1306 src/common/windows/guid_string.cc \ 1307 src/common/windows/guid_string.h \ 1308 src/common/windows/http_upload.cc \ 1309 src/common/windows/http_upload.h \ 1310 src/common/windows/pdb_source_line_writer.cc \ 1311 src/common/windows/pdb_source_line_writer.h \ 1312 src/common/windows/string_utils-inl.h \ 1313 src/common/windows/string_utils.cc \ 1314 src/processor/testdata/minidump2.dmp \ 1315 src/processor/testdata/minidump2.dump.out \ 1316 src/processor/testdata/minidump2.stackwalk.machine_readable.out \ 1317 src/processor/testdata/minidump2.stackwalk.out \ 1318 src/processor/testdata/module1.out \ 1319 src/processor/testdata/module2.out \ 1320 src/processor/testdata/module3_bad.out \ 1321 src/processor/testdata/module4_bad.out \ 1322 src/processor/testdata/symbols/kernel32.pdb/BCE8785C57B44245A669896B6A19B9542/kernel32.sym \ 1323 src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/test_app.sym \ 1324 src/processor/testdata/test_app.cc \ 1325 src/tools/linux/dump_syms/Makefile \ 1326 src/tools/linux/dump_syms/dump_syms.cc \ 1327 src/tools/linux/symupload/Makefile \ 1328 src/tools/linux/symupload/minidump_upload.cc \ 1329 src/tools/linux/symupload/sym_upload.cc \ 1330 src/tools/mac/crash_report/crash_report.mm \ 1331 src/tools/mac/crash_report/crash_report.xcodeproj/project.pbxproj \ 1332 src/tools/mac/crash_report/on_demand_symbol_supplier.h \ 1333 src/tools/mac/crash_report/on_demand_symbol_supplier.mm \ 1334 src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj \ 1335 src/tools/mac/dump_syms/dump_syms_tool.m \ 1336 src/tools/mac/symupload/minidump_upload.m \ 1337 src/tools/mac/symupload/symupload.m \ 1338 src/tools/mac/symupload/symupload.xcodeproj/project.pbxproj \ 1339 src/tools/solaris/dump_syms/Makefile \ 1340 src/tools/solaris/dump_syms/dump_syms.cc \ 1341 src/tools/solaris/dump_syms/run_regtest.sh \ 1342 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.cc \ 1343 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.o \ 1344 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.stabs \ 1345 src/tools/solaris/dump_syms/testdata/dump_syms_regtest.sym \ 1346 src/tools/windows/converter/ms_symbol_server_converter.cc \ 1347 src/tools/windows/converter/ms_symbol_server_converter.h \ 1348 src/tools/windows/converter/ms_symbol_server_converter.vcproj \ 1349 src/tools/windows/dump_syms/dump_syms.cc \ 1350 src/tools/windows/dump_syms/dump_syms.vcproj \ 1351 src/tools/windows/dump_syms/run_regtest.sh \ 1352 src/tools/windows/dump_syms/testdata/dump_syms_regtest.cc \ 1353 src/tools/windows/dump_syms/testdata/dump_syms_regtest.pdb \ 1354 src/tools/windows/dump_syms/testdata/dump_syms_regtest.sym \ 1355 src/tools/windows/symupload/symupload.cc \ 1356 src/tools/windows/symupload/symupload.vcproj 1357