Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | ## Process this file with automake to create Makefile.in |
| 2 | ## |
| 3 | ## Copyright (C) 1996-2002, 2003, 2004, 2005 Red Hat, Inc. |
| 4 | ## |
| 5 | ## This program is Open Source software; you can redistribute it and/or |
| 6 | ## modify it under the terms of the Open Software License version 1.0 as |
| 7 | ## published by the Open Source Initiative. |
| 8 | ## |
| 9 | ## You should have received a copy of the Open Software License along |
| 10 | ## with this program; if not, you may obtain a copy of the Open Software |
| 11 | ## License version 1.0 from http://www.opensource.org/licenses/osl.php or |
| 12 | ## by writing the Open Source Initiative c/o Lawrence Rosen, Esq., |
| 13 | ## 3001 King Ranch Road, Ukiah, CA 95482. |
| 14 | ## |
| 15 | DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE |
| 16 | if MUDFLAP |
| 17 | AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\ |
| 18 | $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) |
| 19 | else |
| 20 | AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \ |
| 21 | $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) |
| 22 | AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf |
| 23 | endif |
| 24 | INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \ |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 25 | -I$(top_srcdir)/libdwfl \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 26 | -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \ |
| 27 | -I$(top_srcdir)/lib -I.. |
| 28 | |
| 29 | noinst_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ |
| 30 | showptable update1 update2 update3 update4 test-nlist \ |
| 31 | show-die-info get-files get-lines get-pubnames \ |
| 32 | get-aranges allfcts line2addr \ |
| 33 | show-abbrev hash asm-tst1 asm-tst2 asm-tst3 \ |
| 34 | asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \ |
Roland McGrath | 1838590 | 2005-07-28 07:12:38 +0000 | [diff] [blame] | 35 | msg_tst newscn ecp dwflmodtest |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 36 | # get-ciefde |
| 37 | |
| 38 | TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ |
| 39 | update1 update2 update3 update4 \ |
| 40 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 41 | run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \ |
| 42 | run-show-abbrev.sh run-line2addr.sh hash asm-tst1 asm-tst2 \ |
| 43 | asm-tst3 asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \ |
| 44 | msg_tst newscn run-strip-test.sh run-strip-test2.sh \ |
| 45 | run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ |
| 46 | run-strip-test6.sh run-ecp-test.sh run-ecp-test2.sh \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 47 | run-elflint-test.sh run-elflint-self.sh run-ranlib-test.sh \ |
| 48 | run-ranlib-test2.sh run-ranlib-test3.sh run-ranlib-test4.sh |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 49 | # run-show-ciefde.sh |
| 50 | |
| 51 | EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ |
| 52 | run-show-die-info.sh run-get-files.sh run-get-lines.sh \ |
| 53 | run-get-pubnames.sh run-get-aranges.sh \ |
| 54 | run-show-ciefde.sh run-show-abbrev.sh run-strip-test.sh \ |
| 55 | run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \ |
| 56 | testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \ |
| 57 | testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \ |
| 58 | testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \ |
| 59 | testfile13.bz2 run-strip-test3.sh run-allfcts.sh \ |
| 60 | run-line2addr.sh run-elflint-test.sh testfile14.bz2 \ |
| 61 | run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 62 | run-elflint-self.sh run-ranlib-test.sh run-ranlib-test2.sh \ |
| 63 | run-ranlib-test3.sh run-ranlib-test4.sh \ |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 64 | testfile15.bz2 testfile15.debug.bz2 \ |
| 65 | testfile16.bz2 testfile16.debug.bz2 \ |
| 66 | testfile17.bz2 testfile17.debug.bz2 \ |
Ulrich Drepper | e48c05b | 2005-08-15 21:47:33 +0000 | [diff] [blame^] | 67 | testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \ |
Ulrich Drepper | 5d83229 | 2005-08-15 21:36:27 +0000 | [diff] [blame] | 68 | testfile20.bz2 testfile20.index.bz2 \ |
| 69 | testfile21.bz2 testfile21.index.bz2 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 70 | |
| 71 | if MUDFLAP |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 72 | static_build=yes |
| 73 | libmudflap = -lmudflap |
| 74 | endif |
| 75 | |
| 76 | if BUILD_STATIC |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 77 | libdw = ../libdw/libdw.a |
| 78 | libelf = ../libelf/libelf.a |
| 79 | libasm = ../libasm/libasm.a |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 80 | else |
| 81 | libdw = ../libdw/libdw.so |
| 82 | libelf = ../libelf/libelf.so |
| 83 | libasm = ../libasm/libasm.so |
| 84 | endif |
| 85 | libebl = ../libebl/libebl.a |
| 86 | |
| 87 | arextract_LDADD = $(libelf) $(libmudflap) |
| 88 | arsymtest_LDADD = $(libelf) $(libmudflap) |
| 89 | newfile_LDADD = $(libelf) $(libmudflap) |
| 90 | saridx_LDADD = $(libelf) $(libmudflap) |
| 91 | scnnames_LDADD = $(libelf) $(libmudflap) |
| 92 | sectiondump_LDADD = $(libelf) $(libmudflap) |
| 93 | showptable_LDADD = $(libelf) $(libmudflap) |
| 94 | hash_LDADD = $(libelf) $(libmudflap) |
| 95 | test_nlist_LDADD = $(libelf) $(libmudflap) |
| 96 | msg_tst_LDADD = $(libelf) $(libmudflap) |
| 97 | newscn_LDADD = $(libelf) $(libmudflap) |
| 98 | ecp_LDADD = $(libelf) $(libmudflap) |
| 99 | update1_LDADD = $(libelf) $(libmudflap) |
| 100 | update2_LDADD = $(libelf) $(libmudflap) |
| 101 | update3_LDADD = $(libebl) $(libelf) $(libmudflap) |
| 102 | update4_LDADD = $(libebl) $(libelf) $(libmudflap) |
| 103 | show_die_info_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 104 | get_pubnames_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 105 | show_abbrev_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 106 | get_lines_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 107 | get_files_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 108 | get_aranges_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 109 | allfcts_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 110 | line2addr_no_Wformat = yes |
| 111 | line2addr_LDADD = $(libdw) $(libelf) $(libmudflap) |
| 112 | #show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf) $(libmudflap) |
Ulrich Drepper | a38998e | 2005-08-03 02:05:39 +0000 | [diff] [blame] | 113 | asm_tst1_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 114 | asm_tst2_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 115 | asm_tst3_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 116 | asm_tst4_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 117 | asm_tst5_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 118 | asm_tst6_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 119 | asm_tst7_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 120 | asm_tst8_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
| 121 | asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | 47be795 | 2005-08-07 04:41:39 +0000 | [diff] [blame] | 122 | dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 123 | |
| 124 | CLEANFILES = xxx |