aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-07 16:50:40 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-07 16:50:40 +0000
commit870015b1b87a09acfc1444d824aa7bde0fb07978 (patch)
tree61a6dfc1e3eff4fe386b0037cf76efbdba475384
parent94a7312289e4257370b66efc5fc6183bc1749b47 (diff)
downloadgdb-870015b1b87a09acfc1444d824aa7bde0fb07978.zip
gdb-870015b1b87a09acfc1444d824aa7bde0fb07978.tar.gz
gdb-870015b1b87a09acfc1444d824aa7bde0fb07978.tar.bz2
* Makefile.in (do_distclean): Remove config.h and stamp-h.
(Makefile): Just rebuild Makefile. (config.h, stamp-h): New targets. * configure.in: Create stamp-h when rebuilding config.h. * configure: Rebuild.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/Makefile.in8
-rwxr-xr-xbfd/configure2
-rw-r--r--bfd/configure.in3
4 files changed, 17 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c36f574..9870638 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+Thu Sep 7 12:48:01 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (do_distclean): Remove config.h and stamp-h.
+ (Makefile): Just rebuild Makefile.
+ (config.h, stamp-h): New targets.
+ * configure.in: Create stamp-h when rebuilding config.h.
+ * configure: Rebuild.
+
Wed Sep 6 15:00:33 1995 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Call AC_CONFIG_HEADER. Substitute
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 0279f0a..a70ef0f 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -375,7 +375,7 @@ do_clean: do_mostlyclean
rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles \
elf32-target.h elf64-target.h
do_distclean: do_clean
- rm -f Makefile config.status config.cache
+ rm -f Makefile config.status config.cache config.h stamp-h
# Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
# make-stds.texi says it depends on whether they can be regenerated using
@@ -474,7 +474,11 @@ install:
fi
Makefile: Makefile.in config.status
- $(SHELL) config.status
+ CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
+
+config.h: stamp-h ; @true
+stamp-h: config.h.in config.status
+ CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
config.status: configure configure.host config.bfd
$(SHELL) config.status --recheck
diff --git a/bfd/configure b/bfd/configure
index 64696be..ec4e70f 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -1706,7 +1706,7 @@ cat >> $CONFIG_STATUS <<\EOF
fi; done
-
+case x$CONFIG_HEADERS in xconfig.h) echo > stamp-h ;; esac
exit 0
EOF
chmod +x $CONFIG_STATUS
diff --git a/bfd/configure.in b/bfd/configure.in
index 7bfe2a1..39eea25 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -480,4 +480,5 @@ test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selar
AC_SUBST(tdefaults)
rm -f doc/config.status
-AC_OUTPUT(Makefile doc/Makefile)
+AC_OUTPUT(Makefile doc/Makefile,
+[case x$CONFIG_HEADERS in xconfig.h) echo > stamp-h ;; esac])