* Makefile.am: Use a temporary file to build chew.
authorDaniel Jacobowitz <drow@false.org>
Mon, 9 May 2005 21:13:56 +0000 (21:13 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 9 May 2005 21:13:56 +0000 (21:13 +0000)
* Makefile.in: Regenerated.

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

index a23b37f8e210c50cec16cc1761f61b5e1495da95..bd360ce46b4dc6a7fda71b51abea6cae0eb4be2b 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-05-04  Nick Clifton  <nickc@redhat.com>
 
        * chew.c: Update the address and phone number of the FSF
index 29381b96b46c1ed0fc931411f032453284c19a08..2a7f792b0215b406aeb4a8c25816b103c136b8db 100644 (file)
@@ -57,8 +57,11 @@ MKDOC = chew$(EXEEXT_FOR_BUILD)
 INCLUDES = -I.. -I$(srcdir)/.. -I$(srcdir)/../../include \
        -I$(srcdir)/../../intl -I../../intl
 
-$(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 $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c
index 86c78cc51259321a05fd5dbc213c28eec5e509a2..ca272e08262582322254f1f127f75efb66800d55 100644 (file)
@@ -586,8 +586,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 $(INCLUDES) $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c