aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-06-23 08:40:54 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-06-23 08:40:54 +0000
commit0d4a14760da3691d09645cbed5aef74604fb2e69 (patch)
tree84300771ad6baa059bd48323f6655cc5c7bb6c88 /bfd/Makefile.am
parent3447842b6e4315cdd24c5fab12172bb5f5f3057b (diff)
downloadgdb-0d4a14760da3691d09645cbed5aef74604fb2e69.zip
gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.gz
gdb-0d4a14760da3691d09645cbed5aef74604fb2e69.tar.bz2
* configure.in (--with-separate-debug-dir): New option.
* configure: Regenerate. * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. * Makefile.in: Regenerate. * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to bfd_follow_gnu_debuglink. (_bfd_dwarf2_find_line): Likewise.
Diffstat (limited to 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index ed6fc7b..28a3cfc 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -784,6 +784,9 @@ targets.lo: targets.c Makefile
archures.lo: archures.c Makefile
$(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c
+dwarf2.lo: dwarf2.c Makefile
+ $(LIBTOOL) --mode=compile $(COMPILE) -c -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
+
elf32-target.h : elfxx-target.h
rm -f elf32-target.h
sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new