Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | ## Process this file with automake to create Makefile.in |
| 2 | ## |
Jan Kratochvil | 7c6e785 | 2014-01-15 21:16:57 +0100 | [diff] [blame] | 3 | ## Copyright (C) 1996-2014 Red Hat, Inc. |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 4 | ## This file is part of elfutils. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 5 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 6 | ## This file is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; either version 3 of the License, or |
| 9 | ## (at your option) any later version. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 10 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 11 | ## elfutils is distributed in the hope that it will be useful, but |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 12 | ## WITHOUT ANY WARRANTY; without even the implied warranty of |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 15 | ## |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 16 | ## You should have received a copy of the GNU General Public License |
| 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 18 | ## |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 19 | include $(top_srcdir)/config/eu.am |
Mark Wielaard | 58cfa1c | 2011-02-25 20:17:52 +0100 | [diff] [blame] | 20 | BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 21 | |
Roland McGrath | dd7e22b | 2006-03-09 23:05:47 +0000 | [diff] [blame] | 22 | AM_LDFLAGS = |
| 23 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 24 | if !STANDALONE |
Mark Wielaard | cdaaf21 | 2013-04-25 16:50:11 -0400 | [diff] [blame] | 25 | AM_CPPFLAGS += -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \ |
Mark Wielaard | 9380297 | 2014-04-11 23:52:47 +0200 | [diff] [blame] | 26 | -I$(top_srcdir)/libdwfl -I$(top_srcdir)/libdwelf \ |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 27 | -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \ |
| 28 | -I$(top_srcdir)/lib -I.. |
Roland McGrath | dd7e22b | 2006-03-09 23:05:47 +0000 | [diff] [blame] | 29 | AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf |
Roland McGrath | 22359e2 | 2010-02-15 15:57:03 -0800 | [diff] [blame] | 30 | endif |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 31 | |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 32 | if TESTS_RPATH |
Mark Wielaard | 58cfa1c | 2011-02-25 20:17:52 +0100 | [diff] [blame] | 33 | AM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH) |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 34 | tests_rpath = yes |
| 35 | else |
| 36 | tests_rpath = no |
| 37 | endif |
| 38 | |
Mike Frysinger | c09c5f3 | 2012-06-26 12:07:44 -0400 | [diff] [blame] | 39 | check_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 40 | showptable update1 update2 update3 update4 test-nlist \ |
| 41 | show-die-info get-files get-lines get-pubnames \ |
Roland McGrath | 71e15a0 | 2005-08-27 10:33:26 +0000 | [diff] [blame] | 42 | get-aranges allfcts line2addr addrscopes funcscopes \ |
Roland McGrath | e47ab76 | 2005-11-17 03:16:00 +0000 | [diff] [blame] | 43 | show-abbrev hash newscn ecp dwflmodtest \ |
Roland McGrath | ba949b3 | 2007-01-10 20:44:29 +0000 | [diff] [blame] | 44 | find-prologues funcretval allregs rdwrmmap \ |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 45 | dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \ |
Roland McGrath | a845f68 | 2008-12-03 03:41:58 +0000 | [diff] [blame] | 46 | dwfl-addr-sect dwfl-bug-report early-offscn \ |
Petr Machata | 77961b5 | 2010-04-06 14:16:58 +0200 | [diff] [blame] | 47 | dwfl-bug-getmodules dwarf-getmacros addrcfi \ |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 48 | test-flag-nobits dwarf-getstring rerequest_tag \ |
Josh Stone | 5dbbc5e | 2013-10-03 12:38:25 -0700 | [diff] [blame] | 49 | alldts md5-sha1-test typeiter typeiter2 low_high_pc \ |
Jan Kratochvil | a1d4482 | 2013-03-19 13:40:13 +0100 | [diff] [blame] | 50 | test-elf_cntl_gelf_getshdr dwflsyms dwfllines \ |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 51 | dwfl-report-elf-align varlocs backtrace backtrace-child \ |
Mark Wielaard | d81d32d | 2014-04-30 23:00:40 +0200 | [diff] [blame] | 52 | backtrace-data backtrace-dwarf debuglink debugaltlink \ |
| 53 | buildid |
| 54 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 55 | asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \ |
| 56 | asm-tst6 asm-tst7 asm-tst8 asm-tst9 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 57 | |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 58 | if BIARCH |
| 59 | check_PROGRAMS += backtrace-child-biarch |
| 60 | endif |
| 61 | |
| 62 | # Substitute $(COMPILE). |
Mark Wielaard | 1bfab19 | 2013-12-04 20:55:23 +0100 | [diff] [blame] | 63 | backtrace-child-biarch$(EXEEXT): backtrace-child.c |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 64 | $(CC_BIARCH) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
| 65 | $(AM_CPPFLAGS) $(CPPFLAGS) \ |
| 66 | $(AM_CFLAGS) $(CFLAGS) $(backtrace_child_CFLAGS) \ |
| 67 | $(AM_LDFLAGS) $(LDFLAGS) $(backtrace_child_LDFLAGS) \ |
| 68 | -o $@ $< |
| 69 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 70 | TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ |
| 71 | update1 update2 update3 update4 \ |
| 72 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 73 | run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \ |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 74 | run-show-abbrev.sh run-line2addr.sh hash \ |
| 75 | newscn run-strip-test.sh run-strip-test2.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 76 | run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ |
Roland McGrath | 521c47d | 2008-04-11 07:01:58 +0000 | [diff] [blame] | 77 | run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ |
Mark Wielaard | 1662bc3 | 2011-05-16 11:33:11 +0200 | [diff] [blame] | 78 | run-strip-groups.sh run-strip-reloc.sh \ |
Mark Wielaard | d182974 | 2013-10-15 23:53:32 +0200 | [diff] [blame] | 79 | run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh \ |
Marek Polacek | 494275c | 2011-03-28 16:00:38 +0200 | [diff] [blame] | 80 | run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 81 | run-elflint-test.sh run-elflint-self.sh run-ranlib-test.sh \ |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 82 | run-ranlib-test2.sh run-ranlib-test3.sh run-ranlib-test4.sh \ |
Roland McGrath | 07d4f2f | 2005-10-28 06:56:24 +0000 | [diff] [blame] | 83 | run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ |
Mark Wielaard | 292b178 | 2013-08-27 15:40:56 +0200 | [diff] [blame] | 84 | run-find-prologues.sh run-allregs.sh run-addrcfi.sh \ |
Mark Wielaard | bf707b5 | 2012-08-01 15:39:11 +0200 | [diff] [blame] | 85 | run-nm-self.sh run-readelf-self.sh \ |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 86 | run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ |
Jan Kratochvil | fec3999 | 2011-02-27 12:01:25 -0800 | [diff] [blame] | 87 | run-readelf-test4.sh run-readelf-twofiles.sh \ |
Mark Wielaard | 6c4b207 | 2013-01-30 11:04:38 +0100 | [diff] [blame] | 88 | run-readelf-macro.sh run-readelf-loc.sh \ |
Mark Wielaard | 1a09420 | 2013-03-25 14:48:06 +0100 | [diff] [blame] | 89 | run-readelf-aranges.sh run-readelf-line.sh \ |
Roland McGrath | ba949b3 | 2007-01-10 20:44:29 +0000 | [diff] [blame] | 90 | run-native-test.sh run-bug1-test.sh \ |
Mark Wielaard | d81d32d | 2014-04-30 23:00:40 +0200 | [diff] [blame] | 91 | run-debuglink.sh run-debugaltlink.sh run-buildid.sh \ |
Roland McGrath | 87d4780 | 2007-07-16 22:23:37 +0000 | [diff] [blame] | 92 | dwfl-bug-addr-overflow run-addrname-test.sh \ |
| 93 | dwfl-bug-fd-leak dwfl-bug-report \ |
Ulrich Drepper | 3cbdd38 | 2008-01-02 17:44:39 +0000 | [diff] [blame] | 94 | run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \ |
Roland McGrath | 13b6960 | 2008-04-01 02:30:05 +0000 | [diff] [blame] | 95 | run-disasm-x86.sh run-disasm-x86-64.sh \ |
Petr Machata | 77961b5 | 2010-04-06 14:16:58 +0200 | [diff] [blame] | 96 | run-early-offscn.sh run-dwarf-getmacros.sh \ |
Marek Polacek | 4894221 | 2011-03-07 11:16:50 -0800 | [diff] [blame] | 97 | run-test-flag-nobits.sh run-prelink-addr-test.sh \ |
Mark Wielaard | 191d1f0 | 2012-04-02 17:11:25 +0200 | [diff] [blame] | 98 | run-dwarf-getstring.sh run-rerequest_tag.sh run-typeiter.sh \ |
Mark Wielaard | 84a1e0b | 2012-06-29 23:38:09 +0200 | [diff] [blame] | 99 | run-readelf-d.sh run-readelf-gdb_index.sh run-unstrip-n.sh \ |
Petr Machata | 30a941c | 2012-08-01 21:41:36 +0200 | [diff] [blame] | 100 | run-low_high_pc.sh run-macro-test.sh run-elf_cntl_gelf_getshdr.sh \ |
Petr Machata | 522a73f | 2012-09-24 16:46:52 +0200 | [diff] [blame] | 101 | run-test-archive64.sh run-readelf-vmcoreinfo.sh \ |
Jan Kratochvil | a1d4482 | 2013-03-19 13:40:13 +0100 | [diff] [blame] | 102 | run-readelf-mixed-corenote.sh run-dwfllines.sh \ |
Mark Wielaard | 4b9e639 | 2013-08-13 11:40:21 +0200 | [diff] [blame] | 103 | run-dwfl-report-elf-align.sh run-addr2line-test.sh \ |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 104 | run-addr2line-i-test.sh run-varlocs.sh run-funcretval.sh \ |
| 105 | run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \ |
| 106 | run-backtrace-native-biarch.sh run-backtrace-native-core.sh \ |
| 107 | run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \ |
Jan Kratochvil | c6a4148 | 2013-12-17 18:49:54 +0100 | [diff] [blame] | 108 | run-backtrace-core-i386.sh run-backtrace-core-ppc.sh \ |
Jan Kratochvil | 7c6e785 | 2014-01-15 21:16:57 +0100 | [diff] [blame] | 109 | run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ |
Mark Wielaard | 66637fa | 2014-04-09 11:48:23 +0200 | [diff] [blame] | 110 | run-backtrace-core-aarch64.sh \ |
Mark Wielaard | bb096d0 | 2014-05-03 00:23:06 +0200 | [diff] [blame] | 111 | run-backtrace-demangle.sh run-stack-d-test.sh run-stack-i-test.sh \ |
| 112 | run-readelf-dwz-multi.sh run-allfcts-multi.sh |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 113 | |
| 114 | if !BIARCH |
| 115 | export ELFUTILS_DISABLE_BIARCH = 1 |
| 116 | endif |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 117 | |
Jan Kratochvil | 7c6e785 | 2014-01-15 21:16:57 +0100 | [diff] [blame] | 118 | if !DEMANGLE |
| 119 | export ELFUTILS_DISABLE_DEMANGLE = 1 |
| 120 | endif |
| 121 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 122 | if !STANDALONE |
Mike Frysinger | c09c5f3 | 2012-06-26 12:07:44 -0400 | [diff] [blame] | 123 | check_PROGRAMS += msg_tst md5-sha1-test |
Roland McGrath | 32899ac | 2011-07-09 03:17:24 -0700 | [diff] [blame] | 124 | TESTS += msg_tst md5-sha1-test |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 125 | endif |
| 126 | |
Mark Wielaard | f6185a7 | 2013-02-22 23:42:59 +0100 | [diff] [blame] | 127 | if LZMA |
| 128 | TESTS += run-readelf-s.sh run-dwflsyms.sh |
| 129 | endif |
| 130 | |
Mark Wielaard | f7cdc74 | 2014-04-09 22:38:07 +0200 | [diff] [blame] | 131 | if ZLIB |
| 132 | TESTS += run-readelf-zdebug.sh |
| 133 | endif |
| 134 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 135 | if HAVE_LIBASM |
Mike Frysinger | c09c5f3 | 2012-06-26 12:07:44 -0400 | [diff] [blame] | 136 | check_PROGRAMS += $(asm_TESTS) |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 137 | TESTS += $(asm_TESTS) |
| 138 | endif |
| 139 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 140 | EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ |
| 141 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 142 | run-get-pubnames.sh run-get-aranges.sh \ |
Mark Wielaard | bdad8e3 | 2012-04-26 12:24:33 +0200 | [diff] [blame] | 143 | run-show-abbrev.sh run-strip-test.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 144 | run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \ |
| 145 | testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \ |
| 146 | testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \ |
| 147 | testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \ |
| 148 | testfile13.bz2 run-strip-test3.sh run-allfcts.sh \ |
Mark Wielaard | 1b734df | 2013-09-20 09:50:42 -0400 | [diff] [blame] | 149 | testfile_class_func.bz2 testfile_nested_funcs.bz2 \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 150 | run-line2addr.sh run-elflint-test.sh testfile14.bz2 \ |
| 151 | run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ |
Mark Wielaard | 7a125b9 | 2011-05-17 12:20:01 +0200 | [diff] [blame] | 152 | run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \ |
Mark Wielaard | 1662bc3 | 2011-05-16 11:33:11 +0200 | [diff] [blame] | 153 | run-strip-reloc.sh hello_i386.ko.bz2 hello_x86_64.ko.bz2 \ |
Petr Machata | 98c8a73 | 2013-11-26 03:10:31 +0100 | [diff] [blame] | 154 | hello_ppc64.ko.bz2 hello_s390.ko.bz2 hello_aarch64.ko.bz2 \ |
Mark Wielaard | d182974 | 2013-10-15 23:53:32 +0200 | [diff] [blame] | 155 | run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh\ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 156 | run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \ |
| 157 | run-ranlib-test3.sh run-ranlib-test4.sh \ |
Ulrich Drepper | fbe998a | 2005-08-29 16:27:10 +0000 | [diff] [blame] | 158 | run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ |
Mark Wielaard | 292b178 | 2013-08-27 15:40:56 +0200 | [diff] [blame] | 159 | run-nm-self.sh run-readelf-self.sh run-addrcfi.sh \ |
Roland McGrath | 94d26ad | 2005-12-13 23:24:37 +0000 | [diff] [blame] | 160 | run-find-prologues.sh run-allregs.sh run-native-test.sh \ |
Roland McGrath | 9aa8ef7 | 2007-05-18 08:59:43 +0000 | [diff] [blame] | 161 | run-addrname-test.sh run-dwfl-bug-offline-rel.sh \ |
Roland McGrath | 13b6960 | 2008-04-01 02:30:05 +0000 | [diff] [blame] | 162 | run-dwfl-addr-sect.sh run-early-offscn.sh \ |
Roland McGrath | 26618d8 | 2010-04-14 13:10:47 -0700 | [diff] [blame] | 163 | run-dwarf-getmacros.sh run-test-flag-nobits.sh \ |
Mark Wielaard | 3f2290b | 2011-05-30 15:46:32 +0200 | [diff] [blame] | 164 | run-dwarf-getstring.sh run-rerequest_tag.sh run-alldts.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 165 | testfile15.bz2 testfile15.debug.bz2 \ |
| 166 | testfile16.bz2 testfile16.debug.bz2 \ |
| 167 | testfile17.bz2 testfile17.debug.bz2 \ |
Ulrich Drepper | e48c05b | 2005-08-15 21:47:33 +0000 | [diff] [blame] | 168 | testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 169 | testfile20.bz2 testfile20.index.bz2 \ |
Roland McGrath | f5fda7d | 2005-08-18 22:01:57 +0000 | [diff] [blame] | 170 | testfile21.bz2 testfile21.index.bz2 \ |
Ulrich Drepper | 39cec7a | 2005-08-30 01:22:01 +0000 | [diff] [blame] | 171 | testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \ |
Roland McGrath | 4b248ce | 2006-01-12 03:34:38 +0000 | [diff] [blame] | 172 | testfile26.bz2 testfile27.bz2 \ |
Roland McGrath | f6b9228 | 2007-10-02 02:34:11 +0000 | [diff] [blame] | 173 | coverage.sh test-subr.sh test-wrapper.sh \ |
Roland McGrath | 59ea7f3 | 2007-10-04 08:50:09 +0000 | [diff] [blame] | 174 | run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ |
Mark Wielaard | 3f2290b | 2011-05-30 15:46:32 +0200 | [diff] [blame] | 175 | run-readelf-test4.sh run-readelf-twofiles.sh \ |
Roland McGrath | b437972 | 2006-04-05 01:35:26 +0000 | [diff] [blame] | 176 | run-bug1-test.sh testfile28.bz2 testfile28.rdwr.bz2 \ |
Mark Wielaard | d81d32d | 2014-04-30 23:00:40 +0200 | [diff] [blame] | 177 | run-debuglink.sh run-debugaltlink.sh run-buildid.sh \ |
Roland McGrath | 19db859 | 2006-08-03 08:52:46 +0000 | [diff] [blame] | 178 | testfile29.bz2 testfile29.rdwr.bz2 \ |
Ulrich Drepper | aa915fd | 2007-02-05 07:25:33 +0000 | [diff] [blame] | 179 | testfile30.bz2 testfile31.bz2 testfile32.bz2 testfile33.bz2 \ |
Ulrich Drepper | b024386 | 2007-06-06 00:09:36 +0000 | [diff] [blame] | 180 | testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \ |
| 181 | testfile36.bz2 testfile36.debug.bz2 \ |
Roland McGrath | 42f6868 | 2007-08-09 07:54:22 +0000 | [diff] [blame] | 182 | testfile37.bz2 testfile37.debug.bz2 \ |
Roland McGrath | c76f0b0 | 2007-09-27 07:31:33 +0000 | [diff] [blame] | 183 | testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \ |
Mark Wielaard | d81d32d | 2014-04-30 23:00:40 +0200 | [diff] [blame] | 184 | testfile41.bz2 testfile42.bz2 testfile42_noshdrs.bz2 \ |
| 185 | testfile43.bz2 \ |
Ulrich Drepper | ff99322 | 2008-01-09 05:39:28 +0000 | [diff] [blame] | 186 | testfile44.S.bz2 testfile44.expect.bz2 run-disasm-x86.sh \ |
Roland McGrath | 059c83e | 2008-02-21 06:19:39 +0000 | [diff] [blame] | 187 | testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh \ |
Roland McGrath | b4d6f0f | 2008-08-25 22:55:17 +0000 | [diff] [blame] | 188 | testfile46.bz2 testfile47.bz2 testfile48.bz2 testfile48.debug.bz2 \ |
Josh Stone | ffa0200 | 2011-01-10 21:28:46 -0800 | [diff] [blame] | 189 | testfile49.bz2 testfile50.bz2 testfile51.bz2 \ |
Mark Wielaard | e9b2388 | 2012-06-29 22:30:15 +0200 | [diff] [blame] | 190 | run-readelf-macro.sh testfilemacro.bz2 \ |
Mark Wielaard | 6c4b207 | 2013-01-30 11:04:38 +0100 | [diff] [blame] | 191 | run-readelf-loc.sh testfileloc.bz2 \ |
Mark Wielaard | 1a09420 | 2013-03-25 14:48:06 +0100 | [diff] [blame] | 192 | run-readelf-aranges.sh run-readelf-line.sh testfilefoobarbaz.bz2 \ |
Mark Wielaard | 775375e | 2012-06-22 12:02:45 +0200 | [diff] [blame] | 193 | run-readelf-dwz-multi.sh libtestfile_multi_shared.so.bz2 \ |
| 194 | testfile_multi.dwz.bz2 testfile_multi_main.bz2 \ |
Mark Wielaard | 443304e | 2013-02-15 22:45:22 +0100 | [diff] [blame] | 195 | testfile-dwzstr.bz2 testfile-dwzstr.multi.bz2 \ |
Mark Wielaard | e6a9bb8 | 2013-10-10 11:40:12 +0200 | [diff] [blame] | 196 | run-allfcts-multi.sh \ |
| 197 | test-offset-loop.bz2 test-offset-loop.alt.bz2 \ |
Josh Stone | d41d9a6 | 2011-01-11 19:16:57 -0800 | [diff] [blame] | 198 | run-prelink-addr-test.sh \ |
| 199 | testfile52-32.so.bz2 testfile52-32.so.debug.bz2 \ |
| 200 | testfile52-32.prelink.so.bz2 testfile52-32.noshdrs.so.bz2 \ |
| 201 | testfile52-64.so.bz2 testfile52-64.so.debug.bz2 \ |
| 202 | testfile52-64.prelink.so.bz2 testfile52-64.noshdrs.so.bz2 \ |
Josh Stone | cf51471 | 2011-01-11 19:16:58 -0800 | [diff] [blame] | 203 | testfile53-32.bz2 testfile53-32.debug.bz2 \ |
| 204 | testfile53-32.prelink.bz2 testfile53-64.bz2 \ |
Josh Stone | ccbccef | 2011-01-11 19:16:59 -0800 | [diff] [blame] | 205 | testfile53-64.debug.bz2 testfile53-64.prelink.bz2 \ |
| 206 | testfile54-32.so.bz2 testfile54-32.so.debug.bz2 \ |
| 207 | testfile54-32.prelink.so.bz2 testfile54-32.noshdrs.so.bz2 \ |
| 208 | testfile54-64.so.bz2 testfile54-64.so.debug.bz2 \ |
Josh Stone | dc34eda | 2011-02-02 16:30:01 -0800 | [diff] [blame] | 209 | testfile54-64.prelink.so.bz2 testfile54-64.noshdrs.so.bz2 \ |
| 210 | testfile55-32.bz2 testfile55-32.debug.bz2 \ |
| 211 | testfile55-32.prelink.bz2 testfile55-64.bz2 \ |
Petr Machata | 02c5619 | 2011-03-10 01:50:32 +0100 | [diff] [blame] | 212 | testfile55-64.debug.bz2 testfile55-64.prelink.bz2 \ |
Tom Tromey | 581c3f6 | 2012-03-21 08:54:32 -0600 | [diff] [blame] | 213 | testfile56.bz2 testfile57.bz2 testfile58.bz2 \ |
Mark Wielaard | 191d1f0 | 2012-04-02 17:11:25 +0200 | [diff] [blame] | 214 | run-typeiter.sh testfile59.bz2 \ |
Mark Wielaard | 96a5213 | 2012-04-03 00:21:50 +0200 | [diff] [blame] | 215 | run-readelf-d.sh testlib_dynseg.so.bz2 \ |
Mark Wielaard | 84a1e0b | 2012-06-29 23:38:09 +0200 | [diff] [blame] | 216 | run-readelf-gdb_index.sh testfilegdbindex5.bz2 \ |
| 217 | testfilegdbindex7.bz2 \ |
Mark Wielaard | 9a91fb2 | 2013-01-16 15:19:40 +0100 | [diff] [blame] | 218 | run-readelf-s.sh testfilebazdbg.bz2 testfilebazdyn.bz2 \ |
| 219 | testfilebazmin.bz2 testfilebazdbg.debug.bz2 testfilebazmdb.bz2 \ |
Josh Stone | 51fff30 | 2014-03-11 18:13:55 -0700 | [diff] [blame] | 220 | testfilebaztab.bz2 testfilebasmin.bz2 testfilebaxmin.bz2 \ |
Mark Wielaard | 68ce4fc | 2013-11-16 00:11:38 +0100 | [diff] [blame] | 221 | testfilebazdbg_pl.bz2 testfilebazmin_pl.bz2 \ |
Josh Stone | db35c87 | 2013-11-18 14:29:35 -0800 | [diff] [blame] | 222 | testfilebazdbg_plr.bz2 testfilebazmin_plr.bz2 \ |
Mark Wielaard | 159ac52 | 2013-12-18 11:05:54 +0100 | [diff] [blame] | 223 | testfilebazdbgppc64.bz2 testfilebazdbgppc64.debug.bz2 \ |
| 224 | testfilebazdbgppc64_pl.bz2 testfilebazdbgppc64_plr.bz2 \ |
| 225 | testfilebazdynppc64.bz2 testfilebazmdbppc64.bz2 \ |
| 226 | testfilebazminppc64.bz2 testfilebazminppc64_pl.bz2 \ |
| 227 | testfilebazminppc64_plr.bz2 testfilebaztabppc64.bz2 \ |
Mark Wielaard | 9a91fb2 | 2013-01-16 15:19:40 +0100 | [diff] [blame] | 228 | run-dwflsyms.sh \ |
Mark Wielaard | 714ea0e | 2012-07-19 13:07:39 +0200 | [diff] [blame] | 229 | run-unstrip-n.sh testcore-rtlib.bz2 testcore-rtlib-ppc.bz2 \ |
Mark Wielaard | a0172d7 | 2012-06-25 17:18:53 +0200 | [diff] [blame] | 230 | run-low_high_pc.sh testfile_low_high_pc.bz2 \ |
Mark Wielaard | 030f626 | 2012-07-18 13:14:30 +0200 | [diff] [blame] | 231 | run-macro-test.sh testfile-macinfo.bz2 testfile-macros.bz2 \ |
Petr Machata | 30a941c | 2012-08-01 21:41:36 +0200 | [diff] [blame] | 232 | run-elf_cntl_gelf_getshdr.sh \ |
Mark Wielaard | e0ebc5a | 2012-08-24 14:51:37 +0200 | [diff] [blame] | 233 | run-test-archive64.sh testarchive64.a.bz2 \ |
Petr Machata | ae7c5e7 | 2012-09-24 16:16:27 +0200 | [diff] [blame] | 234 | testfile60.bz2 testfile61.bz2 \ |
Petr Machata | 522a73f | 2012-09-24 16:46:52 +0200 | [diff] [blame] | 235 | run-readelf-vmcoreinfo.sh testfile62.bz2 \ |
Jan Kratochvil | d7ed025 | 2012-10-27 21:31:58 +0200 | [diff] [blame] | 236 | run-readelf-mixed-corenote.sh testfile63.bz2 testfile64.bz2 \ |
Jan Kratochvil | cc84d79 | 2012-10-10 19:32:05 +0200 | [diff] [blame] | 237 | testfile65.bz2 testfile67.bz2 testfile68.bz2 \ |
| 238 | testfile69.core.bz2 testfile69.so.bz2 \ |
Petr Machata | ab22410 | 2013-09-26 00:39:34 +0200 | [diff] [blame] | 239 | testfile70.core.bz2 testfile70.exec.bz2 testfile71.bz2 \ |
Jan Kratochvil | a1d4482 | 2013-03-19 13:40:13 +0100 | [diff] [blame] | 240 | run-dwfllines.sh run-dwfl-report-elf-align.sh \ |
Mark Wielaard | 9affad3 | 2013-05-03 11:28:49 +0200 | [diff] [blame] | 241 | testfile-dwfl-report-elf-align-shlib.so.bz2 \ |
Mark Wielaard | 263d7ee | 2013-07-02 16:16:58 +0200 | [diff] [blame] | 242 | testfilenolines.bz2 test-core-lib.so.bz2 test-core.core.bz2 \ |
Mark Wielaard | 4b9e639 | 2013-08-13 11:40:21 +0200 | [diff] [blame] | 243 | test-core.exec.bz2 run-addr2line-test.sh \ |
Mark Wielaard | d3f1645 | 2013-08-28 18:10:44 +0200 | [diff] [blame] | 244 | run-addr2line-i-test.sh testfile-inlines.bz2 \ |
Mark Wielaard | 79b9181 | 2013-08-28 21:54:58 +0200 | [diff] [blame] | 245 | testfileppc32.bz2 testfileppc64.bz2 \ |
Mark Wielaard | 92e47d6 | 2013-09-02 16:46:50 +0200 | [diff] [blame] | 246 | testfiles390.bz2 testfiles390x.bz2 \ |
Mark Wielaard | b92af19 | 2014-01-03 18:15:02 +0100 | [diff] [blame] | 247 | testfilearm.bz2 testfileaarch64.bz2 \ |
Mark Wielaard | 6e6e54e | 2013-08-31 00:52:12 +0200 | [diff] [blame] | 248 | run-varlocs.sh \ |
| 249 | testfile_const_type.c testfile_const_type.bz2 \ |
| 250 | testfile_implicit_pointer.c testfile_implicit_pointer.bz2 \ |
| 251 | testfile_parameter_ref.c testfile_parameter_ref.bz2 \ |
| 252 | testfile_entry_value.c testfile_entry_value.bz2 \ |
Petr Machata | 98c8a73 | 2013-11-26 03:10:31 +0100 | [diff] [blame] | 253 | testfile_implicit_value.c testfile_implicit_value.bz2 \ |
Mark Wielaard | 110c273 | 2014-04-10 15:02:53 +0200 | [diff] [blame] | 254 | testfile_aarch64_core.bz2 testfile_i686_core.bz2 \ |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 255 | run-funcretval.sh funcretval_test.c funcretval_test_aarch64.bz2 \ |
| 256 | run-backtrace-data.sh run-backtrace-dwarf.sh cleanup-13.c \ |
| 257 | run-backtrace-native.sh run-backtrace-native-biarch.sh \ |
| 258 | run-backtrace-native-core.sh run-backtrace-native-core-biarch.sh \ |
| 259 | run-backtrace-core-x86_64.sh run-backtrace-core-i386.sh \ |
| 260 | backtrace-subr.sh backtrace.i386.core.bz2 backtrace.i386.exec.bz2 \ |
Jan Kratochvil | 5cbf42a | 2013-12-15 18:56:17 +0100 | [diff] [blame] | 261 | backtrace.x86_64.core.bz2 backtrace.x86_64.exec.bz2 \ |
| 262 | backtrace.ppc.core.bz2 backtrace.ppc.exec.bz2 \ |
Mark Wielaard | 159ac52 | 2013-12-18 11:05:54 +0100 | [diff] [blame] | 263 | run-backtrace-core-ppc.sh testfile66.bz2 testfile66.core.bz2 \ |
Jan Kratochvil | c6a4148 | 2013-12-17 18:49:54 +0100 | [diff] [blame] | 264 | backtrace.s390x.core.bz2 backtrace.s390x.exec.bz2 \ |
| 265 | backtrace.s390.core.bz2 backtrace.s390.exec.bz2 \ |
Jan Kratochvil | 7c6e785 | 2014-01-15 21:16:57 +0100 | [diff] [blame] | 266 | run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ |
Mark Wielaard | 66637fa | 2014-04-09 11:48:23 +0200 | [diff] [blame] | 267 | run-backtrace-core-aarch64.sh \ |
| 268 | backtrace.aarch64.core.bz2 backtrace.aarch64.exec.bz2 \ |
Jan Kratochvil | 7c6e785 | 2014-01-15 21:16:57 +0100 | [diff] [blame] | 269 | run-backtrace-demangle.sh testfile-backtrace-demangle.bz2 \ |
| 270 | testfile-backtrace-demangle.cc \ |
Mark Wielaard | 531a30a | 2014-01-20 23:09:26 +0100 | [diff] [blame] | 271 | testfile-backtrace-demangle.core.bz2 \ |
Mark Wielaard | 13968d9 | 2014-01-21 16:13:49 +0100 | [diff] [blame] | 272 | run-stack-d-test.sh run-stack-i-test.sh \ |
Mark Wielaard | f7cdc74 | 2014-04-09 22:38:07 +0200 | [diff] [blame] | 273 | testfiledwarfinlines.bz2 testfiledwarfinlines.core.bz2 \ |
| 274 | run-readelf-zdebug.sh testfile-debug.bz2 testfile-zdebug.bz2 |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 275 | |
Mark Wielaard | e3e3ee2 | 2012-10-01 16:14:12 +0200 | [diff] [blame] | 276 | if USE_VALGRIND |
Mark Wielaard | 7fc4929 | 2013-12-13 22:42:46 +0100 | [diff] [blame] | 277 | valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no' |
Mark Wielaard | e3e3ee2 | 2012-10-01 16:14:12 +0200 | [diff] [blame] | 278 | endif |
| 279 | |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 280 | |
| 281 | installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir); \ |
| 282 | bindir=$(DESTDIR)$(bindir); \ |
| 283 | LC_ALL=C; LANG=C; \ |
| 284 | VALGRIND_CMD=$(valgrind_cmd); \ |
| 285 | abs_srcdir=$(abs_srcdir); \ |
| 286 | abs_builddir=$(abs_builddir); \ |
| 287 | abs_top_builddir=$(abs_top_builddir); \ |
| 288 | export abs_srcdir; export abs_builddir; \ |
| 289 | export abs_top_builddir; \ |
| 290 | export libdir; export bindir; \ |
Michael Forney | a45c804 | 2013-11-01 00:51:04 -0700 | [diff] [blame] | 291 | export LC_ALL; export LANG; export VALGRIND_CMD; \ |
| 292 | NM=$(NM); export NM; |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 293 | installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \ |
| 294 | installed $(tests_rpath) \ |
| 295 | '$(program_transform_name)' |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 296 | if STANDALONE |
| 297 | TESTS_ENVIRONMENT = $(installed_TESTS_ENVIRONMENT) |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 298 | LOG_COMPILER = $(installed_LOG_COMPILER) |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 299 | else !STANDALONE |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 300 | TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \ |
| 301 | abs_srcdir=$(abs_srcdir); abs_builddir=$(abs_builddir); \ |
| 302 | abs_top_builddir=$(abs_top_builddir); \ |
| 303 | export abs_srcdir; export abs_builddir; \ |
| 304 | export abs_top_builddir; \ |
Michael Forney | a45c804 | 2013-11-01 00:51:04 -0700 | [diff] [blame] | 305 | export LC_ALL; export LANG; export VALGRIND_CMD; \ |
| 306 | NM=$(NM); export NM; |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 307 | LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \ |
| 308 | $(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 309 | |
| 310 | installcheck-local: |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 311 | $(MAKE) $(AM_MAKEFLAGS) \ |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 312 | TESTS_ENVIRONMENT="$(installed_TESTS_ENVIRONMENT)" \ |
| 313 | LOG_COMPILER="$(installed_LOG_COMPILER)" check-TESTS |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 314 | endif !STANDALONE |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 315 | |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 316 | if STANDALONE |
| 317 | libdw = -ldw |
| 318 | libelf = -lelf |
| 319 | libasm = -lasm |
| 320 | libebl = -lebl |
| 321 | else !STANDALONE |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 322 | if BUILD_STATIC |
Ulrich Drepper | f9545c4 | 2009-04-23 07:59:02 -0700 | [diff] [blame] | 323 | libdw = ../libdw/libdw.a $(zip_LIBS) $(libelf) $(libebl) -ldl |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 324 | libelf = ../libelf/libelf.a |
| 325 | libasm = ../libasm/libasm.a |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 326 | else |
| 327 | libdw = ../libdw/libdw.so |
| 328 | libelf = ../libelf/libelf.so |
| 329 | libasm = ../libasm/libasm.so |
| 330 | endif |
| 331 | libebl = ../libebl/libebl.a |
Ulrich Drepper | c54785a | 2008-02-01 18:05:21 +0000 | [diff] [blame] | 332 | libeu = ../lib/libeu.a |
Roland McGrath | d7f8d0c | 2005-11-17 02:32:03 +0000 | [diff] [blame] | 333 | endif !STANDALONE |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 334 | |
Mark Wielaard | 3232479 | 2014-04-13 17:39:57 +0200 | [diff] [blame] | 335 | arextract_LDADD = $(libelf) |
| 336 | arsymtest_LDADD = $(libelf) |
| 337 | newfile_LDADD = $(libelf) |
| 338 | saridx_LDADD = $(libelf) |
| 339 | scnnames_LDADD = $(libelf) |
| 340 | sectiondump_LDADD = $(libelf) |
| 341 | showptable_LDADD = $(libelf) |
| 342 | hash_LDADD = $(libelf) |
| 343 | test_nlist_LDADD = $(libelf) |
| 344 | msg_tst_LDADD = $(libelf) |
| 345 | newscn_LDADD = $(libelf) |
| 346 | early_offscn_LDADD = $(libelf) |
| 347 | ecp_LDADD = $(libelf) |
| 348 | update1_LDADD = $(libelf) |
| 349 | update2_LDADD = $(libelf) |
| 350 | update3_LDADD = $(libebl) $(libelf) |
| 351 | update4_LDADD = $(libebl) $(libelf) |
| 352 | show_die_info_LDADD = $(libdw) $(libelf) |
| 353 | get_pubnames_LDADD = $(libdw) $(libelf) |
| 354 | show_abbrev_LDADD = $(libdw) $(libelf) |
| 355 | get_lines_LDADD = $(libdw) $(libelf) |
| 356 | get_files_LDADD = $(libdw) $(libelf) |
| 357 | get_aranges_LDADD = $(libdw) $(libelf) |
| 358 | allfcts_LDADD = $(libdw) $(libelf) |
| 359 | line2addr_LDADD = $(libdw) |
| 360 | addrscopes_LDADD = $(libdw) |
| 361 | funcscopes_LDADD = $(libdw) |
| 362 | funcretval_LDADD = $(libdw) |
| 363 | allregs_LDADD = $(libdw) |
| 364 | find_prologues_LDADD = $(libdw) |
| 365 | #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf) |
| 366 | asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 367 | asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 368 | asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 369 | asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 370 | asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 371 | asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 372 | asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 373 | asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 374 | asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) -ldl |
| 375 | dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 376 | rdwrmmap_LDADD = $(libelf) |
| 377 | dwfl_bug_addr_overflow_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 378 | arls_LDADD = $(libelf) |
| 379 | dwfl_bug_fd_leak_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 380 | dwfl_bug_report_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 381 | dwfl_bug_getmodules_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 382 | dwfl_addr_sect_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 383 | dwarf_getmacros_LDADD = $(libdw) |
| 384 | dwarf_getstring_LDADD = $(libdw) |
| 385 | addrcfi_LDADD = $(libdw) $(libebl) $(libelf) -ldl |
| 386 | test_flag_nobits_LDADD = $(libelf) |
| 387 | rerequest_tag_LDADD = $(libdw) |
| 388 | alldts_LDADD = $(libebl) $(libelf) |
Roland McGrath | 32899ac | 2011-07-09 03:17:24 -0700 | [diff] [blame] | 389 | md5_sha1_test_LDADD = $(libeu) |
Mark Wielaard | 3232479 | 2014-04-13 17:39:57 +0200 | [diff] [blame] | 390 | typeiter_LDADD = $(libdw) $(libelf) |
| 391 | typeiter2_LDADD = $(libdw) $(libelf) |
| 392 | low_high_pc_LDADD = $(libdw) $(libelf) |
| 393 | test_elf_cntl_gelf_getshdr_LDADD = $(libelf) |
| 394 | dwflsyms_LDADD = $(libdw) $(libelf) |
| 395 | dwfllines_LDADD = $(libdw) $(libelf) |
| 396 | dwfl_report_elf_align_LDADD = $(libdw) |
| 397 | varlocs_LDADD = $(libdw) $(libelf) |
| 398 | backtrace_LDADD = $(libdw) $(libelf) |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 399 | # backtrace-child-biarch also uses those *_CFLAGS and *_LDLAGS variables: |
| 400 | backtrace_child_CFLAGS = -fPIE |
| 401 | backtrace_child_LDFLAGS = -pie -pthread |
Mark Wielaard | 63572f4 | 2013-12-13 23:12:18 +0100 | [diff] [blame] | 402 | backtrace_child_biarch_SOURCES = backtrace-child.c |
Mark Wielaard | 3232479 | 2014-04-13 17:39:57 +0200 | [diff] [blame] | 403 | backtrace_data_LDADD = $(libdw) $(libelf) |
Jan Kratochvil | 8ae9bc9 | 2013-12-02 20:54:28 +0100 | [diff] [blame] | 404 | backtrace_dwarf_CFLAGS = -Wno-unused-parameter |
Mark Wielaard | 3232479 | 2014-04-13 17:39:57 +0200 | [diff] [blame] | 405 | backtrace_dwarf_LDADD = $(libdw) $(libelf) |
Mark Wielaard | 9380297 | 2014-04-11 23:52:47 +0200 | [diff] [blame] | 406 | debuglink_LDADD = $(libdw) $(libelf) |
Florian Weimer | 4813dbb | 2014-04-24 14:06:43 +0200 | [diff] [blame] | 407 | debugaltlink_LDADD = $(libdw) $(libelf) |
Mark Wielaard | d81d32d | 2014-04-30 23:00:40 +0200 | [diff] [blame] | 408 | buildid_LDADD = $(libdw) $(libelf) |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 409 | |
Ulrich Drepper | 39cec7a | 2005-08-30 01:22:01 +0000 | [diff] [blame] | 410 | if GCOV |
| 411 | check: check-am coverage |
| 412 | .PHONY: coverage |
| 413 | coverage: |
| 414 | -$(srcdir)/coverage.sh |
| 415 | endif |