aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-11 11:22:25 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-11 11:22:25 +0000
commit7eff5bcf966c3a2f06ed73971eca8dc396aba471 (patch)
tree9acc6944f6ac1a46f23ec3594aca7deec02b8aa2 /binutils
parent2a5f387b08e8dbd8ca5d0205b5b337abb7d5c9cf (diff)
downloadgdb-7eff5bcf966c3a2f06ed73971eca8dc396aba471.zip
gdb-7eff5bcf966c3a2f06ed73971eca8dc396aba471.tar.gz
gdb-7eff5bcf966c3a2f06ed73971eca8dc396aba471.tar.bz2
Use -I. to get sysdep.h.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/Makefile.in15
1 files changed, 7 insertions, 8 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 01ed8af..59cebd6 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -12,15 +12,13 @@ DIST_NAME=binutils-beta-${VERSION}
version=`$(unsubdir)/../gcc$(subdir)/gcc -dumpversion`
prefix = $(destdir)
-bindir = $(prefix)/bin
-libdir = $(prefix)/lib
-libsubdir = $(libdir)/gcc/$(target)/$(version)
+bindir = $(prefix)/H-$(host_alias)/T-independent/bin
TEXIDIR = $(srcdir)/../texinfo/fsf
-INSTALL = install -c
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_FILE = $(INSTALL)
+#INSTALL = install -c
+#INSTALL_PROGRAM = $(INSTALL)
+#INSTALL_FILE = $(INSTALL)
#CC=gcc -Wall
# these two are almost the same program
@@ -47,7 +45,7 @@ LIBDIR = $(unsubdir)/../bfd$(subdir)
INCDIR = $(BASEDIR)/include
-CFLAGS = -g -I$(srcdir)/../include -I$(INCDIR) $(HDEFINES) $(TDEFINES)
+CFLAGS = -g -I. -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.
@@ -170,7 +168,8 @@ realclean: clean
install: $(PROGS)
for i in $(PROGS) ; do \
- $(INSTALL_PROGRAM) $$i $(bindir)/$$i ; \
+ cp $$i $(bindir)/$$i.new ; \
+ mv -f $(bindir)/$$i.new $(bindir)/$$i ; \
done
dist: $(DIST_NAME).tar.Z