aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-16 22:47:00 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-16 22:47:00 +0000
commitd1c3b63ad472a72cb0c2b9c92bf9eafc65c98285 (patch)
tree8b075e5be609417ec6d1a0096104b53bbbec298b /gdb/Makefile.in
parentbe00bdddadf30549f652e4eebb02dd536b162122 (diff)
downloadfsf-binutils-gdb-d1c3b63ad472a72cb0c2b9c92bf9eafc65c98285.zip
fsf-binutils-gdb-d1c3b63ad472a72cb0c2b9c92bf9eafc65c98285.tar.gz
fsf-binutils-gdb-d1c3b63ad472a72cb0c2b9c92bf9eafc65c98285.tar.bz2
* configure.in (GDBTK_SRC_DIR): We must have autoconf
give us the absolute path to the source directory. * configure: Regenerated. * Makefile.in (GDBTK_SRC_DIR): Add variable so that autoconf can substitue it in for us. (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We really do need an absolute pathname.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 3ee505b..d815634 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -270,6 +270,10 @@ IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
GDBTK_VERSION = 1.0
GDBTK_LIBRARY = $(datadir)/insight$(GDBTK_VERSION)
+# Gdbtk requires an absolute path to the source directory or
+# the testsuite won't run properly.
+GDBTK_SRC_DIR = @GDBTK_SRC_DIR@
+
SUBDIR_GDBTK_OBS = \
gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o \
gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
@@ -1395,7 +1399,7 @@ gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
$(ITK_CFLAGS) $(TIX_CFLAGS) \
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
$(srcdir)/gdbtk/generic/gdbtk.c \
- -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(srcdir)\"
+ -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
$(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \