(config.in,stamp-h.in): Add rules for.
authorDoug Evans <dje@gnu.org>
Sat, 19 Jul 1997 02:49:31 +0000 (02:49 +0000)
committerDoug Evans <dje@gnu.org>
Sat, 19 Jul 1997 02:49:31 +0000 (02:49 +0000)
(config.h,stamp-h): Add rules for.
(distclean): Delete config2.h, stamp-h.
(ALL_CFLAGS): Add @DEFS@.

From-SVN: r14487

gcc/Makefile.in

index 15a8000dba3eccb8ae0680163c7303e0201a004e..61b2909e0edfdd22516384a88c2622a0fdf32016 100644 (file)
@@ -442,7 +442,8 @@ all.indirect: $(ALL)
 INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
 
 # This is the variable actually used when we compile.
-ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
+ALL_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) \
+       @DEFS@
 
 # Likewise.
 ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
@@ -661,6 +662,14 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
 $(srcdir)/configure: $(srcdir)/configure.in
        cd $(srcdir); autoconf
 
+config.in: stamp-h.in
+stamp-h.in: configure.in acconfig.h
+        cd $(srcdir) && autoheader
+       touch stamp-h.in
+config.h: stamp-h ; @true
+stamp-h: config.in config.status
+       CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
+
 all.internal: start.encap rest.encap
 # This is what to compile if making a cross-compiler.
 # Note that we can compile enquire using the cross-compiler just built,
@@ -2030,7 +2039,7 @@ clean: mostlyclean bytecode.clean lang.clean
 # Delete all files that users would normally create
 # while building and installing GCC.
 distclean: clean bytecode.distclean lang.distclean
-       -rm -f tm.h config.h tconfig.h hconfig.h md
+       -rm -f tm.h config.h config2.h tconfig.h hconfig.h md stamp-h
        -rm -f config.status config.run config.cache config.bak
        -rm -f Make-lang Make-hooks
        -rm -f Makefile specs.h options.h *.oaux