aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-05-09 21:13:56 +0000
committerDaniel Jacobowitz <drow@false.org>2005-05-09 21:13:56 +0000
commitdbdb27ec2d5ddeb8a214181881ab616ebe47b0cf (patch)
tree5a5a17f35149ec64b26b8e0abf931d79d19f8357
parent7de2c9aabd3c20f2738762e8499076096ad4db98 (diff)
downloadgdb-dbdb27ec2d5ddeb8a214181881ab616ebe47b0cf.zip
gdb-dbdb27ec2d5ddeb8a214181881ab616ebe47b0cf.tar.gz
gdb-dbdb27ec2d5ddeb8a214181881ab616ebe47b0cf.tar.bz2
* Makefile.am: Use a temporary file to build chew.
* Makefile.in: Regenerated.
-rw-r--r--bfd/doc/ChangeLog5
-rw-r--r--bfd/doc/Makefile.am7
-rw-r--r--bfd/doc/Makefile.in7
3 files changed, 15 insertions, 4 deletions
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog
index a23b37f..bd360ce 100644
--- a/bfd/doc/ChangeLog
+++ b/bfd/doc/ChangeLog
@@ -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
diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am
index 29381b9..2a7f792 100644
--- a/bfd/doc/Makefile.am
+++ b/bfd/doc/Makefile.am
@@ -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
diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in
index 86c78cc..ca272e0 100644
--- a/bfd/doc/Makefile.in
+++ b/bfd/doc/Makefile.in
@@ -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