aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-11-16 10:21:19 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-11-16 10:21:19 +0000
commit99b572768794355ea6e6ad7d46d63a3fb24ae58e (patch)
tree775df8533ff77b5420c50eafbee884abc251858b /sim/ppc
parent353057a53cee99996317c9038f7de664a7d38b4c (diff)
downloadgdb-99b572768794355ea6e6ad7d46d63a3fb24ae58e.zip
gdb-99b572768794355ea6e6ad7d46d63a3fb24ae58e.tar.gz
gdb-99b572768794355ea6e6ad7d46d63a3fb24ae58e.tar.bz2
* Makefile.in (defines.h): Depend on tmp-defines.
(hw.c hw.h): Depend on tmp-hw. (pk.h): Depend on tmp-pk.
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog6
-rw-r--r--sim/ppc/Makefile.in3
2 files changed, 9 insertions, 0 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index b2d43c1..a7e00e6 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-16 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (defines.h): Depend on tmp-defines.
+ (hw.c hw.h): Depend on tmp-hw.
+ (pk.h): Depend on tmp-pk.
+
2004-11-11 Andreas Schwab <schwab@suse.de>
* sim_calls.c: Include "libiberty.h".
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
index 6b393ad..6f76ebd 100644
--- a/sim/ppc/Makefile.in
+++ b/sim/ppc/Makefile.in
@@ -660,6 +660,7 @@ tconfig.h:
options.o: options.c $(CPU_H) $(OPTIONS_H) $(DEFINES_H) $(BASICS_H) $(IDECODE_H) $(INLINE) $(LIB_SRC) $(BUILT_SRC) config.status Makefile
$(CC) -c $(STD_CFLAGS) '-DOPCODE_RULES="@sim_opcode@"' '-DIGEN_FLAGS="$(IGEN_FLAGS)"' '-DDGEN_FLAGS="$(DGEN_FLAGS)"' $<
+defines.h: tmp-defines; @true
tmp-defines: config.h Makefile
sed -n -e '/^#define HAVE_/s/ 1$$/",/' -e '/^#define HAVE_/s//"HAVE_/p' < config.h > tmp-defines.h
$(SHELL) $(srcdir)/../../move-if-change tmp-defines.h defines.h
@@ -787,6 +788,7 @@ misc.o: misc.c $(CONFIG_H) $(MISC_H)
# real hardware
+hw.c hw.h: tmp-hw; @true
tmp-hw: Makefile $(HW_SRC) $(srcdir)/../../move-if-change
# The first for loop is to remove duplicates.
f=""; \
@@ -838,6 +840,7 @@ hw_vm.o: hw_vm.c $(DEVICE_TABLE_H) $(CPU_H)
# real packages
+pk.h: tmp-pk; @true
tmp-pk: Makefile $(PACKAGE_SRC) $(srcdir)/../../move-if-change
# The first for loop is to remove duplicates.
f=""; \