+2004-11-18 Jon Grimm <jgrimm2@us.ibm.com>
+
+ * Makefile.in (macro_list): Depend on s-macro_list.
+ (s-macro_list): New target.
+
2004-11-18 Nathan Sidwell <nathan@codesourcery.com>
PR target/17107
install-gcc-tooldir:
$(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
-macro_list : $(GCC_PASSES)
+macro_list: s-macro_list; @true
+s-macro_list : $(GCC_PASSES)
echo | $(GCC_FOR_TARGET) -E -dM - | \
sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
- sort -u > tmp-$@
- $(SHELL) $(srcdir)/../move-if-change tmp-$@ $@
+ sort -u > tmp-macro_list
+ $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
+ $(STAMP) s-macro_list
# Build fixed copies of system files.
stmp-fixinc: gsyslimits.h macro_list \