]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* Makefile.am: Use a temporary file to build chew.
authorDaniel Jacobowitz <drow@false.org>
Mon, 9 May 2005 21:14:24 +0000 (21:14 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 9 May 2005 21:14:24 +0000 (21:14 +0000)
* Makefile.in: Regenerated.

bfd/doc/ChangeLog
bfd/doc/Makefile.am
bfd/doc/Makefile.in

index 3fb23cad008b5d746b23456d6e3016b1ab3b95ea..943d9bd09f83019f627b8aabbddf5973419b2912 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Use a temporary file to build chew.
+       * Makefile.in: Regenerated.
+
 2005-04-29  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.am: Remove stamp rules.  Depend on chew.c
index c7f3029c1f3f391efe909a5835039696ac451876..4e36b5135d06daa047f57abc9778566546f20710 100644 (file)
@@ -54,8 +54,11 @@ info_TEXINFOS = bfd.texinfo
 
 MKDOC = chew$(EXEEXT_FOR_BUILD)
 
-$(MKDOC): chew.o
-       $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD)
+$(MKDOC): $(srcdir)/chew.c
+       $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \
+         $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \
+         $(INCLUDES); \
+       $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC)
 
 chew.o: chew.c
        $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c
index 9c38ba756a7361d07c941b58f74f872715e66a32..8b6d02b144fe3467d57a8d465d73ca68bc445ace 100644 (file)
@@ -582,8 +582,11 @@ uninstall-am:
        uninstall uninstall-am uninstall-info-am
 
 
-$(MKDOC): chew.o
-       $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD)
+$(MKDOC): $(srcdir)/chew.c
+       $(CC_FOR_BUILD) -o chew.$$$$ $(srcdir)/chew.c \
+         $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(H_CFLAGS) \
+         $(INCLUDES); \
+       $(SHELL) $(srcdir)/../../move-if-change chew.$$$$ $(MKDOC)
 
 chew.o: chew.c
        $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c