* Makefile.in, config-lang.in: Convert to autoconf.
authorPer Bothner <bothner@cygnus.com>
Fri, 12 Sep 1997 23:25:29 +0000 (23:25 +0000)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 12 Sep 1997 23:25:29 +0000 (16:25 -0700)
From-SVN: r15429

gcc/cp/ChangeLog
gcc/cp/Makefile.in
gcc/cp/config-lang.in

index 66766ed4cb97c107c96966e6f50c4a8d754c1000..577596f7a034c5f0f38563ba42d7171d1f5841a2 100644 (file)
@@ -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
index cf40fb4d96d23ce70e2b6ff31b19b365df74386d..b68779e8794b865a68586ef4e4eca16bb197c575 100644 (file)
@@ -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@
 #\f
 # 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)
index 66fe112519e51d6752c23d58de77123811cc6a2b..4ba5cdffe32a1a1b385839cf6b88712ee307aab7 100644 (file)
@@ -37,3 +37,5 @@ diff_excludes="-x cp/parse.c -x cp/parse.h"
 headers='$(CXX_EXTRA_HEADERS)'
 
 lib2funcs=cplib2.txt
+
+outputs=cp/Makefile