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 | c34850a | 2006-10-27 00:40:56 +0000 | [diff] [blame^] | 71 | src/processor/pathname_stripper.cc \ |
| 72 | src/processor/pathname_stripper.h \ |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 73 | src/processor/postfix_evaluator.h \ |
| 74 | src/processor/postfix_evaluator-inl.h \ |
mmentovai | e5468b8 | 2006-10-24 19:31:21 +0000 | [diff] [blame] | 75 | src/processor/process_state.cc \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 76 | src/processor/range_map.h \ |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 77 | src/processor/range_map-inl.h \ |
mmentovai | 2466d8e | 2006-10-23 20:25:42 +0000 | [diff] [blame] | 78 | src/processor/scoped_ptr.h \ |
mmentovai | c34850a | 2006-10-27 00:40:56 +0000 | [diff] [blame^] | 79 | src/processor/simple_symbol_supplier.cc \ |
| 80 | src/processor/simple_symbol_supplier.h \ |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 81 | src/processor/source_line_resolver.cc \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 82 | src/processor/source_line_resolver.h \ |
mmentovai | fc1c78e | 2006-09-28 21:09:37 +0000 | [diff] [blame] | 83 | src/processor/stack_frame_info.h \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 84 | src/processor/stackwalker.cc \ |
| 85 | src/processor/stackwalker.h \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 86 | src/processor/stackwalker_ppc.cc \ |
| 87 | src/processor/stackwalker_ppc.h \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 88 | src/processor/stackwalker_x86.cc \ |
| 89 | src/processor/stackwalker_x86.h |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 90 | |
| 91 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 92 | ## Programs |
| 93 | bin_PROGRAMS = \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 94 | src/processor/minidump_dump \ |
| 95 | src/processor/minidump_stackwalk |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 96 | |
| 97 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 98 | ## Tests |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 99 | check_PROGRAMS = \ |
mmentovai | 2fc823f | 2006-10-20 19:50:01 +0000 | [diff] [blame] | 100 | src/processor/address_map_unittest \ |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 101 | src/processor/contained_range_map_unittest \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 102 | src/processor/minidump_processor_unittest \ |
mmentovai | c34850a | 2006-10-27 00:40:56 +0000 | [diff] [blame^] | 103 | src/processor/pathname_stripper_unittest \ |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 104 | src/processor/postfix_evaluator_unittest \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 105 | src/processor/range_map_unittest \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 106 | src/processor/source_line_resolver_unittest |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 107 | |
| 108 | if SELFTEST |
| 109 | check_PROGRAMS += \ |
| 110 | src/processor/stackwalker_selftest |
| 111 | endif SELFTEST |
| 112 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 113 | check_SCRIPTS = \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 114 | src/processor/minidump_dump_test \ |
| 115 | src/processor/minidump_stackwalk_test |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 116 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 117 | TESTS = $(check_PROGRAMS) $(check_SCRIPTS) |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 118 | TESTS_ENVIRONMENT = |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 119 | |
mmentovai | 2fc823f | 2006-10-20 19:50:01 +0000 | [diff] [blame] | 120 | src_processor_address_map_unittest_SOURCES = \ |
| 121 | src/processor/address_map_unittest.cc |
| 122 | |
mmentovai | 8c2a4de | 2006-09-20 16:20:15 +0000 | [diff] [blame] | 123 | src_processor_contained_range_map_unittest_SOURCES = \ |
| 124 | src/processor/contained_range_map_unittest.cc |
| 125 | |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 126 | src_processor_minidump_processor_unittest_SOURCES = \ |
| 127 | src/processor/minidump_processor_unittest.cc |
| 128 | src_processor_minidump_processor_unittest_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 129 | src/processor/call_stack.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 130 | src/processor/minidump_processor.lo \ |
| 131 | src/processor/minidump.lo \ |
mmentovai | e5468b8 | 2006-10-24 19:31:21 +0000 | [diff] [blame] | 132 | src/processor/process_state.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 133 | src/processor/stackwalker.lo \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 134 | src/processor/stackwalker_ppc.lo \ |
bryner | cce3492 | 2006-09-19 21:58:41 +0000 | [diff] [blame] | 135 | src/processor/stackwalker_x86.lo \ |
| 136 | src/processor/source_line_resolver.lo |
| 137 | |
mmentovai | c34850a | 2006-10-27 00:40:56 +0000 | [diff] [blame^] | 138 | src_processor_pathname_stripper_unittest_SOURCES = \ |
| 139 | src/processor/pathname_stripper_unittest.cc |
| 140 | src_processor_pathname_stripper_unittest_LDADD = \ |
| 141 | src/processor/pathname_stripper.lo |
| 142 | |
mmentovai | b934bb9 | 2006-09-22 00:42:23 +0000 | [diff] [blame] | 143 | src_processor_postfix_evaluator_unittest_SOURCES = \ |
| 144 | src/processor/postfix_evaluator_unittest.cc |
| 145 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 146 | src_processor_range_map_unittest_SOURCES = \ |
| 147 | src/processor/range_map_unittest.cc |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 148 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 149 | src_processor_source_line_resolver_unittest_SOURCES = \ |
| 150 | src/processor/source_line_resolver_unittest.cc |
| 151 | src_processor_source_line_resolver_unittest_LDADD = \ |
| 152 | src/processor/source_line_resolver.lo |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 153 | |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 154 | src_processor_stackwalker_selftest_SOURCES = \ |
| 155 | src/processor/stackwalker_selftest.cc |
| 156 | src_processor_stackwalker_selftest_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 157 | src/processor/call_stack.lo \ |
mmentovai | 0dbedc9 | 2006-09-25 21:16:15 +0000 | [diff] [blame] | 158 | src/processor/minidump.lo \ |
| 159 | src/processor/source_line_resolver.lo \ |
| 160 | src/processor/stackwalker.lo \ |
| 161 | src/processor/stackwalker_ppc.lo \ |
| 162 | src/processor/stackwalker_x86.lo |
| 163 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 164 | ## Non-installables |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 165 | noinst_PROGRAMS = |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 166 | noinst_SCRIPTS = $(check_SCRIPTS) |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 167 | |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 168 | src_processor_minidump_dump_SOURCES = \ |
| 169 | src/processor/minidump_dump.cc |
| 170 | src_processor_minidump_dump_LDADD = \ |
| 171 | src/processor/minidump.lo |
| 172 | |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 173 | src_processor_minidump_stackwalk_SOURCES = \ |
| 174 | src/processor/minidump_stackwalk.cc |
| 175 | src_processor_minidump_stackwalk_LDADD = \ |
mmentovai | 246f406 | 2006-10-20 01:46:38 +0000 | [diff] [blame] | 176 | src/processor/call_stack.lo \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 177 | src/processor/minidump.lo \ |
mmentovai | c34850a | 2006-10-27 00:40:56 +0000 | [diff] [blame^] | 178 | src/processor/minidump_processor.lo \ |
| 179 | src/processor/pathname_stripper.lo \ |
| 180 | src/processor/process_state.lo \ |
| 181 | src/processor/simple_symbol_supplier.lo \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 182 | src/processor/stackwalker.lo \ |
mmentovai | 960e527 | 2006-09-25 18:29:48 +0000 | [diff] [blame] | 183 | src/processor/stackwalker_ppc.lo \ |
bryner | d5e6638 | 2006-09-08 02:35:53 +0000 | [diff] [blame] | 184 | src/processor/stackwalker_x86.lo \ |
| 185 | src/processor/source_line_resolver.lo |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 186 | |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 187 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 188 | ## Additional files to be included in a source distribution |
| 189 | EXTRA_DIST = \ |
| 190 | $(SCRIPTS) \ |
mmentovai | 3261e8b | 2006-09-06 02:56:44 +0000 | [diff] [blame] | 191 | src/processor/testdata/minidump1.dmp \ |
| 192 | src/processor/testdata/minidump1.out \ |
mmentovai | 213800d | 2006-09-06 19:28:46 +0000 | [diff] [blame] | 193 | src/processor/testdata/minidump1.stack.out \ |
bryner | d5e6638 | 2006-09-08 02:35:53 +0000 | [diff] [blame] | 194 | src/processor/testdata/minidump2.dmp \ |
| 195 | src/processor/testdata/minidump2.sym \ |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 196 | src/processor/testdata/module1.out \ |
| 197 | src/processor/testdata/module2.out \ |
| 198 | src/processor/testdata/module3_bad.out |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 199 | |
mmentovai | 425d256 | 2006-08-30 20:05:05 +0000 | [diff] [blame] | 200 | |
| 201 | ## Additional rules |
bryner | cb91a2f | 2006-08-25 21:14:45 +0000 | [diff] [blame] | 202 | libtool: $(LIBTOOL_DEPS) |
| 203 | $(SHELL) ./config.status --recheck |