* Makefile.in (do_distclean): Remove config.h and stamp-h.
authorIan Lance Taylor <ian@airs.com>
Thu, 7 Sep 1995 16:50:40 +0000 (16:50 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 7 Sep 1995 16:50:40 +0000 (16:50 +0000)
(Makefile): Just rebuild Makefile.
(config.h, stamp-h): New targets.
* configure.in: Create stamp-h when rebuilding config.h.
* configure: Rebuild.

bfd/ChangeLog
bfd/Makefile.in
bfd/configure
bfd/configure.in

index c36f574334371492298ade2aa114483d064186df..98706381e7fddc5e9444e150b6e551ee43e6cf75 100644 (file)
@@ -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
index 0279f0a54b954d21d341b83b6e3a8db2b95e9ba5..a70ef0fe807d18c76d2c7bbadcc029a2102f8a6c 100644 (file)
@@ -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
index 64696be518b63a406938db6b2ba60971146cfa65..ec4e70f186509cdc48f3bae2c1c577ce99eb040b 100755 (executable)
@@ -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
index 7bfe2a1d9b6194d085a6a314474c1bd3f381cf86..39eea25802d3cea25d65e9b7ad77ea14cb134b45 100644 (file)
@@ -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])
This page took 0.033223 seconds and 4 git commands to generate.