• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Process this file with automake to create Makefile.in
2## Configure input file for elfutils.
3##
4## Copyright (C) 1996-2002, 2003, 2004 Red Hat, Inc.
5##
6## This program is Open Source software; you can redistribute it and/or
7## modify it under the terms of the Open Software License version 1.0 as
8## published by the Open Source Initiative.
9##
10## You should have received a copy of the Open Software License along
11## with this program; if not, you may obtain a copy of the Open Software
12## License version 1.0 from http://www.opensource.org/licenses/osl.php or
13## by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
14## 3001 King Ranch Road, Ukiah, CA 95482.
15##
16DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
17AM_CFLAGS = -Wall -Werror -std=gnu99
18if !MUDFLAP
19AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
20endif
21INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
22	   -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
23	   -I$(top_srcdir)/lib -I..
24
25noinst_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \
26		  showptable update1 update2 update3 update4 test-nlist \
27		  show-die-info get-files get-lines get-pubnames \
28		  get-aranges \
29		  show-abbrev hash asm-tst1 asm-tst2 asm-tst3 \
30		  asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \
31		  msg_tst newscn ecp
32# get-ciefde
33
34TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \
35	update1 update2 update3 update4 \
36	run-show-die-info.sh run-get-files.sh run-get-lines.sh \
37	run-get-pubnames.sh run-get-aranges.sh \
38	run-show-abbrev.sh hash asm-tst1 asm-tst2 \
39	asm-tst3 asm-tst4 asm-tst5 asm-tst6 asm-tst7 asm-tst8 asm-tst9 \
40	msg_tst newscn run-strip-test.sh run-strip-test2.sh \
41	run-strip-test3.sh run-ecp-test.sh run-ecp-test2.sh
42# run-show-ciefde.sh
43
44EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
45	     run-show-die-info.sh run-get-files.sh run-get-lines.sh \
46	     run-get-pubnames.sh run-get-aranges.sh \
47	     run-show-ciefde.sh run-show-abbrev.sh run-strip-test.sh \
48	     run-strip-test2.sh run-ecp-test.sh run-ecp-test2.sh \
49	     testfile.bz2 testfile2.bz2 testfile3.bz2 testfile4.bz2 \
50	     testfile5.bz2 testfile6.bz2 testfile7.bz2 testfile8.bz2 \
51	     testfile9.bz2 testfile10.bz2 testfile11.bz2 testfile12.bz2 \
52	     testfile13.bz2 run-strip-test3.sh
53
54if MUDFLAP
55libdw = ../libdw/libdw.a
56libelf = ../libelf/libelf.a
57libasm = ../libasm/libasm.a
58else
59libdw = ../libdw/libdw.so
60libelf = ../libelf/libelf.so
61libasm = ../libasm/libasm.so
62endif
63libebl = ../libebl/libebl.a
64
65arextract_LDADD = $(libelf)
66arsymtest_LDADD = $(libelf)
67newfile_LDADD = $(libelf)
68saridx_LDADD = $(libelf)
69scnnames_LDADD = $(libelf)
70sectiondump_LDADD = $(libelf)
71showptable_LDADD = $(libelf)
72hash_LDADD = $(libelf)
73test_nlist_LDADD = $(libelf)
74msg_tst_LDADD = $(libelf)
75newscn_LDADD = $(libelf)
76ecp_LDADD = $(libelf)
77update1_LDADD = $(libelf)
78update2_LDADD = $(libelf)
79update3_LDADD = $(libebl) $(libelf)
80update4_LDADD = $(libebl) $(libelf)
81show_die_info_LDADD = $(libdw) $(libelf)
82get_pubnames_LDADD = $(libdw) $(libelf)
83show_abbrev_LDADD = $(libdw) $(libelf)
84get_lines_LDADD = $(libdw) $(libelf)
85get_files_LDADD = $(libdw) $(libelf)
86get_aranges_LDADD = $(libdw) $(libelf)
87#show_ciefde_LDADD = ../libdwarf/libdwarf.so $(libelf)
88asm_tst1_LDADD = $(libasm) $(libebl) $(libelf)
89asm_tst2_LDADD = $(libasm) $(libebl) $(libelf)
90asm_tst3_LDADD = $(libasm) $(libebl) $(libelf)
91asm_tst4_LDADD = $(libasm) $(libebl) $(libelf)
92asm_tst5_LDADD = $(libasm) $(libebl) $(libelf)
93asm_tst6_LDADD = $(libasm) $(libebl) $(libelf)
94asm_tst7_LDADD = $(libasm) $(libebl) $(libelf)
95asm_tst8_LDADD = $(libasm) $(libebl) $(libelf)
96asm_tst9_LDADD = $(libasm) $(libebl) $(libelf)
97
98CLEANFILES = xxx
99