]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* Makefile.in (macro_list): Depend on s-macro_list.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2004 12:55:57 +0000 (12:55 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Nov 2004 12:55:57 +0000 (12:55 +0000)
(s-macro_list): New target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90859 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 4766d4ac507aa37302f958948d5792c32bc846f8..817e447be5e7466c414878967dae8728b773eede 100644 (file)
@@ -1,3 +1,8 @@
+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
index 3765d9cac7f9e732a55edc7c23d0573b425f4c3f..88493d5cc111ef52394ab90fd972164c8971551b 100644 (file)
@@ -2792,12 +2792,14 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) xlimits.h
 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 \