This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"make dep-am" and #include


Recently when running "make dep-am", which uses "gcc -MM", I noticed a
lot of dependencies were being trimmed, due to #include'ing locally
provided header files with <filename> instead of "filename".

I'm committing all bar the include/ dir changes as I'm not sure who
has jurisdiction over these files.

bfd/doc/ChangeLog
	* chew.c: Use #include "" instead of <> for local header files.
binutils/ChangeLog
	* arlex.l: Use #include "" instead of <> for local header files.
	* coffdump.c: Likewise.
	* coffgrok.c: Likewise.
	* nlmconv.c: Likewise.
	* nlmheader.y: Likewise.
	* srconv.c: Likewise.
	* strings.c: Likewise.
	* sysdump.c: Likewise.
	* unwind-ia64.h: Likewise.
	* windres.h: Likewise.
	* winduni.h: Likewise.
gas/ChangeLog
	* Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
	* Makefile.in: Regenerate.
	* dep-in.sed: Reorder to match OBJS in Makefile.am.
	* configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
	* configure: Regenerate.
	* as.h: Use #include "" instead of <> for local header files.
	* flonum-konst.c: Likewise.
	* flonum-mult.c: Likewise.
	* gasp.c: Likewise.
	* listing.c: Likewise.
	* config/tc-ia64.h: Likewise.
	* config/tc-v850.h: Likewise.
include/ChangeLog
	* callback.h: Use #include "" instead of <> for local header files.
	* demangle.h: Likewise.
	* fibheap.h: Likewise.
	* hashtab.h: Likewise.
	* partition.h: Likewise.
	* sort.h: Likewise.
	* splay-tree.h: Likewise.
include/opcode/ChangeLog
	* ia64.h: Use #include "" instead of <> for local header files.
	* sparc.h: Likewise.
ld/ChangeLog
	* ldlex.l: Use #include "" instead of <> for local header files.
opcodes/ChangeLog
	* Makefile.am (sh-dis.lo): Don't put make commands in deps.
	* Makefile.in: Regenerate.
	* arc-dis.c: Use #include "" instead of <> for local header files.
	* m68k-dis.c: Likewise.

Index: bfd/doc/chew.c
===================================================================
RCS file: /cvs/src/src/bfd/doc/chew.c,v
retrieving revision 1.9
diff -u -p -r1.9 chew.c
--- bfd/doc/chew.c	1 Feb 2002 09:22:53 -0000	1.9
+++ bfd/doc/chew.c	25 May 2002 11:00:49 -0000
@@ -82,7 +82,7 @@ Foundation, Inc., 59 Temple Place - Suit
 
    Foo.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include "sysdep.h"
 #include <assert.h>
 #include <stdio.h>
Index: binutils/arlex.l
===================================================================
RCS file: /cvs/src/src/binutils/arlex.l,v
retrieving revision 1.5
diff -u -p -r1.5 arlex.l
--- binutils/arlex.l	4 Dec 2001 14:29:11 -0000	1.5
+++ binutils/arlex.l	25 May 2002 11:00:53 -0000
@@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suit
 
 */
 #define DONTDECLARE_MALLOC
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include "libiberty.h"
 #include "arparse.h"
 
Index: binutils/coffdump.c
===================================================================
RCS file: /cvs/src/src/binutils/coffdump.c,v
retrieving revision 1.9
diff -u -p -r1.9 coffdump.c
--- binutils/coffdump.c	19 May 2002 16:17:54 -0000	1.9
+++ binutils/coffdump.c	25 May 2002 11:00:53 -0000
@@ -23,8 +23,8 @@
    This module reads a type tree generated by coffgrok and prints
    it out so we can test the grokker.  */
 
-#include <bfd.h>
-#include <libiberty.h>
+#include "bfd.h"
+#include "libiberty.h"
 
 #include "coffgrok.h"
 #include "bucomm.h"
