(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.
+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".
2004-11-11 Andreas Schwab <schwab@suse.de>
* sim_calls.c: Include "libiberty.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)"' $<
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
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
+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=""; \
tmp-hw: Makefile $(HW_SRC) $(srcdir)/../../move-if-change
# The first for loop is to remove duplicates.
f=""; \
tmp-pk: Makefile $(PACKAGE_SRC) $(srcdir)/../../move-if-change
# The first for loop is to remove duplicates.
f=""; \
tmp-pk: Makefile $(PACKAGE_SRC) $(srcdir)/../../move-if-change
# The first for loop is to remove duplicates.
f=""; \