1## Process this file with automake to create Makefile.in 2## 3## Copyright (C) 1996-2014 Red Hat, Inc. 4## This file is part of elfutils. 5## 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. 10## 11## elfutils is distributed in the hope that it will be useful, but 12## WITHOUT ANY WARRANTY; without even the implied warranty of 13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14## GNU General Public License for more details. 15## 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/>. 18## 19include $(top_srcdir)/config/eu.am 20BUILD_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf 21 22AM_LDFLAGS = 23 24if !STANDALONE 25AM_CPPFLAGS += -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \ 26 -I$(top_srcdir)/libdwfl -I$(top_srcdir)/libdwelf \ 27 -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \ 28 -I$(top_srcdir)/lib -I.. 29AM_LDFLAGS += -Wl,-rpath-link,../libasm:../libdw:../libelf 30endif 31 32if TESTS_RPATH 33AM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH) 34tests_rpath = yes 35else 36tests_rpath = no 37endif 38 39check_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ 40 showptable update1 update2 update3 update4 test-nlist \ 41 show-die-info get-files get-lines get-pubnames \ 42 get-aranges allfcts line2addr addrscopes funcscopes \ 43 show-abbrev hash newscn ecp dwflmodtest \ 44 find-prologues funcretval allregs rdwrmmap \ 45 dwfl-bug-addr-overflow arls dwfl-bug-fd-leak \ 46 dwfl-addr-sect dwfl-bug-report early-offscn \ 47 dwfl-bug-getmodules dwarf-getmacros addrcfi \ 48 test-flag-nobits dwarf-getstring rerequest_tag \ 49 alldts md5-sha1-test typeiter typeiter2 low_high_pc \ 50 test-elf_cntl_gelf_getshdr dwflsyms dwfllines \ 51 dwfl-report-elf-align varlocs backtrace backtrace-child \ 52 backtrace-data backtrace-dwarf debuglink debugaltlink \ 53 buildid deleted deleted-lib.so aggregate_size vdsosyms 54 55asm_TESTS = asm-tst1 asm-tst2 asm-tst3 asm-tst4 asm-tst5 \ 56 asm-tst6 asm-tst7 asm-tst8 asm-tst9 57 58if BIARCH 59check_PROGRAMS += backtrace-child-biarch 60endif 61 62# Substitute $(COMPILE). 63backtrace-child-biarch$(EXEEXT): backtrace-child.c 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 70TESTS = 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 \ 74 run-show-abbrev.sh run-line2addr.sh hash \ 75 newscn run-strip-test.sh run-strip-test2.sh \ 76 run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ 77 run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ 78 run-strip-groups.sh run-strip-reloc.sh \ 79 run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh \ 80 run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \ 81 run-elflint-test.sh run-elflint-self.sh run-ranlib-test.sh \ 82 run-ranlib-test2.sh run-ranlib-test3.sh run-ranlib-test4.sh \ 83 run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ 84 run-find-prologues.sh run-allregs.sh run-addrcfi.sh \ 85 run-nm-self.sh run-readelf-self.sh \ 86 run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ 87 run-readelf-test4.sh run-readelf-twofiles.sh \ 88 run-readelf-macro.sh run-readelf-loc.sh \ 89 run-readelf-aranges.sh run-readelf-line.sh \ 90 run-native-test.sh run-bug1-test.sh \ 91 run-debuglink.sh run-debugaltlink.sh run-buildid.sh \ 92 dwfl-bug-addr-overflow run-addrname-test.sh \ 93 dwfl-bug-fd-leak dwfl-bug-report \ 94 run-dwfl-bug-offline-rel.sh run-dwfl-addr-sect.sh \ 95 run-disasm-x86.sh run-disasm-x86-64.sh \ 96 run-early-offscn.sh run-dwarf-getmacros.sh \ 97 run-test-flag-nobits.sh run-prelink-addr-test.sh \ 98 run-dwarf-getstring.sh run-rerequest_tag.sh run-typeiter.sh \ 99 run-readelf-d.sh run-readelf-gdb_index.sh run-unstrip-n.sh \ 100 run-low_high_pc.sh run-macro-test.sh run-elf_cntl_gelf_getshdr.sh \ 101 run-test-archive64.sh run-readelf-vmcoreinfo.sh \ 102 run-readelf-mixed-corenote.sh run-dwfllines.sh \ 103 run-dwfl-report-elf-align.sh run-addr2line-test.sh \ 104 run-addr2line-i-test.sh run-addr2line-i-lex-test.sh \ 105 run-varlocs.sh run-funcretval.sh \ 106 run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \ 107 run-backtrace-native-biarch.sh run-backtrace-native-core.sh \ 108 run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \ 109 run-backtrace-core-i386.sh run-backtrace-core-ppc.sh \ 110 run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ 111 run-backtrace-core-aarch64.sh \ 112 run-backtrace-demangle.sh run-stack-d-test.sh run-stack-i-test.sh \ 113 run-readelf-dwz-multi.sh run-allfcts-multi.sh run-deleted.sh \ 114 run-linkmap-cut.sh run-aggregate-size.sh vdsosyms run-readelf-A.sh 115 116if !BIARCH 117export ELFUTILS_DISABLE_BIARCH = 1 118endif 119 120if !DEMANGLE 121export ELFUTILS_DISABLE_DEMANGLE = 1 122endif 123 124if !STANDALONE 125check_PROGRAMS += msg_tst md5-sha1-test 126TESTS += msg_tst md5-sha1-test 127endif 128 129if LZMA 130TESTS += run-readelf-s.sh run-dwflsyms.sh 131endif 132 133if ZLIB 134TESTS += run-readelf-zdebug.sh 135endif 136 137if HAVE_LIBASM 138check_PROGRAMS += $(asm_TESTS) 139TESTS += $(asm_TESTS) 140endif 141 142EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ 143 run-show-die-info.sh run-get-files.sh run-get-lines.sh \ 144 run-get-pubnames.sh run-get-aranges.sh \ 145 run-show-abbrev.sh run-strip-test.sh \ 146 run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \ 147 testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \ 148 testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \ 149 testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \ 150 testfile13.bz2 run-strip-test3.sh run-allfcts.sh \ 151 testfile_class_func.bz2 testfile_nested_funcs.bz2 \ 152 run-line2addr.sh run-elflint-test.sh testfile14.bz2 \ 153 run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ 154 run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \ 155 run-strip-reloc.sh hello_i386.ko.bz2 hello_x86_64.ko.bz2 \ 156 hello_ppc64.ko.bz2 hello_s390.ko.bz2 hello_aarch64.ko.bz2 \ 157 run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh\ 158 run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \ 159 run-ranlib-test3.sh run-ranlib-test4.sh \ 160 run-addrscopes.sh run-strings-test.sh run-funcscopes.sh \ 161 run-nm-self.sh run-readelf-self.sh run-addrcfi.sh \ 162 run-find-prologues.sh run-allregs.sh run-native-test.sh \ 163 run-addrname-test.sh run-dwfl-bug-offline-rel.sh \ 164 run-dwfl-addr-sect.sh run-early-offscn.sh \ 165 run-dwarf-getmacros.sh run-test-flag-nobits.sh \ 166 run-dwarf-getstring.sh run-rerequest_tag.sh run-alldts.sh \ 167 testfile15.bz2 testfile15.debug.bz2 \ 168 testfile16.bz2 testfile16.debug.bz2 \ 169 testfile17.bz2 testfile17.debug.bz2 \ 170 testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \ 171 testfile20.bz2 testfile20.index.bz2 \ 172 testfile21.bz2 testfile21.index.bz2 \ 173 testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \ 174 testfile26.bz2 testfile27.bz2 \ 175 coverage.sh test-subr.sh test-wrapper.sh \ 176 run-readelf-test1.sh run-readelf-test2.sh run-readelf-test3.sh \ 177 run-readelf-test4.sh run-readelf-twofiles.sh \ 178 run-bug1-test.sh testfile28.bz2 testfile28.rdwr.bz2 \ 179 run-debuglink.sh run-debugaltlink.sh run-buildid.sh \ 180 testfile29.bz2 testfile29.rdwr.bz2 \ 181 testfile30.bz2 testfile31.bz2 testfile32.bz2 testfile33.bz2 \ 182 testfile34.bz2 testfile35.bz2 testfile35.debug.bz2 \ 183 testfile36.bz2 testfile36.debug.bz2 \ 184 testfile37.bz2 testfile37.debug.bz2 \ 185 testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \ 186 testfile41.bz2 testfile42.bz2 testfile42_noshdrs.bz2 \ 187 testfile43.bz2 \ 188 testfile44.S.bz2 testfile44.expect.bz2 run-disasm-x86.sh \ 189 testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh \ 190 testfile46.bz2 testfile47.bz2 testfile48.bz2 testfile48.debug.bz2 \ 191 testfile49.bz2 testfile50.bz2 testfile51.bz2 \ 192 testfile-macros-0xff.bz2 \ 193 run-readelf-macro.sh testfilemacro.bz2 \ 194 run-readelf-loc.sh testfileloc.bz2 \ 195 run-readelf-aranges.sh run-readelf-line.sh testfilefoobarbaz.bz2 \ 196 run-readelf-dwz-multi.sh libtestfile_multi_shared.so.bz2 \ 197 testfile_multi.dwz.bz2 testfile_multi_main.bz2 \ 198 testfile-dwzstr.bz2 testfile-dwzstr.multi.bz2 \ 199 run-allfcts-multi.sh \ 200 test-offset-loop.bz2 test-offset-loop.alt.bz2 \ 201 run-prelink-addr-test.sh \ 202 testfile52-32.so.bz2 testfile52-32.so.debug.bz2 \ 203 testfile52-32.prelink.so.bz2 testfile52-32.noshdrs.so.bz2 \ 204 testfile52-64.so.bz2 testfile52-64.so.debug.bz2 \ 205 testfile52-64.prelink.so.bz2 testfile52-64.noshdrs.so.bz2 \ 206 testfile53-32.bz2 testfile53-32.debug.bz2 \ 207 testfile53-32.prelink.bz2 testfile53-64.bz2 \ 208 testfile53-64.debug.bz2 testfile53-64.prelink.bz2 \ 209 testfile54-32.so.bz2 testfile54-32.so.debug.bz2 \ 210 testfile54-32.prelink.so.bz2 testfile54-32.noshdrs.so.bz2 \ 211 testfile54-64.so.bz2 testfile54-64.so.debug.bz2 \ 212 testfile54-64.prelink.so.bz2 testfile54-64.noshdrs.so.bz2 \ 213 testfile55-32.bz2 testfile55-32.debug.bz2 \ 214 testfile55-32.prelink.bz2 testfile55-64.bz2 \ 215 testfile55-64.debug.bz2 testfile55-64.prelink.bz2 \ 216 testfile56.bz2 testfile57.bz2 testfile58.bz2 \ 217 run-typeiter.sh testfile59.bz2 \ 218 run-readelf-d.sh testlib_dynseg.so.bz2 \ 219 run-readelf-gdb_index.sh testfilegdbindex5.bz2 \ 220 testfilegdbindex7.bz2 \ 221 run-readelf-s.sh testfilebazdbg.bz2 testfilebazdyn.bz2 \ 222 testfilebazmin.bz2 testfilebazdbg.debug.bz2 testfilebazmdb.bz2 \ 223 testfilebaztab.bz2 testfilebasmin.bz2 testfilebaxmin.bz2 \ 224 testfilebazdbg_pl.bz2 testfilebazmin_pl.bz2 \ 225 testfilebazdbg_plr.bz2 testfilebazmin_plr.bz2 \ 226 testfilebazdbgppc64.bz2 testfilebazdbgppc64.debug.bz2 \ 227 testfilebazdbgppc64_pl.bz2 testfilebazdbgppc64_plr.bz2 \ 228 testfilebazdynppc64.bz2 testfilebazmdbppc64.bz2 \ 229 testfilebazminppc64.bz2 testfilebazminppc64_pl.bz2 \ 230 testfilebazminppc64_plr.bz2 testfilebaztabppc64.bz2 \ 231 run-dwflsyms.sh \ 232 run-unstrip-n.sh testcore-rtlib.bz2 testcore-rtlib-ppc.bz2 \ 233 run-low_high_pc.sh testfile_low_high_pc.bz2 \ 234 run-macro-test.sh testfile-macinfo.bz2 testfile-macros.bz2 \ 235 run-elf_cntl_gelf_getshdr.sh \ 236 run-test-archive64.sh testarchive64.a.bz2 \ 237 testfile60.bz2 testfile61.bz2 \ 238 run-readelf-vmcoreinfo.sh testfile62.bz2 \ 239 run-readelf-mixed-corenote.sh testfile63.bz2 testfile64.bz2 \ 240 testfile65.bz2 testfile67.bz2 testfile68.bz2 \ 241 testfile69.core.bz2 testfile69.so.bz2 \ 242 testfile70.core.bz2 testfile70.exec.bz2 testfile71.bz2 \ 243 run-dwfllines.sh run-dwfl-report-elf-align.sh \ 244 testfile-dwfl-report-elf-align-shlib.so.bz2 \ 245 testfilenolines.bz2 test-core-lib.so.bz2 test-core.core.bz2 \ 246 test-core.exec.bz2 run-addr2line-test.sh \ 247 run-addr2line-i-test.sh testfile-inlines.bz2 \ 248 run-addr2line-i-lex-test.sh testfile-lex-inlines.bz2 \ 249 testfileppc32.bz2 testfileppc64.bz2 \ 250 testfiles390.bz2 testfiles390x.bz2 \ 251 testfilearm.bz2 testfileaarch64.bz2 \ 252 run-varlocs.sh \ 253 testfile_const_type.c testfile_const_type.bz2 \ 254 testfile_implicit_pointer.c testfile_implicit_pointer.bz2 \ 255 testfile_parameter_ref.c testfile_parameter_ref.bz2 \ 256 testfile_entry_value.c testfile_entry_value.bz2 \ 257 testfile_implicit_value.c testfile_implicit_value.bz2 \ 258 testfile_aarch64_core.bz2 testfile_i686_core.bz2 \ 259 run-funcretval.sh funcretval_test.c funcretval_test_aarch64.bz2 \ 260 run-backtrace-data.sh run-backtrace-dwarf.sh cleanup-13.c \ 261 run-backtrace-native.sh run-backtrace-native-biarch.sh \ 262 run-backtrace-native-core.sh run-backtrace-native-core-biarch.sh \ 263 run-backtrace-core-x86_64.sh run-backtrace-core-i386.sh \ 264 backtrace-subr.sh backtrace.i386.core.bz2 backtrace.i386.exec.bz2 \ 265 backtrace.x86_64.core.bz2 backtrace.x86_64.exec.bz2 \ 266 backtrace.ppc.core.bz2 backtrace.ppc.exec.bz2 \ 267 run-backtrace-core-ppc.sh testfile66.bz2 testfile66.core.bz2 \ 268 backtrace.s390x.core.bz2 backtrace.s390x.exec.bz2 \ 269 backtrace.s390.core.bz2 backtrace.s390.exec.bz2 \ 270 run-backtrace-core-s390x.sh run-backtrace-core-s390.sh \ 271 run-backtrace-core-aarch64.sh \ 272 backtrace.aarch64.core.bz2 backtrace.aarch64.exec.bz2 \ 273 run-backtrace-demangle.sh testfile-backtrace-demangle.bz2 \ 274 testfile-backtrace-demangle.cc \ 275 testfile-backtrace-demangle.core.bz2 \ 276 run-stack-d-test.sh run-stack-i-test.sh \ 277 testfiledwarfinlines.bz2 testfiledwarfinlines.core.bz2 \ 278 run-readelf-zdebug.sh testfile-debug.bz2 testfile-zdebug.bz2 \ 279 run-deleted.sh run-linkmap-cut.sh linkmap-cut-lib.so.bz2 \ 280 linkmap-cut.bz2 linkmap-cut.core.bz2 \ 281 run-aggregate-size.sh testfile-sizes1.o.bz2 testfile-sizes2.o.bz2 \ 282 testfile-sizes3.o.bz2 \ 283 run-readelf-A.sh testfileppc32attrs.o.bz2 284 285if USE_VALGRIND 286valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no' 287endif 288 289 290installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir); \ 291 bindir=$(DESTDIR)$(bindir); \ 292 LC_ALL=C; LANG=C; \ 293 VALGRIND_CMD=$(valgrind_cmd); \ 294 abs_srcdir=$(abs_srcdir); \ 295 abs_builddir=$(abs_builddir); \ 296 abs_top_builddir=$(abs_top_builddir); \ 297 export abs_srcdir; export abs_builddir; \ 298 export abs_top_builddir; \ 299 export libdir; export bindir; \ 300 export LC_ALL; export LANG; export VALGRIND_CMD; \ 301 NM=$(NM); export NM; 302installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \ 303 installed $(tests_rpath) \ 304 '$(program_transform_name)' 305if STANDALONE 306TESTS_ENVIRONMENT = $(installed_TESTS_ENVIRONMENT) 307LOG_COMPILER = $(installed_LOG_COMPILER) 308else !STANDALONE 309TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \ 310 abs_srcdir=$(abs_srcdir); abs_builddir=$(abs_builddir); \ 311 abs_top_builddir=$(abs_top_builddir); \ 312 export abs_srcdir; export abs_builddir; \ 313 export abs_top_builddir; \ 314 export LC_ALL; export LANG; export VALGRIND_CMD; \ 315 NM=$(NM); export NM; 316LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \ 317 $(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm 318 319installcheck-local: 320 $(MAKE) $(AM_MAKEFLAGS) \ 321 TESTS_ENVIRONMENT="$(installed_TESTS_ENVIRONMENT)" \ 322 LOG_COMPILER="$(installed_LOG_COMPILER)" check-TESTS 323endif !STANDALONE 324 325if STANDALONE 326libdw = -ldw 327libelf = -lelf 328libasm = -lasm 329libebl = -lebl 330else !STANDALONE 331if BUILD_STATIC 332libdw = ../libdw/libdw.a $(zip_LIBS) $(libelf) $(libebl) -ldl 333libelf = ../libelf/libelf.a 334libasm = ../libasm/libasm.a 335else 336libdw = ../libdw/libdw.so 337libelf = ../libelf/libelf.so 338libasm = ../libasm/libasm.so 339endif 340libebl = ../libebl/libebl.a 341libeu = ../lib/libeu.a 342endif !STANDALONE 343 344arextract_LDADD = $(libelf) 345arsymtest_LDADD = $(libelf) 346newfile_LDADD = $(libelf) 347saridx_LDADD = $(libelf) 348scnnames_LDADD = $(libelf) 349sectiondump_LDADD = $(libelf) 350showptable_LDADD = $(libelf) 351hash_LDADD = $(libelf) 352test_nlist_LDADD = $(libelf) 353msg_tst_LDADD = $(libelf) 354newscn_LDADD = $(libelf) 355early_offscn_LDADD = $(libelf) 356ecp_LDADD = $(libelf) 357update1_LDADD = $(libelf) 358update2_LDADD = $(libelf) 359update3_LDADD = $(libebl) $(libelf) 360update4_LDADD = $(libebl) $(libelf) 361show_die_info_LDADD = $(libdw) $(libelf) 362get_pubnames_LDADD = $(libdw) $(libelf) 363show_abbrev_LDADD = $(libdw) $(libelf) 364get_lines_LDADD = $(libdw) $(libelf) 365get_files_LDADD = $(libdw) $(libelf) 366get_aranges_LDADD = $(libdw) $(libelf) 367allfcts_LDADD = $(libdw) $(libelf) 368line2addr_LDADD = $(libdw) 369addrscopes_LDADD = $(libdw) 370funcscopes_LDADD = $(libdw) 371funcretval_LDADD = $(libdw) 372allregs_LDADD = $(libdw) 373find_prologues_LDADD = $(libdw) 374#show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf) 375asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) -ldl 376asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) -ldl 377asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) -ldl 378asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) -ldl 379asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) -ldl 380asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) -ldl 381asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) -ldl 382asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) -ldl 383asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) -ldl 384dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) -ldl 385rdwrmmap_LDADD = $(libelf) 386dwfl_bug_addr_overflow_LDADD = $(libdw) $(libebl) $(libelf) -ldl 387arls_LDADD = $(libelf) 388dwfl_bug_fd_leak_LDADD = $(libdw) $(libebl) $(libelf) -ldl 389dwfl_bug_report_LDADD = $(libdw) $(libebl) $(libelf) -ldl 390dwfl_bug_getmodules_LDADD = $(libdw) $(libebl) $(libelf) -ldl 391dwfl_addr_sect_LDADD = $(libdw) $(libebl) $(libelf) -ldl 392dwarf_getmacros_LDADD = $(libdw) 393dwarf_getstring_LDADD = $(libdw) 394addrcfi_LDADD = $(libdw) $(libebl) $(libelf) -ldl 395test_flag_nobits_LDADD = $(libelf) 396rerequest_tag_LDADD = $(libdw) 397alldts_LDADD = $(libebl) $(libelf) 398md5_sha1_test_LDADD = $(libeu) 399typeiter_LDADD = $(libdw) $(libelf) 400typeiter2_LDADD = $(libdw) $(libelf) 401low_high_pc_LDADD = $(libdw) $(libelf) 402test_elf_cntl_gelf_getshdr_LDADD = $(libelf) 403dwflsyms_LDADD = $(libdw) $(libelf) 404dwfllines_LDADD = $(libdw) $(libelf) 405dwfl_report_elf_align_LDADD = $(libdw) 406varlocs_LDADD = $(libdw) $(libelf) 407backtrace_LDADD = $(libdw) $(libelf) 408# backtrace-child-biarch also uses those *_CFLAGS and *_LDLAGS variables: 409backtrace_child_CFLAGS = -fPIE 410backtrace_child_LDFLAGS = -pie -pthread 411backtrace_child_biarch_SOURCES = backtrace-child.c 412backtrace_data_LDADD = $(libdw) $(libelf) 413backtrace_dwarf_CFLAGS = -Wno-unused-parameter 414backtrace_dwarf_LDADD = $(libdw) $(libelf) 415debuglink_LDADD = $(libdw) $(libelf) 416debugaltlink_LDADD = $(libdw) $(libelf) 417buildid_LDADD = $(libdw) $(libelf) 418deleted_LDADD = ./deleted-lib.so 419deleted_lib_so_LDFLAGS = -shared -rdynamic 420deleted_lib_so_CFLAGS = -fPIC -fasynchronous-unwind-tables 421aggregate_size_LDADD = $(libdw) $(libelf) 422vdsosyms_LDADD = $(libdw) $(libelf) 423 424if GCOV 425check: check-am coverage 426.PHONY: coverage 427coverage: 428 -$(srcdir)/coverage.sh 429endif 430