Index: binutils/coffgrok.c
===================================================================
RCS file: /cvs/src/src/binutils/coffgrok.c,v
retrieving revision 1.5
diff -u -p -r1.5 coffgrok.c
--- binutils/coffgrok.c	19 May 2002 16:17:54 -0000	1.5
+++ binutils/coffgrok.c	25 May 2002 11:00:53 -0000
@@ -25,8 +25,8 @@ Foundation, Inc., 59 Temple Place - Suit
 
 */
 
-#include <bfd.h>
-#include <libiberty.h>
+#include "bfd.h"
+#include "libiberty.h"
 #include "bucomm.h"
 
 #include "coff/internal.h"
Index: binutils/nlmconv.c
===================================================================
RCS file: /cvs/src/src/binutils/nlmconv.c,v
retrieving revision 1.12
diff -u -p -r1.12 nlmconv.c
--- binutils/nlmconv.c	21 May 2002 19:34:58 -0000	1.12
+++ binutils/nlmconv.c	25 May 2002 11:00:58 -0000
@@ -37,12 +37,12 @@
 #include "bucomm.h"
 #include "safe-ctype.h"
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include <time.h>
 #include <sys/stat.h>
 #include <sys/file.h>
 #include <assert.h>
-#include <getopt.h>
+#include "getopt.h"
 
 /* Internal BFD NLM header.  */
 #include "libnlm.h"
Index: binutils/nlmheader.y
===================================================================
RCS file: /cvs/src/src/binutils/nlmheader.y,v
retrieving revision 1.5
diff -u -p -r1.5 nlmheader.y
--- binutils/nlmheader.y	10 Feb 2002 19:00:00 -0000	1.5
+++ binutils/nlmheader.y	25 May 2002 11:00:59 -0000
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suit
    This implementation is based on the description in the NetWare Tool
    Maker Specification manual, edition 1.0.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include <stdio.h>
 #include "safe-ctype.h"
 #include "bfd.h"
Index: binutils/srconv.c
===================================================================
RCS file: /cvs/src/src/binutils/srconv.c,v
retrieving revision 1.9
diff -u -p -r1.9 srconv.c
--- binutils/srconv.c	24 May 2002 00:33:35 -0000	1.9
+++ binutils/srconv.c	25 May 2002 11:00:59 -0000
@@ -26,12 +26,12 @@
 
    All debugging information is preserved */
 
-#include <bfd.h>
+#include "bfd.h"
 #include "bucomm.h"
 #include "sysroff.h"
 #include "coffgrok.h"
-#include <libiberty.h>
-#include <getopt.h>
+#include "libiberty.h"
+#include "getopt.h"
 
 #include "coff/internal.h"
 #include "../bfd/libcoff.h"
Index: binutils/strings.c
===================================================================
RCS file: /cvs/src/src/binutils/strings.c,v
retrieving revision 1.16
diff -u -p -r1.16 strings.c
--- binutils/strings.c	23 Jan 2002 16:12:56 -0000	1.16
+++ binutils/strings.c	25 May 2002 11:00:59 -0000
@@ -61,7 +61,7 @@
 #endif
 #include "bfd.h"
 #include <stdio.h>
-#include <getopt.h>
+#include "getopt.h"
 #include <errno.h>
 #include "bucomm.h"
 #include "libiberty.h"
Index: binutils/sysdump.c
===================================================================
RCS file: /cvs/src/src/binutils/sysdump.c,v
retrieving revision 1.9
diff -u -p -r1.9 sysdump.c
--- binutils/sysdump.c	24 May 2002 00:33:36 -0000	1.9
+++ binutils/sysdump.c	25 May 2002 11:01:00 -0000
@@ -30,8 +30,8 @@
 #include "safe-ctype.h"
 
 #include <stdio.h>
-#include <libiberty.h>
-#include <getopt.h>
+#include "libiberty.h"
+#include "getopt.h"
 #include "sysroff.h"
 
 static int dump = 1;
