This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: "make dep-am" and #include
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: DJ Delorie <dj at delorie dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Jun 2002 13:48:20 +0930
- Subject: Re: "make dep-am" and #include
- References: <20020525124945.GN464@bubble.sa.bigpond.net.au> <200205251256.g4PCugf17807@envy.delorie.com>
binutils "make dep-am" uses gcc -MM to automatically build dependency
lists in Makefile.am. This patch changes the #include style so that
ansidecl.h is correctly added to the lists.
include/ChangeLog
* demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>.
* fibheap.h: Likewise.
* hashtab.h: Likewise.
* partition.h: Likewise.
* sort.h: Likewise.
* splay-tree.h: Likewise.
OK to apply mainline?
Index: include/demangle.h
===================================================================
RCS file: /cvs/gcc/gcc/include/demangle.h,v
retrieving revision 1.20
diff -u -p -r1.20 demangle.h
--- include/demangle.h 5 Feb 2002 16:33:31 -0000 1.20
+++ include/demangle.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* Defs for interface to demanglers.
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001
+ Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -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/gcc/gcc/include/fibheap.h,v
retrieving revision 1.4
diff -u -p -r1.4 fibheap.h
--- include/fibheap.h 23 Aug 2001 12:07:58 -0000 1.4
+++ include/fibheap.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* A Fibonacci heap datatype.
- Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Daniel Berlin (dan@cgsoftware.com).
This file is part of GCC.
@@ -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/gcc/gcc/include/hashtab.h,v
retrieving revision 1.14
diff -u -p -r1.14 hashtab.h
--- include/hashtab.h 6 Jun 2002 12:42:06 -0000 1.14
+++ include/hashtab.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* An expandable hash tables datatype.
- Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Vladimir Makarov (vmakarov@cygnus.com).
This program is free software; you can redistribute it and/or modify
@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suit
extern "C" {
#endif /* __cplusplus */
-#include <ansidecl.h>
+#include "ansidecl.h"
#ifndef GTY
#define GTY(X)
Index: include/partition.h
===================================================================
RCS file: /cvs/gcc/gcc/include/partition.h,v
retrieving revision 1.3
diff -u -p -r1.3 partition.h
--- include/partition.h 23 Aug 2001 12:07:58 -0000 1.3
+++ include/partition.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* List implementation of a partition of consecutive integers.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is part of GCC.
@@ -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/gcc/gcc/include/sort.h,v
retrieving revision 1.3
diff -u -p -r1.3 sort.h
--- include/sort.h 23 Aug 2001 12:07:58 -0000 1.3
+++ include/sort.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* Sorting algorithms.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002 Free Software Foundation, Inc.
Contributed by Mark Mitchell <mark@codesourcery.com>.
This file is part of GCC.
@@ -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/gcc/gcc/include/splay-tree.h,v
retrieving revision 1.16
diff -u -p -r1.16 splay-tree.h
--- include/splay-tree.h 22 Feb 2002 17:01:20 -0000 1.16
+++ include/splay-tree.h 24 Jun 2002 04:13:24 -0000
@@ -1,5 +1,5 @@
/* A splay-tree datatype.
- Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Mark Mitchell (mark@markmitchell.com).
This file is part of GCC.
@@ -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
--
Alan Modra
IBM OzLabs - Linux Technology Centre