2006-08-25 23:14:45 +02:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2006-09-20 23:16:16 +02:00
|
|
|
# Copyright (c) 2006, Google Inc.
|
|
|
|
# All rights reserved.
|
2006-08-30 22:05:05 +02:00
|
|
|
#
|
2006-09-20 23:16:16 +02:00
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are
|
|
|
|
# met:
|
2006-08-30 22:05:05 +02:00
|
|
|
#
|
2006-09-20 23:16:16 +02:00
|
|
|
# * Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# * Redistributions in binary form must reproduce the above
|
|
|
|
# copyright notice, this list of conditions and the following disclaimer
|
|
|
|
# in the documentation and/or other materials provided with the
|
|
|
|
# distribution.
|
|
|
|
# * Neither the name of Google Inc. nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived from
|
|
|
|
# this software without specific prior written permission.
|
2006-08-30 22:05:05 +02:00
|
|
|
#
|
2006-09-20 23:16:16 +02:00
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2006-08-30 22:05:05 +02:00
|
|
|
|
|
|
|
|
2006-09-05 21:42:57 +02:00
|
|
|
# This allows #includes to be relative to src/
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
## Documentation
|
|
|
|
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
dist_doc_DATA = \
|
|
|
|
AUTHORS \
|
|
|
|
COPYING \
|
|
|
|
ChangeLog \
|
|
|
|
INSTALL \
|
|
|
|
NEWS \
|
|
|
|
README
|
2006-08-25 23:14:45 +02:00
|
|
|
|
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
## Libraries
|
|
|
|
lib_LTLIBRARIES = src/libairbag.la
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
src_libairbag_la_SOURCES = \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/google/airbag_types.h \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/google/call_stack.h \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/google/minidump_processor.h \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/google/stack_frame.h \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/google/stack_frame_cpu.h \
|
2006-09-08 04:35:53 +02:00
|
|
|
src/google/symbol_supplier.h \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/processor/call_stack.cc \
|
2006-09-20 18:20:15 +02:00
|
|
|
src/processor/contained_range_map.h \
|
|
|
|
src/processor/contained_range_map-inl.h \
|
2006-09-08 20:03:56 +02:00
|
|
|
src/processor/linked_ptr.h \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/processor/memory_region.h \
|
|
|
|
src/processor/minidump.cc \
|
|
|
|
src/processor/minidump.h \
|
|
|
|
src/processor/minidump_format.h \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/processor/minidump_processor.cc \
|
2006-09-22 02:42:23 +02:00
|
|
|
src/processor/postfix_evaluator.h \
|
|
|
|
src/processor/postfix_evaluator-inl.h \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/processor/range_map.h \
|
2006-09-20 18:20:15 +02:00
|
|
|
src/processor/range_map-inl.h \
|
2006-08-30 22:05:05 +02:00
|
|
|
src/processor/source_line_resolver.cc \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/source_line_resolver.h \
|
2006-09-28 23:09:37 +02:00
|
|
|
src/processor/stack_frame_info.h \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/stackwalker.cc \
|
|
|
|
src/processor/stackwalker.h \
|
2006-09-25 20:29:48 +02:00
|
|
|
src/processor/stackwalker_ppc.cc \
|
|
|
|
src/processor/stackwalker_ppc.h \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/stackwalker_x86.cc \
|
|
|
|
src/processor/stackwalker_x86.h
|
2006-08-25 23:14:45 +02:00
|
|
|
|
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
## Programs
|
|
|
|
bin_PROGRAMS = \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/minidump_dump \
|
|
|
|
src/processor/minidump_stackwalk
|
2006-09-06 04:56:44 +02:00
|
|
|
|
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
## Tests
|
2006-09-06 04:56:44 +02:00
|
|
|
check_PROGRAMS = \
|
2006-09-20 18:20:15 +02:00
|
|
|
src/processor/contained_range_map_unittest \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/processor/minidump_processor_unittest \
|
2006-09-22 02:42:23 +02:00
|
|
|
src/processor/postfix_evaluator_unittest \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/processor/range_map_unittest \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/processor/source_line_resolver_unittest
|
2006-09-25 23:16:15 +02:00
|
|
|
|
|
|
|
if SELFTEST
|
|
|
|
check_PROGRAMS += \
|
|
|
|
src/processor/stackwalker_selftest
|
|
|
|
endif SELFTEST
|
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
check_SCRIPTS = \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/minidump_dump_test \
|
|
|
|
src/processor/minidump_stackwalk_test
|
2006-09-25 23:16:15 +02:00
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
|
2006-08-30 22:05:05 +02:00
|
|
|
TESTS_ENVIRONMENT =
|
2006-09-06 04:56:44 +02:00
|
|
|
|
2006-09-20 18:20:15 +02:00
|
|
|
src_processor_contained_range_map_unittest_SOURCES = \
|
|
|
|
src/processor/contained_range_map_unittest.cc
|
|
|
|
|
2006-09-19 23:58:41 +02:00
|
|
|
src_processor_minidump_processor_unittest_SOURCES = \
|
|
|
|
src/processor/minidump_processor_unittest.cc
|
|
|
|
src_processor_minidump_processor_unittest_LDADD = \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/processor/call_stack.lo \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/processor/minidump_processor.lo \
|
|
|
|
src/processor/minidump.lo \
|
|
|
|
src/processor/stackwalker.lo \
|
2006-09-25 20:29:48 +02:00
|
|
|
src/processor/stackwalker_ppc.lo \
|
2006-09-19 23:58:41 +02:00
|
|
|
src/processor/stackwalker_x86.lo \
|
|
|
|
src/processor/source_line_resolver.lo
|
|
|
|
|
2006-09-22 02:42:23 +02:00
|
|
|
src_processor_postfix_evaluator_unittest_SOURCES = \
|
|
|
|
src/processor/postfix_evaluator_unittest.cc
|
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
src_processor_range_map_unittest_SOURCES = \
|
|
|
|
src/processor/range_map_unittest.cc
|
2006-08-30 22:05:05 +02:00
|
|
|
|
|
|
|
src_processor_source_line_resolver_unittest_SOURCES = \
|
|
|
|
src/processor/source_line_resolver_unittest.cc
|
|
|
|
src_processor_source_line_resolver_unittest_LDADD = \
|
|
|
|
src/processor/source_line_resolver.lo
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-09-25 23:16:15 +02:00
|
|
|
src_processor_stackwalker_selftest_SOURCES = \
|
|
|
|
src/processor/stackwalker_selftest.cc
|
|
|
|
src_processor_stackwalker_selftest_LDADD = \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/processor/call_stack.lo \
|
2006-09-25 23:16:15 +02:00
|
|
|
src/processor/minidump.lo \
|
|
|
|
src/processor/source_line_resolver.lo \
|
|
|
|
src/processor/stackwalker.lo \
|
|
|
|
src/processor/stackwalker_ppc.lo \
|
|
|
|
src/processor/stackwalker_x86.lo
|
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
## Non-installables
|
2006-09-06 04:56:44 +02:00
|
|
|
noinst_PROGRAMS =
|
2006-08-30 22:05:05 +02:00
|
|
|
noinst_SCRIPTS = $(check_SCRIPTS)
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-09-06 04:56:44 +02:00
|
|
|
src_processor_minidump_dump_SOURCES = \
|
|
|
|
src/processor/minidump_dump.cc
|
|
|
|
src_processor_minidump_dump_LDADD = \
|
|
|
|
src/processor/minidump.lo
|
|
|
|
|
2006-09-06 21:28:46 +02:00
|
|
|
src_processor_minidump_stackwalk_SOURCES = \
|
|
|
|
src/processor/minidump_stackwalk.cc
|
|
|
|
src_processor_minidump_stackwalk_LDADD = \
|
2006-10-20 03:46:38 +02:00
|
|
|
src/processor/call_stack.lo \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/minidump.lo \
|
|
|
|
src/processor/stackwalker.lo \
|
2006-09-25 20:29:48 +02:00
|
|
|
src/processor/stackwalker_ppc.lo \
|
2006-09-08 04:35:53 +02:00
|
|
|
src/processor/stackwalker_x86.lo \
|
|
|
|
src/processor/source_line_resolver.lo
|
2006-09-06 21:28:46 +02:00
|
|
|
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
## Additional files to be included in a source distribution
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(SCRIPTS) \
|
2006-09-06 04:56:44 +02:00
|
|
|
src/processor/testdata/minidump1.dmp \
|
|
|
|
src/processor/testdata/minidump1.out \
|
2006-09-06 21:28:46 +02:00
|
|
|
src/processor/testdata/minidump1.stack.out \
|
2006-09-08 04:35:53 +02:00
|
|
|
src/processor/testdata/minidump2.dmp \
|
|
|
|
src/processor/testdata/minidump2.sym \
|
2006-08-30 22:05:05 +02:00
|
|
|
src/processor/testdata/module1.out \
|
|
|
|
src/processor/testdata/module2.out \
|
|
|
|
src/processor/testdata/module3_bad.out
|
2006-08-25 23:14:45 +02:00
|
|
|
|
2006-08-30 22:05:05 +02:00
|
|
|
|
|
|
|
## Additional rules
|
2006-08-25 23:14:45 +02:00
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
$(SHELL) ./config.status --recheck
|