bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
mmentovai | 7daf246 | 2006-09-20 21:16:16 +0000 | [diff] [blame] | 3 | # Copyright (c) 2006, Google Inc. |
| 4 | # All rights reserved. |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 5 | # |
mmentovai | 7daf246 | 2006-09-20 21:16:16 +0000 | [diff] [blame] | 6 | # Redistribution and use in source and binary forms, with or without |
| 7 | # modification, are permitted provided that the following conditions are |
| 8 | # met: |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 9 | # |
mmentovai | 7daf246 | 2006-09-20 21:16:16 +0000 | [diff] [blame] | 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. |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 19 | # |
mmentovai | 7daf246 | 2006-09-20 21:16:16 +0000 | [diff] [blame] | 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. |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 31 | |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 32 | |
bryner | 07f8ef5 | 2006-09-05 19:42:57 +0000 | [diff] [blame] | 33 | # This allows #includes to be relative to src/ |
| 34 | AM_CPPFLAGS = -I$(top_srcdir)/src |
| 35 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 36 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 37 | ## Documentation |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 38 | docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION) |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 39 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 40 | dist_doc_DATA = \ |
| 41 | AUTHORS \ |
| 42 | COPYING \ |
| 43 | ChangeLog \ |
| 44 | INSTALL \ |
| 45 | NEWS \ |
| 46 | README |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 47 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 48 | |
| 49 | ## Libraries |
| 50 | lib_LTLIBRARIES = src/libairbag.la |
| 51 | |
| 52 | src_libairbag_la_SOURCES = \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 53 | src/google/airbag_types.h \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 54 | src/google/call_stack.h \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 55 | src/google/minidump_processor.h \ |
mmentovai | e5468b8 | 2006-10-24 19:31:21 +0000 | [diff] [blame^] | 56 | src/google/process_state.h \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 57 | src/google/stack_frame.h \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 58 | src/google/stack_frame_cpu.h \ |
bryner | d5e6638 | 2006-09-08 02:35:53 +0000 | [diff] [blame] | 59 | src/google/symbol_supplier.h \ |
mmentovai | 2fc823f | 2006-10-20 19:50:01 +0000 | [diff] [blame] | 60 | src/processor/address_map.h \ |
| 61 | src/processor/address_map-inl.h \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 62 | src/processor/call_stack.cc \ |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 63 | src/processor/contained_range_map.h \ |
| 64 | src/processor/contained_range_map-inl.h \ |
mmentovai | cb9fd5b | 2006-09-08 18:03:56 +0000 | [diff] [blame] | 65 | src/processor/linked_ptr.h \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 66 | src/processor/memory_region.h \ |
| 67 | src/processor/minidump.cc \ |
| 68 | src/processor/minidump.h \ |
| 69 | src/processor/minidump_format.h \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 70 | src/processor/minidump_processor.cc \ |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 71 | src/processor/postfix_evaluator.h \ |
| 72 | src/processor/postfix_evaluator-inl.h \ |
mmentovai | e5468b8 | 2006-10-24 19:31:21 +0000 | [diff] [blame^] | 73 | src/processor/process_state.cc \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 74 | src/processor/range_map.h \ |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 75 | src/processor/range_map-inl.h \ |
mmentovai | 2466d8e | 2006-10-23 20:25:42 +0000 | [diff] [blame] | 76 | src/processor/scoped_ptr.h \ |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 77 | src/processor/source_line_resolver.cc \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 78 | src/processor/source_line_resolver.h \ |
mmentovai | fc1c78e | 2006-09-28 21:09:37 +0000 | [diff] [blame] | 79 | src/processor/stack_frame_info.h \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 80 | src/processor/stackwalker.cc \ |
| 81 | src/processor/stackwalker.h \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 82 | src/processor/stackwalker_ppc.cc \ |
| 83 | src/processor/stackwalker_ppc.h \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 84 | src/processor/stackwalker_x86.cc \ |
| 85 | src/processor/stackwalker_x86.h |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 86 | |
| 87 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 88 | ## Programs |
| 89 | bin_PROGRAMS = \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 90 | src/processor/minidump_dump \ |
| 91 | src/processor/minidump_stackwalk |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 92 | |
| 93 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 94 | ## Tests |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 95 | check_PROGRAMS = \ |
mmentovai | 2fc823f | 2006-10-20 19:50:01 +0000 | [diff] [blame] | 96 | src/processor/address_map_unittest \ |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 97 | src/processor/contained_range_map_unittest \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 98 | src/processor/minidump_processor_unittest \ |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 99 | src/processor/postfix_evaluator_unittest \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 100 | src/processor/range_map_unittest \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 101 | src/processor/source_line_resolver_unittest |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 102 | |
| 103 | if SELFTEST |
| 104 | check_PROGRAMS += \ |
| 105 | src/processor/stackwalker_selftest |
| 106 | endif SELFTEST |
| 107 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 108 | check_SCRIPTS = \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 109 | src/processor/minidump_dump_test \ |
| 110 | src/processor/minidump_stackwalk_test |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 111 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 112 | TESTS = $(check_PROGRAMS) $(check_SCRIPTS) |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 113 | TESTS_ENVIRONMENT = |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 114 | |
mmentovai | 2fc823f | 2006-10-20 19:50:01 +0000 | [diff] [blame] | 115 | src_processor_address_map_unittest_SOURCES = \ |
| 116 | src/processor/address_map_unittest.cc |
| 117 | |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 118 | src_processor_contained_range_map_unittest_SOURCES = \ |
| 119 | src/processor/contained_range_map_unittest.cc |
| 120 | |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 121 | src_processor_minidump_processor_unittest_SOURCES = \ |
| 122 | src/processor/minidump_processor_unittest.cc |
| 123 | src_processor_minidump_processor_unittest_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 124 | src/processor/call_stack.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 125 | src/processor/minidump_processor.lo \ |
| 126 | src/processor/minidump.lo \ |
mmentovai | e5468b8 | 2006-10-24 19:31:21 +0000 | [diff] [blame^] | 127 | src/processor/process_state.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 128 | src/processor/stackwalker.lo \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 129 | src/processor/stackwalker_ppc.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 130 | src/processor/stackwalker_x86.lo \ |
| 131 | src/processor/source_line_resolver.lo |
| 132 | |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 133 | src_processor_postfix_evaluator_unittest_SOURCES = \ |
| 134 | src/processor/postfix_evaluator_unittest.cc |
| 135 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 136 | src_processor_range_map_unittest_SOURCES = \ |
| 137 | src/processor/range_map_unittest.cc |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 138 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 139 | src_processor_source_line_resolver_unittest_SOURCES = \ |
| 140 | src/processor/source_line_resolver_unittest.cc |
| 141 | src_processor_source_line_resolver_unittest_LDADD = \ |
| 142 | src/processor/source_line_resolver.lo |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 143 | |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 144 | src_processor_stackwalker_selftest_SOURCES = \ |
| 145 | src/processor/stackwalker_selftest.cc |
| 146 | src_processor_stackwalker_selftest_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 147 | src/processor/call_stack.lo \ |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 148 | src/processor/minidump.lo \ |
| 149 | src/processor/source_line_resolver.lo \ |
| 150 | src/processor/stackwalker.lo \ |
| 151 | src/processor/stackwalker_ppc.lo \ |
| 152 | src/processor/stackwalker_x86.lo |
| 153 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 154 | ## Non-installables |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 155 | noinst_PROGRAMS = |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 156 | noinst_SCRIPTS = $(check_SCRIPTS) |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 157 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 158 | src_processor_minidump_dump_SOURCES = \ |
| 159 | src/processor/minidump_dump.cc |
| 160 | src_processor_minidump_dump_LDADD = \ |
| 161 | src/processor/minidump.lo |
| 162 | |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 163 | src_processor_minidump_stackwalk_SOURCES = \ |
| 164 | src/processor/minidump_stackwalk.cc |
| 165 | src_processor_minidump_stackwalk_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 166 | src/processor/call_stack.lo \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 167 | src/processor/minidump.lo \ |
| 168 | src/processor/stackwalker.lo \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 169 | src/processor/stackwalker_ppc.lo \ |
bryner | d5e6638 | 2006-09-08 02:35:53 +0000 | [diff] [blame] | 170 | src/processor/stackwalker_x86.lo \ |
| 171 | src/processor/source_line_resolver.lo |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 172 | |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 173 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 174 | ## Additional files to be included in a source distribution |
| 175 | EXTRA_DIST = \ |
| 176 | $(SCRIPTS) \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 177 | src/processor/testdata/minidump1.dmp \ |
| 178 | src/processor/testdata/minidump1.out \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 179 | src/processor/testdata/minidump1.stack.out \ |
bryner | d5e6638 | 2006-09-08 02:35:53 +0000 | [diff] [blame] | 180 | src/processor/testdata/minidump2.dmp \ |
| 181 | src/processor/testdata/minidump2.sym \ |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 182 | src/processor/testdata/module1.out \ |
| 183 | src/processor/testdata/module2.out \ |
| 184 | src/processor/testdata/module3_bad.out |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 185 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 186 | |
| 187 | ## Additional rules |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 188 | libtool: $(LIBTOOL_DEPS) |
| 189 | $(SHELL) ./config.status --recheck |