Index: binutils/unwind-ia64.h
===================================================================
RCS file: /cvs/src/src/binutils/unwind-ia64.h,v
retrieving revision 1.2
diff -u -p -r1.2 unwind-ia64.h
--- binutils/unwind-ia64.h	13 Mar 2001 06:43:58 -0000	1.2
+++ binutils/unwind-ia64.h	25 May 2002 11:01:00 -0000
@@ -18,8 +18,8 @@ You should have received a copy of the G
 along with this program; if not, write to the Free Software
 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#include <elf/ia64.h>
-#include <ansidecl.h>
+#include "elf/ia64.h"
+#include "ansidecl.h"
 
 #define UNW_VER(x)		((x) >> 48)
 #define UNW_FLAG_MASK		0x0000ffff00000000
Index: binutils/windres.h
===================================================================
RCS file: /cvs/src/src/binutils/windres.h,v
retrieving revision 1.7
diff -u -p -r1.7 windres.h
--- binutils/windres.h	15 Apr 2002 14:12:38 -0000	1.7
+++ binutils/windres.h	25 May 2002 11:01:01 -0000
@@ -19,7 +19,7 @@
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* This is the header file for the windres program.  It defines
    structures and declares functions used within the program.  */
Index: binutils/winduni.h
===================================================================
RCS file: /cvs/src/src/binutils/winduni.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 winduni.h
--- binutils/winduni.h	3 May 1999 07:29:10 -0000	1.1.1.1
+++ binutils/winduni.h	25 May 2002 11:01:02 -0000
@@ -19,7 +19,7 @@
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* This header file declares the types and functions we use for
    unicode support in windres.  Our unicode support is very limited at
Index: gas/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.55
diff -u -p -r1.55 Makefile.am
--- gas/Makefile.am	7 May 2002 17:22:18 -0000	1.55
+++ gas/Makefile.am	25 May 2002 11:01:07 -0000
@@ -494,7 +494,8 @@ as_new_DEPENDENCIES = $(TARG_CPU_O) $(OB
 
 # Stuff that every object file depends upon.  If anything is removed
 # from this list, remove it from dep-in.sed as well.
-$(OBJS): $(INCDIR)/bin-bugs.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
+$(OBJS): $(INCDIR)/bin-bugs.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
+	$(INCDIR)/progress.h $(INCDIR)/fopen-same.h \
 	$(OBJ_FORMAT_H) $(TARG_CPU_H) $(TARG_ENV_H) \
 	as.h asintl.h bignum.h bit_fix.h config.h emul.h expr.h flonum.h \
 	frags.h hash.h listing.h obj.h read.h symbols.h tc.h write.h
Index: gas/as.h
===================================================================
RCS file: /cvs/src/src/gas/as.h,v
retrieving revision 1.26
diff -u -p -r1.26 as.h
--- gas/as.h	3 May 2002 02:25:33 -0000	1.26
+++ gas/as.h	25 May 2002 11:01:10 -0000
@@ -91,7 +91,7 @@ extern void *alloca ();
 #include <sys/types.h>
 #endif
 
-#include <getopt.h>
+#include "getopt.h"
 /* The first getopt value for machine-independent long options.
    150 isn't special; it's just an arbitrary non-ASCII char value.  */
 #define OPTION_STD_BASE 150
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.101
diff -u -p -r1.101 configure.in
--- gas/configure.in	24 May 2002 09:26:58 -0000	1.101
+++ gas/configure.in	25 May 2002 11:01:15 -0000
@@ -860,7 +855,7 @@ esac
 case "${need_bfd}" in
 yes)
   BFDLIB=../bfd/libbfd.la
-  ALL_OBJ_DEPS="$ALL_OBJ_DEPS ../bfd/bfd.h"
+  ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h'
   ;;
 esac
 
