Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | ## Process this file with automake to create Makefile.in |
| 2 | ## |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 3 | ## Copyright (C) 1996-2011 Red Hat, Inc. |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 4 | ## This file is part of Red Hat elfutils. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 5 | ## |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 6 | ## Red Hat elfutils is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by the |
| 8 | ## Free Software Foundation; version 2 of the License. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 9 | ## |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 10 | ## Red Hat elfutils is distributed in the hope that it will be useful, but |
| 11 | ## WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | ## General Public License for more details. |
| 14 | ## |
| 15 | ## You should have received a copy of the GNU General Public License along |
| 16 | ## with Red Hat elfutils; if not, write to the Free Software Foundation, |
Ulrich Drepper | 1e9ef50 | 2006-04-04 22:29:06 +0000 | [diff] [blame] | 17 | ## Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA. |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 18 | ## |
| 19 | ## Red Hat elfutils is an included package of the Open Invention Network. |
| 20 | ## An included package of the Open Invention Network is a package for which |
| 21 | ## Open Invention Network licensees cross-license their patents. No patent |
| 22 | ## license is granted, either expressly or impliedly, by designation as an |
| 23 | ## included package. Should you wish to participate in the Open Invention |
| 24 | ## Network licensing program, please visit www.openinventionnetwork.com |
| 25 | ## <http://www.openinventionnetwork.com>. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 26 | ## |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 27 | include $(top_srcdir)/config/eu.am |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 28 | if MUDFLAP |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 29 | BUILD_RPATH = \$$ORIGIN/../backends |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 30 | else |
Mark Wielaard | 58cfa1c | 2011-02-25 20:17:52 +0100 | [diff] [blame] | 31 | BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 32 | endif |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 33 | |
Roland McGrath | dd7e22b | 2006-03-09 23:05:47 +0000 | [diff] [blame] | 34 | AM_LDFLAGS = |
| 35 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 36 | if !STANDALONE |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 37 | INCLUDES += -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \ |
| 38 | -I$(top_srcdir)/libdwfl \ |
| 39 | -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \ |
| 40 | -I$(top_srcdir)/lib -I.. |
Roland McGrath | dd7e22b | 2006-03-09 23:05:47 +0000 | [diff] [blame] | 41 | AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 42 | endif |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 43 | |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 44 | if TESTS_RPATH |
Mark Wielaard | 58cfa1c | 2011-02-25 20:17:52 +0100 | [diff] [blame] | 45 | AM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH) |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 46 | tests_rpath = yes |
| 47 | else |
| 48 | tests_rpath = no |
| 49 | endif |
| 50 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 51 | noinst_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ |
| 52 | showptable update1 update2 update3 update4 test-nlist \ |
| 53 | show-die-info get-files get-lines get-pubnames \ |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 54 | get-aranges allfcts line2addr addrscopes funcscopes \ |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 55 | show-abbrev hash newscn ecp dwflmodtest \ |
Roland McGrath | ba949b3 | 2007-01-10 20:44:29 +0000 | [diff] [blame] | 56 | find-prologues funcretval allregs rdwrmmap \ |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 57 | dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \ |
Roland McGrath | a845f68 | 2008-12-03 03:41:58 +0000 | [diff] [blame] | 58 | dwfl-addr-sect dwfl-bug-report early-offscn \ |
Petr Machata | 77961b5 | 2010-04-06 14:16:58 +0200 | [diff] [blame] | 59 | dwfl-bug-getmodules dwarf-getmacros addrcfi \ |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 60 | test-flag-nobits dwarf-getstring rerequest_tag \ |
| 61 | alldts |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 62 | asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \ |
| 63 | asm-tst6 asm-tst7 asm-tst8 asm-tst9 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 64 | |
| 65 | TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ |
| 66 | update1 update2 update3 update4 \ |
| 67 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 68 | run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \ |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 69 | run-show-abbrev.sh run-line2addr.sh hash \ |
| 70 | newscn run-strip-test.sh run-strip-test2.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 71 | run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ |
Roland McGrath | 521c47d | 2008-04-11 07:01:58 +0000 | [diff] [blame] | 72 | run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ |
Mark Wielaard | 1662bc3 | 2011-05-16 11:33:11 +0200 | [diff] [blame] | 73 | run-strip-groups.sh run-strip-reloc.sh \ |
| 74 | run-unstrip-test.sh run-unstrip-test2.sh \ |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 75 | run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 76 | run-elflint-test.sh run-elflint-self.sh run-ranlib-test.sh \ |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 77 | run-ranlib-test2.sh run-ranlib-test3.sh run-ranlib-test4.sh \ |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 78 | run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ |
Roland McGrath | f6b9228 | 2007-10-02 02:34:11 +0000 | [diff] [blame] | 79 | run-find-prologues.sh run-allregs.sh \ |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 80 | run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ |
Jan Kratochvil | fec3999 | 2011-02-27 12:01:25 -0800 | [diff] [blame] | 81 | run-readelf-test4.sh run-readelf-twofiles.sh \ |
Roland McGrath | ba949b3 | 2007-01-10 20:44:29 +0000 | [diff] [blame] | 82 | run-native-test.sh run-bug1-test.sh \ |
Roland McGrath | 87d4780 | 2007-07-16 22:23:37 +0000 | [diff] [blame] | 83 | dwfl-bug-addr-overflow run-addrname-test.sh \ |
| 84 | dwfl-bug-fd-leak dwfl-bug-report \ |
Ulrich Drepper | 3cbdd38 | 2008-01-02 17:44:39 +0000 | [diff] [blame] | 85 | run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \ |
Roland McGrath | 13b6960 | 2008-04-01 02:30:05 +0000 | [diff] [blame] | 86 | run-disasm-x86.sh run-disasm-x86-64.sh \ |
Petr Machata | 77961b5 | 2010-04-06 14:16:58 +0200 | [diff] [blame] | 87 | run-early-offscn.sh run-dwarf-getmacros.sh \ |
Marek Polacek | 4894221 | 2011-03-07 11:16:50 -0800 | [diff] [blame] | 88 | run-test-flag-nobits.sh run-prelink-addr-test.sh \ |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 89 | run-dwarf-getstring.sh run-rerequest_tag.sh |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 90 | # run-show-ciefde.sh |
| 91 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 92 | if !STANDALONE |
Ulrich Drepper | c54785a | 2008-02-01 18:05:21 +0000 | [diff] [blame] | 93 | noinst_PROGRAMS += msg_tst sha1-tst |
| 94 | TESTS += msg_tst sha1-tst |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 95 | endif |
| 96 | |
| 97 | if HAVE_LIBASM |
| 98 | noinst_PROGRAMS += $(asm_TESTS) |
| 99 | TESTS += $(asm_TESTS) |
| 100 | endif |
| 101 | |
| 102 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 103 | EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ |
| 104 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 105 | run-get-pubnames.sh run-get-aranges.sh \ |
| 106 | run-show-ciefde.sh run-show-abbrev.sh run-strip-test.sh \ |
| 107 | run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \ |
| 108 | testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \ |
| 109 | testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \ |
| 110 | testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \ |
| 111 | testfile13.bz2 run-strip-test3.sh run-allfcts.sh \ |
| 112 | run-line2addr.sh run-elflint-test.sh testfile14.bz2 \ |
| 113 | run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ |
Mark Wielaard | 7a125b9 | 2011-05-17 12:20:01 +0200 | [diff] [blame] | 114 | run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \ |
Mark Wielaard | 1662bc3 | 2011-05-16 11:33:11 +0200 | [diff] [blame] | 115 | run-strip-reloc.sh hello_i386.ko.bz2 hello_x86_64.ko.bz2 \ |
Mark Wielaard | 20a217d | 2011-05-24 14:30:40 +0200 | [diff] [blame^] | 116 | hello_ppc64.ko.bz2 hello_s390.ko.bz2 \ |
Roland McGrath | 521c47d | 2008-04-11 07:01:58 +0000 | [diff] [blame] | 117 | run-unstrip-test.sh run-unstrip-test2.sh \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 118 | run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \ |
| 119 | run-ranlib-test3.sh run-ranlib-test4.sh \ |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 120 | run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ |
Roland McGrath | 94d26ad | 2005-12-13 23:24:37 +0000 | [diff] [blame] | 121 | run-find-prologues.sh run-allregs.sh run-native-test.sh \ |
Roland McGrath | 9aa8ef7 | 2007-05-18 08:59:43 +0000 | [diff] [blame] | 122 | run-addrname-test.sh run-dwfl-bug-offline-rel.sh \ |
Roland McGrath | 13b6960 | 2008-04-01 02:30:05 +0000 | [diff] [blame] | 123 | run-dwfl-addr-sect.sh run-early-offscn.sh \ |
Roland McGrath | 26618d8 | 2010-04-14 13:10:47 -0700 | [diff] [blame] | 124 | run-dwarf-getmacros.sh run-test-flag-nobits.sh \ |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 125 | run-dwarf-getstring.sh run-alldts.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 126 | testfile15.bz2 testfile15.debug.bz2 \ |
| 127 | testfile16.bz2 testfile16.debug.bz2 \ |
| 128 | testfile17.bz2 testfile17.debug.bz2 \ |
Ulrich Drepper | e48c05b | 2005-08-15 21:47:33 +0000 | [diff] [blame] | 129 | testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 130 | testfile20.bz2 testfile20.index.bz2 \ |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 131 | testfile21.bz2 testfile21.index.bz2 \ |
Ulrich Drepper | 39cec7a | 2005-08-30 01:22:01 +0000 | [diff] [blame] | 132 | testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \ |
Roland McGrath | 4b248ce | 2006-01-12 03:34:38 +0000 | [diff] [blame] | 133 | testfile26.bz2 testfile27.bz2 \ |
Roland McGrath | f6b9228 | 2007-10-02 02:34:11 +0000 | [diff] [blame] | 134 | coverage.sh test-subr.sh test-wrapper.sh \ |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 135 | run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ |
| 136 | run-readelf-test4.sh \ |
Roland McGrath | b437972 | 2006-04-05 01:35:26 +0000 | [diff] [blame] | 137 | run-bug1-test.sh testfile28.bz2 testfile28.rdwr.bz2 \ |
Roland McGrath | 19db859 | 2006-08-03 08:52:46 +0000 | [diff] [blame] | 138 | testfile29.bz2 testfile29.rdwr.bz2 \ |
Ulrich Drepper | aa915fd | 2007-02-05 07:25:33 +0000 | [diff] [blame] | 139 | testfile30.bz2 testfile31.bz2 testfile32.bz2 testfile33.bz2 \ |
Ulrich Drepper | b024386 | 2007-06-06 00:09:36 +0000 | [diff] [blame] | 140 | testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \ |
| 141 | testfile36.bz2 testfile36.debug.bz2 \ |
Roland McGrath | 42f6868 | 2007-08-09 07:54:22 +0000 | [diff] [blame] | 142 | testfile37.bz2 testfile37.debug.bz2 \ |
Roland McGrath | c76f0b0 | 2007-09-27 07:31:33 +0000 | [diff] [blame] | 143 | testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \ |
Ulrich Drepper | 3cbdd38 | 2008-01-02 17:44:39 +0000 | [diff] [blame] | 144 | testfile41.bz2 testfile42.bz2 testfile43.bz2 \ |
Ulrich Drepper | ff99322 | 2008-01-09 05:39:28 +0000 | [diff] [blame] | 145 | testfile44.S.bz2 testfile44.expect.bz2 run-disasm-x86.sh \ |
Roland McGrath | 059c83e | 2008-02-21 06:19:39 +0000 | [diff] [blame] | 146 | testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh \ |
Roland McGrath | b4d6f0f | 2008-08-25 22:55:17 +0000 | [diff] [blame] | 147 | testfile46.bz2 testfile47.bz2 testfile48.bz2 testfile48.debug.bz2 \ |
Josh Stone | ffa0200 | 2011-01-10 21:28:46 -0800 | [diff] [blame] | 148 | testfile49.bz2 testfile50.bz2 testfile51.bz2 \ |
Josh Stone | d41d9a6 | 2011-01-11 19:16:57 -0800 | [diff] [blame] | 149 | run-prelink-addr-test.sh \ |
| 150 | testfile52-32.so.bz2 testfile52-32.so.debug.bz2 \ |
| 151 | testfile52-32.prelink.so.bz2 testfile52-32.noshdrs.so.bz2 \ |
| 152 | testfile52-64.so.bz2 testfile52-64.so.debug.bz2 \ |
| 153 | testfile52-64.prelink.so.bz2 testfile52-64.noshdrs.so.bz2 \ |
Josh Stone | cf51471 | 2011-01-11 19:16:58 -0800 | [diff] [blame] | 154 | testfile53-32.bz2 testfile53-32.debug.bz2 \ |
| 155 | testfile53-32.prelink.bz2 testfile53-64.bz2 \ |
Josh Stone | ccbccef | 2011-01-11 19:16:59 -0800 | [diff] [blame] | 156 | testfile53-64.debug.bz2 testfile53-64.prelink.bz2 \ |
| 157 | testfile54-32.so.bz2 testfile54-32.so.debug.bz2 \ |
| 158 | testfile54-32.prelink.so.bz2 testfile54-32.noshdrs.so.bz2 \ |
| 159 | testfile54-64.so.bz2 testfile54-64.so.debug.bz2 \ |
Josh Stone | dc34eda | 2011-02-02 16:30:01 -0800 | [diff] [blame] | 160 | testfile54-64.prelink.so.bz2 testfile54-64.noshdrs.so.bz2 \ |
| 161 | testfile55-32.bz2 testfile55-32.debug.bz2 \ |
| 162 | testfile55-32.prelink.bz2 testfile55-64.bz2 \ |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 163 | testfile55-64.debug.bz2 testfile55-64.prelink.bz2 \ |
Mark Wielaard | 7a125b9 | 2011-05-17 12:20:01 +0200 | [diff] [blame] | 164 | testfile56.bz2 testfile57.bz2 testfile58.bz2 |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 165 | |
Roland McGrath | af74f5c | 2005-11-18 02:25:14 +0000 | [diff] [blame] | 166 | installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \ |
| 167 | bindir=$(DESTDIR)$(bindir) \ |
| 168 | $(srcdir)/test-wrapper.sh \ |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 169 | installed $(tests_rpath) \ |
| 170 | $(program_transform_name) |
| 171 | if STANDALONE |
| 172 | TESTS_ENVIRONMENT = $(installed_TESTS_ENVIRONMENT) |
| 173 | else !STANDALONE |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 174 | TESTS_ENVIRONMENT = $(srcdir)/test-wrapper.sh \ |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 175 | ../libdw:../backends:../libelf:../libasm |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 176 | |
| 177 | installcheck-local: |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 178 | $(MAKE) $(AM_MAKEFLAGS) \ |
Roland McGrath | 575dd39 | 2005-11-18 01:41:52 +0000 | [diff] [blame] | 179 | TESTS_ENVIRONMENT='$(installed_TESTS_ENVIRONMENT)' check-TESTS |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 180 | endif !STANDALONE |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 181 | |
| 182 | if MUDFLAP |
Ulrich Drepper | f9545c4 | 2009-04-23 07:59:02 -0700 | [diff] [blame] | 183 | static_build = yes |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 184 | endif |
| 185 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 186 | if STANDALONE |
| 187 | libdw = -ldw |
| 188 | libelf = -lelf |
| 189 | libasm = -lasm |
| 190 | libebl = -lebl |
| 191 | else !STANDALONE |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 192 | if BUILD_STATIC |
Ulrich Drepper | f9545c4 | 2009-04-23 07:59:02 -0700 | [diff] [blame] | 193 | libdw = ../libdw/libdw.a $(zip_LIBS) $(libelf) $(libebl) -ldl |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 194 | libelf = ../libelf/libelf.a |
| 195 | libasm = ../libasm/libasm.a |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 196 | else |
| 197 | libdw = ../libdw/libdw.so |
| 198 | libelf = ../libelf/libelf.so |
| 199 | libasm = ../libasm/libasm.so |
| 200 | endif |
| 201 | libebl = ../libebl/libebl.a |
Ulrich Drepper | c54785a | 2008-02-01 18:05:21 +0000 | [diff] [blame] | 202 | libeu = ../lib/libeu.a |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 203 | endif !STANDALONE |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 204 | |
| 205 | arextract_LDADD = $(libelf) $(libmudflap) |
| 206 | arsymtest_LDADD = $(libelf) $(libmudflap) |
| 207 | newfile_LDADD = $(libelf) $(libmudflap) |
| 208 | saridx_LDADD = $(libelf) $(libmudflap) |
| 209 | scnnames_LDADD = $(libelf) $(libmudflap) |
| 210 | sectiondump_LDADD = $(libelf) $(libmudflap) |
| 211 | showptable_LDADD = $(libelf) $(libmudflap) |
| 212 | hash_LDADD = $(libelf) $(libmudflap) |
| 213 | test_nlist_LDADD = $(libelf) $(libmudflap) |
| 214 | msg_tst_LDADD = $(libelf) $(libmudflap) |
| 215 | newscn_LDADD = $(libelf) $(libmudflap) |
Roland McGrath | 13b6960 | 2008-04-01 02:30:05 +0000 | [diff] [blame] | 216 | early_offscn_LDADD = $(libelf) $(libmudflap) |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 217 | ecp_LDADD = $(libelf) $(libmudflap) |
| 218 | update1_LDADD = $(libelf) $(libmudflap) |
| 219 | update2_LDADD = $(libelf) $(libmudflap) |
| 220 | update3_LDADD = $(libebl) $(libelf) $(libmudflap) |
| 221 | update4_LDADD = $(libebl) $(libelf) $(libmudflap) |
| 222 | show_die_info_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 223 | get_pubnames_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 224 | show_abbrev_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 225 | get_lines_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 226 | get_files_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 227 | get_aranges_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 228 | allfcts_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 229 | line2addr_no_Wformat = yes |
Roland McGrath | d17fac7 | 2005-08-23 08:20:21 +0000 | [diff] [blame] | 230 | line2addr_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | 9a1f365 | 2005-08-18 20:57:04 +0000 | [diff] [blame] | 231 | addrscopes_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 232 | funcscopes_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 233 | funcretval_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | 994b489 | 2005-12-05 22:46:21 +0000 | [diff] [blame] | 234 | allregs_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 235 | find_prologues_LDADD = $(libdw) $(libmudflap) |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 236 | #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf) $(libmudflap) |
Ulrich Drepper | a38998e | 2005-08-03 02:05:39 +0000 | [diff] [blame] | 237 | asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 238 | asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 239 | asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 240 | asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 241 | asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 242 | asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 243 | asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 244 | asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 245 | asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 246 | dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | f9545c4 | 2009-04-23 07:59:02 -0700 | [diff] [blame] | 247 | rdwrmmap_LDADD = $(libelf) $(libmudflap) |
Roland McGrath | ba949b3 | 2007-01-10 20:44:29 +0000 | [diff] [blame] | 248 | dwfl_bug_addr_overflow_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | ce0bdb6 | 2007-02-05 07:13:52 +0000 | [diff] [blame] | 249 | arls_LDADD = $(libelf) $(libmudflap) |
Ulrich Drepper | 6258e74 | 2007-03-13 06:22:40 +0000 | [diff] [blame] | 250 | dwfl_bug_fd_leak_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Roland McGrath | 87d4780 | 2007-07-16 22:23:37 +0000 | [diff] [blame] | 251 | dwfl_bug_report_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Roland McGrath | a845f68 | 2008-12-03 03:41:58 +0000 | [diff] [blame] | 252 | dwfl_bug_getmodules_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 253 | dwfl_addr_sect_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | c54785a | 2008-02-01 18:05:21 +0000 | [diff] [blame] | 254 | sha1_tst_LDADD = $(libeu) $(libmudflap) |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 255 | dwarf_getmacros_LDADD = $(libdw) $(libmudflap) |
Marek Polacek | 4894221 | 2011-03-07 11:16:50 -0800 | [diff] [blame] | 256 | dwarf_getstring_LDADD = $(libdw) $(libmudflap) |
Roland McGrath | 3c84db3 | 2009-06-24 17:41:40 -0700 | [diff] [blame] | 257 | addrcfi_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Petr Machata | 77961b5 | 2010-04-06 14:16:58 +0200 | [diff] [blame] | 258 | test_flag_nobits_LDADD = $(libelf) $(libmudflap) |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 259 | rerequest_tag_LDADD = $(libdw) $(libmudflap) |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 260 | alldts_LDADD = $(libebl) $(libelf) $(libmudflap) |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 261 | |
Ulrich Drepper | 39cec7a | 2005-08-30 01:22:01 +0000 | [diff] [blame] | 262 | if GCOV |
| 263 | check: check-am coverage |
| 264 | .PHONY: coverage |
| 265 | coverage: |
| 266 | -$(srcdir)/coverage.sh |
| 267 | endif |