aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1997-07-19 02:49:31 +0000
committerDoug Evans <dje@gnu.org>1997-07-19 02:49:31 +0000
commitd68b51efdbcc8a6732d109f984485c810a15f26d (patch)
tree66381cc92369643cd1bbc13065de62880c36c974
parent2f51182ac3209817ffcea613aa84a0a60de287ae (diff)
downloadgcc-d68b51efdbcc8a6732d109f984485c810a15f26d.zip
gcc-d68b51efdbcc8a6732d109f984485c810a15f26d.tar.gz
gcc-d68b51efdbcc8a6732d109f984485c810a15f26d.tar.bz2
(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
-rw-r--r--gcc/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 15a8000..61b2909 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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