Index: gas/dep-in.sed
===================================================================
RCS file: /cvs/src/src/gas/dep-in.sed,v
retrieving revision 1.4
diff -u -p -r1.4 dep-in.sed
--- gas/dep-in.sed	4 Apr 2002 14:06:49 -0000	1.4
+++ gas/dep-in.sed	25 May 2002 11:01:15 -0000
@@ -11,16 +11,16 @@ s!@SRCDIR@/config!$(srcdir)/config!g
 s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
 s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
 s!@SRCDIR@/!!g
-s! \$(INCDIR)/ansidecl\.h!!g
-s! \$(INCDIR)/fopen-same\.h!!g
 s! \$(srcdir)/config/te-generic\.h!!g
 s! \.\./bfd/bfd\.h!!g
 s! itbl-cpu\.h!!g
 s! itbl-parse\.h!!g
 
 s! \$(INCDIR)/bin-bugs\.h!!g
+s! \$(INCDIR)/ansidecl\.h!!g
 s! \$(INCDIR)/libiberty\.h!!g
 s! \$(INCDIR)/progress\.h!!g
+s! \$(INCDIR)/fopen-same\.h!!g
 s! obj-format\.h!!g
 s! targ-cpu\.h!!g
 s! targ-env\.h!!g
Index: gas/flonum-konst.c
===================================================================
RCS file: /cvs/src/src/gas/flonum-konst.c,v
retrieving revision 1.5
diff -u -p -r1.5 flonum-konst.c
--- gas/flonum-konst.c	8 Mar 2001 23:24:22 -0000	1.5
+++ gas/flonum-konst.c	25 May 2002 11:01:18 -0000
@@ -19,7 +19,7 @@
    Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include "flonum.h"
 /* JF:  I added the last entry to this table, and I'm not
    sure if its right or not.  Could go either way.  I wish
Index: gas/flonum-mult.c
===================================================================
RCS file: /cvs/src/src/gas/flonum-mult.c,v
retrieving revision 1.4
diff -u -p -r1.4 flonum-mult.c
--- gas/flonum-mult.c	8 Mar 2001 23:24:22 -0000	1.4
+++ gas/flonum-mult.c	25 May 2002 11:01:18 -0000
@@ -19,7 +19,7 @@
    in a file named COPYING.  Among other things, the copyright
    notice and this notice must be preserved on all copies.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include "flonum.h"
 
 /*	plan for a . b => p(roduct)
Index: gas/gasp.c
===================================================================
RCS file: /cvs/src/src/gas/gasp.c,v
retrieving revision 1.16
diff -u -p -r1.16 gasp.c
--- gas/gasp.c	3 May 2002 02:25:33 -0000	1.16
+++ gas/gasp.c	25 May 2002 11:01:19 -0000
@@ -51,7 +51,7 @@ suitable for gas to consume.
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
-#include <getopt.h>
+#include "getopt.h"
 
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
Index: gas/listing.c
===================================================================
RCS file: /cvs/src/src/gas/listing.c,v
retrieving revision 1.19
diff -u -p -r1.19 listing.c
--- gas/listing.c	18 May 2002 12:53:30 -0000	1.19
+++ gas/listing.c	25 May 2002 11:01:21 -0000
@@ -92,7 +92,7 @@ Software Foundation, 59 Temple Place - S
 */
 
 #include "as.h"
-#include <obstack.h>
+#include "obstack.h"
 #include "safe-ctype.h"
 #include "input-file.h"
 #include "subsegs.h"
Index: gas/config/tc-ia64.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.h,v
retrieving revision 1.19
diff -u -p -r1.19 tc-ia64.h
--- gas/config/tc-ia64.h	6 May 2002 11:43:03 -0000	1.19
+++ gas/config/tc-ia64.h	25 May 2002 11:01:43 -0000
@@ -19,8 +19,8 @@
    the Free Software Foundation, 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <opcode/ia64.h>
-#include <elf/ia64.h>
+#include "opcode/ia64.h"
+#include "elf/ia64.h"
 
 #define TC_IA64
 
