Commit d68b51ef by Doug Evans

(config.in,stamp-h.in): Add rules for.

(config.h,stamp-h): Add rules for.
(distclean): Delete config2.h, stamp-h.
(ALL_CFLAGS): Add @DEFS@.

From-SVN: r14487
parent 2f51182a
...@@ -442,7 +442,8 @@ all.indirect: $(ALL) ...@@ -442,7 +442,8 @@ all.indirect: $(ALL)
INTERNAL_CFLAGS = $(CROSS) -DIN_GCC INTERNAL_CFLAGS = $(CROSS) -DIN_GCC
# This is the variable actually used when we compile. # 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. # Likewise.
ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS) ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
...@@ -661,6 +662,14 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \ ...@@ -661,6 +662,14 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/configure: $(srcdir)/configure.in
cd $(srcdir); autoconf 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 all.internal: start.encap rest.encap
# This is what to compile if making a cross-compiler. # This is what to compile if making a cross-compiler.
# Note that we can compile enquire using the cross-compiler just built, # Note that we can compile enquire using the cross-compiler just built,
...@@ -2030,7 +2039,7 @@ clean: mostlyclean bytecode.clean lang.clean ...@@ -2030,7 +2039,7 @@ clean: mostlyclean bytecode.clean lang.clean
# Delete all files that users would normally create # Delete all files that users would normally create
# while building and installing GCC. # while building and installing GCC.
distclean: clean bytecode.distclean lang.distclean 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 config.status config.run config.cache config.bak
-rm -f Make-lang Make-hooks -rm -f Make-lang Make-hooks
-rm -f Makefile specs.h options.h *.oaux -rm -f Makefile specs.h options.h *.oaux
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment