aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@cygnus.com>1997-09-12 23:25:29 +0000
committerPer Bothner <bothner@gcc.gnu.org>1997-09-12 16:25:29 -0700
commit0520f6c01a8a494a17c3ce0c146a1a28dca51367 (patch)
treeefae584f9b58b25a16065db610352e07eebd4117 /gcc
parent3c5b8fa6b41205439c87e093adacf0890289c94a (diff)
downloadgcc-0520f6c01a8a494a17c3ce0c146a1a28dca51367.zip
gcc-0520f6c01a8a494a17c3ce0c146a1a28dca51367.tar.gz
gcc-0520f6c01a8a494a17c3ce0c146a1a28dca51367.tar.bz2
* Makefile.in, config-lang.in: Convert to autoconf.
From-SVN: r15429
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/Makefile.in18
-rw-r--r--gcc/cp/config-lang.in2
3 files changed, 18 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 66766ed..577596f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 12 16:11:13 1997 Per Bothner <bothner@cygnus.com>
+
+ * Makefile.in, config-lang.in: Convert to autoconf.
+
Thu Sep 11 17:14:55 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (lookup_name_real): Add implicit 'typename' to types from
diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in
index cf40fb4..b68779e 100644
--- a/gcc/cp/Makefile.in
+++ b/gcc/cp/Makefile.in
@@ -54,7 +54,7 @@ T_CFLAGS =
X_CPPFLAGS =
T_CPPFLAGS =
-CC = cc
+CC = @CC@
BISON = bison
BISONFLAGS =
LEX = flex
@@ -83,14 +83,15 @@ GCC_CFLAGS=$(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS)
# These are used because `configure' appends `cross-make'
# to the makefile when making a cross-compiler.
-target= ... `configure' substitutes actual target name here.
-xmake_file= ... `configure' substitutes actual x- file name here.
-tmake_file= ... `configure' substitutes actual t- file name here.
+target=@target@
+xmake_file=@dep_host_xmake_file@
+tmake_file=@dep_tmake_file@
#version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
#mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
# Directory where sources are, from where we are.
-srcdir = .
+srcdir = @srcdir@
+VPATH = @srcdir@
# Additional system libraries to link with.
CLIB=
@@ -113,16 +114,21 @@ all: all.indirect
# sed inserts variable overrides after the following line.
####target overrides
+@target_overrides@
####host overrides
+@host_overrides@
####cross overrides
+@cross_defines@
+@cross_overrides@
####build overrides
+@build_overrides@
#
# Now figure out from those variables how to compile and link.
all.indirect: Makefile ../cc1plus
# IN_GCC tells obstack.h that we are using gcc's <stddef.h> file.
-INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
+INTERNAL_CFLAGS = $(CROSS) -DIN_GCC @extra_c_flags@
# This is the variable actually used when we compile.
ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
diff --git a/gcc/cp/config-lang.in b/gcc/cp/config-lang.in
index 66fe112..4ba5cdf 100644
--- a/gcc/cp/config-lang.in
+++ b/gcc/cp/config-lang.in
@@ -37,3 +37,5 @@ diff_excludes="-x cp/parse.c -x cp/parse.h"
headers='$(CXX_EXTRA_HEADERS)'
lib2funcs=cplib2.txt
+
+outputs=cp/Makefile