From: K. Richard Pixley Date: Tue, 5 Nov 1991 00:06:29 +0000 (+0000) Subject: find include files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40773f7f3fcb3b2c853975141d32006c3d4bbcbe;p=binutils-gdb.git find include files --- 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.