From 7f2649bb061f8e22a046845224262cbd768a850d Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Mon, 7 Jun 1993 19:57:26 +0000 Subject: [PATCH] * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. * configure.in: No longer need to configure to get sysdep.h. --- gprof/ChangeLog | 5 +++++ gprof/Makefile.in | 2 +- gprof/configure.in | 6 ------ ld/ChangeLog | 11 ++++++++--- ld/configure.in | 28 ++++++++++++++-------------- 5 files changed, 28 insertions(+), 24 deletions(-) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 6acd4b90b5d..038b3184e5a 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 7 12:56:17 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + Tue May 18 21:44:11 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * Makefile.in (install): should not depend on install-info diff --git a/gprof/Makefile.in b/gprof/Makefile.in index c1a8f74ab43..3c5dcd8db89 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -43,7 +43,7 @@ DISTSTUFF = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c CFLAGS=-g LDFLAGS= .c.o: - $(CC) -c $(CFLAGS) -I. -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MACHINE).h\" $(TCFLAGS) $(HCFLAGS) $< + $(CC) -c $(CFLAGS) -I. -I$(srcdir) -I../bfd -I$(srcdir)/../include -I$(srcdir)/../bfd -DMACHINE_H=\"$(MACHINE).h\" $(TCFLAGS) $(HCFLAGS) $< all: diststuff $(PROG) diff --git a/gprof/configure.in b/gprof/configure.in index fbec79887f3..a4de83d2e01 100644 --- a/gprof/configure.in +++ b/gprof/configure.in @@ -8,12 +8,6 @@ srcname="gprof" # per-host: -. ${srcdir}/../bfd/configure.host - -# Set up to make a link between the host's include file and "sysdep.h". -files="../bfd/hosts/${my_host}.h" -links="sysdep.h" - # per-target: case "${target}" in i386-*-*) my_target=i386 ;; diff --git a/ld/ChangeLog b/ld/ChangeLog index 2f5fc424564..17d2618b795 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,8 +1,13 @@ +Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) + + * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h. + * configure.in: No longer need to configure to get sysdep.h. + Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - * Makefile.in: remove old C++ rules; remove install:all and - install-info:info dependencies (these cause some spurious rebuilds - at 'make install' time) + * Makefile.in: remove install:all and install-info:info + dependencies (these cause some spurious rebuilds at 'make install' + time) Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com) diff --git a/ld/configure.in b/ld/configure.in index 249f490b470..f0ee0b0cf69 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -9,17 +9,6 @@ target_dependent=true # per-host: -. ${srcdir}/../bfd/configure.host - -# Set up to make a link between the host's include file and "sysdep.h". -files="../bfd/hosts/${my_host}.h" -links="sysdep.h" - -if [ ! -f ${srcdir}/${files} ] ; then - files=../bfd/hosts/std-host.h - echo "[${srcname} has no specific support for host ${host} -- using std-host]" -fi - host_makefile_frag= if [ -f ${srcdir}/config/${my_host}.mh ] ; then @@ -64,6 +53,8 @@ case "${target}" in ;; i[34]86-*-go32) my_target=go32 ;; + i[34]86-*-aix*) my_target=i386-coff + ;; i[34]86-*-sco*) my_target=i386-coff ;; i[34]86-*-coff) my_target=i386-coff @@ -98,16 +89,22 @@ case "${target}" in ;; m68*-*-coff) my_target=m68k-coff ;; + m68*-*-hpux) my_target=hp300hpux + ;; m68*-*-*) echo '***' "Unknown m68k target vendor for ld:" ${target_vendor} 1>&2 exit 1 ;; + hppa*-hp-osf) my_target=hppaosf + ;; vax-dec-ultrix* | vax-dec-bsd*) my_target=vax ;; mips-dec-ultrix*) my_target=mips-lit ;; mips-sgi-irix*) my_target=mips-big ;; - mips-idt-ecoff) my_target=mips-idt + mips-idt-ecoffl*) my_target=mips-idtl + ;; + mips-idt-ecoff*) my_target=mips-idt ;; mips-dec-bsd*) my_target=mipsbsd ;; @@ -119,6 +116,9 @@ case "${target}" in ;; esac - - target_makefile_frag=config/${my_target}.mt + +if [ ! -r ${srcdir}/${target_makefile_frag} ]; then + echo '***' GNU LD does not support target ${target} 1>&2 + exit 1 +fi -- 2.30.2