Index: gas/config/tc-v850.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-v850.h,v
retrieving revision 1.10
diff -u -p -r1.10 tc-v850.h
--- gas/config/tc-v850.h	1 Feb 2002 16:29:19 -0000	1.10
+++ gas/config/tc-v850.h	25 May 2002 11:01:52 -0000
@@ -20,7 +20,7 @@
 
 #define TC_V850
 
-#include <elf/v850.h>
+#include "elf/v850.h"
 
 #define TARGET_BYTES_BIG_ENDIAN 0
 
Index: include/callback.h
===================================================================
RCS file: /cvs/src/src/include/callback.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 callback.h
--- include/callback.h	3 May 1999 07:29:01 -0000	1.1.1.1
+++ include/callback.h	25 May 2002 11:02:00 -0000
@@ -49,7 +49,7 @@ Foundation, Inc., 59 Temple Place - Suit
 /* ??? The reason why we check for va_start here should be documented.  */
 
 #ifndef va_start
-#include <ansidecl.h>
+#include "ansidecl.h"
 #ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
 #else
Index: include/demangle.h
===================================================================
RCS file: /cvs/src/src/include/demangle.h,v
retrieving revision 1.12
diff -u -p -r1.12 demangle.h
--- include/demangle.h	5 Feb 2002 17:53:03 -0000	1.12
+++ include/demangle.h	25 May 2002 11:02:00 -0000
@@ -21,7 +21,7 @@
 #if !defined (DEMANGLE_H)
 #define DEMANGLE_H
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* Options passed to cplus_demangle (in 2nd parameter). */
 
Index: include/fibheap.h
===================================================================
RCS file: /cvs/src/src/include/fibheap.h,v
retrieving revision 1.3
diff -u -p -r1.3 fibheap.h
--- include/fibheap.h	23 Aug 2001 14:51:49 -0000	1.3
+++ include/fibheap.h	25 May 2002 11:02:00 -0000
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA.  */
 #ifndef _FIBHEAP_H_
 #define _FIBHEAP_H_
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 typedef long fibheapkey_t;
 
