Patch for bfd/Makefile* botch
Michael Sokolov
msokolov@ivan.Harhan.ORG
Tue Apr 11 13:53:00 GMT 2000
Hi there,
There is a spurious dependency in bfd/Makefile* of trad-core.lo on
hosts/i386linux.h. trad-core.c is not specific to i386linux and includes
different header files from hosts in different configurations, so I don't see
any reason for hosts/i386linux.h to appear in the Makefile* except for the
obvious guess that whoever last regenerated the dependencies happened to be
running i386linux. The patch below fixes it.
Please check this patch in, without it when building BFD on 4.3BSD in a
separate directory make complains about not finding hosts/i386linux.h and
stops.
--
Michael Sokolov Harhan Engineering Laboratory
Public Service Agent International Free Computing Task Force
International Engineering and Science Task Force
615 N GOOD LATIMER EXPY STE #4
DALLAS TX 75204-5852 USA
Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
2000-04-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.am (trad-core.lo): remove spurious dependency on
hosts/i386linux.h.
* Makefile.in: likewise.
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.20
diff -c -3 -p -r1.20 Makefile.am
*** Makefile.am 2000/04/11 04:11:02 1.20
--- Makefile.am 2000/04/11 20:39:12
*************** irix-core.lo: irix-core.c
*** 1131,1137 ****
lynx-core.lo: lynx-core.c
osf-core.lo: osf-core.c
sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
! trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \
! hosts/i386linux.h
cisco-core.lo: cisco-core.c
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
--- 1131,1136 ----
lynx-core.lo: lynx-core.c
osf-core.lo: osf-core.c
sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
! trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h
cisco-core.lo: cisco-core.c
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.in,v
retrieving revision 1.22
diff -c -3 -p -r1.22 Makefile.in
*** Makefile.in 2000/04/11 04:11:02 1.22
--- Makefile.in 2000/04/11 20:39:16
*************** irix-core.lo: irix-core.c
*** 1659,1666 ****
lynx-core.lo: lynx-core.c
osf-core.lo: osf-core.c
sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
! trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h \
! hosts/i386linux.h
cisco-core.lo: cisco-core.c
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
--- 1659,1665 ----
lynx-core.lo: lynx-core.c
osf-core.lo: osf-core.c
sco5-core.lo: sco5-core.c libaout.h $(INCDIR)/bfdlink.h
! trad-core.lo: trad-core.c libaout.h $(INCDIR)/bfdlink.h
cisco-core.lo: cisco-core.c
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
More information about the Binutils
mailing list