From: Michael Matz Date: Fri, 24 Aug 2007 16:30:45 +0000 (+0000) Subject: * Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48f9f863e485dd375da902a2b0bdbf99668e5de4;p=gcc.git * Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst). From-SVN: r127775 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02646a702d7..8294c7f6bba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-08-24 Michael Matz + + * Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst). + 2007-08-24 Richard Guenther PR middle-end/33166 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 26d9a0d6aa4..9e78d35a7ca 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3094,7 +3094,7 @@ GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h \ $(srcdir)/targhooks.c $(out_file) $(srcdir)/passes.c $(srcdir)/cgraphunit.c \ @all_gtfiles@ -GTFILES_H = $(subst /,-, $(subst $(srcdir)/,gt-, $(subst .c,.h, \ +GTFILES_H = $(subst /,-, $(patsubst $(srcdir)/%,gt-%, $(patsubst %.c,%.h, \ $(filter %.c, $(GTFILES))))) GTFILES_LANG_H = $(patsubst [%], gtype-%.h, $(filter [%], $(GTFILES)))