From 40773f7f3fcb3b2c853975141d32006c3d4bbcbe Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Tue, 5 Nov 1991 00:06:29 +0000 Subject: [PATCH] find include files --- bfd/Makefile.in | 2 +- binutils/Makefile.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bfd/Makefile.in b/bfd/Makefile.in index c3d0a4d33a0..08e715df93c 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 1583566770a..1830633920a 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. -- 2.30.2