aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/Makefile.in2
-rw-r--r--binutils/Makefile.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index c3d0a4d..08e715d 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -29,7 +29,7 @@ RANLIB = ranlib
AR = ar
AR_FLAGS = clq
INCDIR = $(srcdir)/../include
-CSEARCH = -I. -I$(INCDIR)
+CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
DEP = mkdep
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 1583566..1830633 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -55,7 +55,7 @@ OBJDUMP_PROG=objdump
PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
STAGESTUFF = $(PROGS) *.o
-BASEDIR = $(unsubdir)/..
+BASEDIR = $(srcdir)/..
LIBDIR = $(unsubdir)/../bfd$(subdir)
#### host and target dependant Makefile fragments come in here.
@@ -63,7 +63,7 @@ LIBDIR = $(unsubdir)/../bfd$(subdir)
INCDIR = $(BASEDIR)/include
-CFLAGS = -g -I. -I$(INCDIR) $(HDEFINES) $(TDEFINES)
+CFLAGS = -g -I. -I$(srcdir) -I$(INCDIR) $(HDEFINES) $(TDEFINES)
# When adding .o files, to make VPATH work in Sun Make, you have to
# also add a foo.o: foo.c line at the bottom of the file.