Index: include/hashtab.h
===================================================================
RCS file: /cvs/src/src/include/hashtab.h,v
retrieving revision 1.8
diff -u -p -r1.8 hashtab.h
--- include/hashtab.h	17 Aug 2001 06:32:52 -0000	1.8
+++ include/hashtab.h	25 May 2002 11:02:00 -0000
@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suit
 extern "C" {
 #endif /* __cplusplus */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* The type for a hash code.  */
 typedef unsigned int hashval_t;
Index: include/partition.h
===================================================================
RCS file: /cvs/src/src/include/partition.h,v
retrieving revision 1.5
diff -u -p -r1.5 partition.h
--- include/partition.h	23 Aug 2001 14:51:49 -0000	1.5
+++ include/partition.h	25 May 2002 11:02:01 -0000
@@ -40,7 +40,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include <stdio.h>
 
 struct partition_elem
Index: include/sort.h
===================================================================
RCS file: /cvs/src/src/include/sort.h,v
retrieving revision 1.4
diff -u -p -r1.4 sort.h
--- include/sort.h	23 Aug 2001 14:51:49 -0000	1.4
+++ include/sort.h	25 May 2002 11:02:01 -0000
@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA.  */
 extern "C" {
 #endif /* __cplusplus */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* Sort an array of pointers.  */
 
Index: include/splay-tree.h
===================================================================
RCS file: /cvs/src/src/include/splay-tree.h,v
retrieving revision 1.7
diff -u -p -r1.7 splay-tree.h
--- include/splay-tree.h	21 Feb 2002 22:19:14 -0000	1.7
+++ include/splay-tree.h	25 May 2002 11:02:01 -0000
@@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA.  */
 extern "C" {
 #endif /* __cplusplus */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* Use typedefs for the key and data types to facilitate changing
    these types, if necessary.  These types should be sufficiently wide
Index: include/opcode/ia64.h
===================================================================
RCS file: /cvs/src/src/include/opcode/ia64.h,v
retrieving revision 1.3
diff -u -p -r1.3 ia64.h
--- include/opcode/ia64.h	22 Sep 2000 19:43:49 -0000	1.3
+++ include/opcode/ia64.h	25 May 2002 11:02:02 -0000
@@ -8,7 +8,7 @@
 
 #include <sys/types.h>
 
-#include <bfd.h>
+#include "bfd.h"
 
 
 typedef BFD_HOST_U_64_BIT ia64_insn;
Index: include/opcode/sparc.h
===================================================================
RCS file: /cvs/src/src/include/opcode/sparc.h,v
retrieving revision 1.3
diff -u -p -r1.3 sparc.h
--- include/opcode/sparc.h	14 Mar 2001 02:27:44 -0000	1.3
+++ include/opcode/sparc.h	25 May 2002 11:02:02 -0000
@@ -20,7 +20,7 @@ along with GAS or GDB; see the file COPY
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 
 /* The SPARC opcode table (and other related data) is defined in
    the opcodes library in sparc-opc.c.  If you change anything here, make
Index: ld/ldlex.l
===================================================================
RCS file: /cvs/src/src/ld/ldlex.l,v
retrieving revision 1.13
diff -u -p -r1.13 ldlex.l
--- ld/ldlex.l	15 Feb 2002 02:11:05 -0000	1.13
+++ ld/ldlex.l	25 May 2002 11:02:19 -0000
@@ -26,7 +26,7 @@ This was written by steve chamberlain
 */
 
 
-#include <ansidecl.h>
+#include "ansidecl.h"
 #include <stdio.h>
 
 #ifdef MPW
Index: opcodes/Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.49
diff -u -p -r1.49 Makefile.am
--- opcodes/Makefile.am	22 May 2002 19:18:15 -0000	1.49
+++ opcodes/Makefile.am	25 May 2002 11:29:16 -0000
@@ -371,6 +371,9 @@ s390-mkopc: s390-mkopc.c
 s390-opc.tab: s390-mkopc s390-opc.txt
 	./s390-mkopc < $(srcdir)/s390-opc.txt > s390-opc.tab
 
+sh-dis.lo: sh-dis.c
+	$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $<
+
 Makefile: $(BFDDIR)/configure.in
 
 # This dependency stuff is copied from BFD.
@@ -632,7 +635,6 @@ s390-dis.lo: s390-dis.c $(INCDIR)/anside
   $(INCDIR)/opcode/s390.h
 sh-dis.lo: sh-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
   sh-opc.h $(INCDIR)/dis-asm.h $(BFD_H) $(INCDIR)/symcat.h
-	$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $<
 sh64-dis.lo: sh64-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
   sh64-opc.h $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h \
Index: opcodes/arc-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/arc-dis.c,v
retrieving revision 1.7
diff -u -p -r1.7 arc-dis.c
--- opcodes/arc-dis.c	26 Sep 2001 01:54:07 -0000	1.7
+++ opcodes/arc-dis.c	25 May 2002 11:29:18 -0000
@@ -17,8 +17,8 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#include <ansidecl.h>
-#include <libiberty.h>
+#include "ansidecl.h"
+#include "libiberty.h"
 #include "dis-asm.h"
 #include "opcode/arc.h"
 #include "elf-bfd.h"
Index: opcodes/m68k-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/m68k-dis.c,v
retrieving revision 1.8
diff -u -p -r1.8 m68k-dis.c
--- opcodes/m68k-dis.c	24 Jul 2001 00:48:04 -0000	1.8
+++ opcodes/m68k-dis.c	25 May 2002 11:29:19 -0000
@@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suit
 #include "sysdep.h"
 #include "dis-asm.h"
 #include "floatformat.h"
-#include <libiberty.h>
+#include "libiberty.h"
 #include "opintl.h"
 
 #include "opcode/m68k.h"

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]