From 48f9f863e485dd375da902a2b0bdbf99668e5de4 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 24 Aug 2007 16:30:45 +0000 Subject: [PATCH] * Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst). From-SVN: r127775 --- gcc/ChangeLog | 4 ++++ gcc/Makefile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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))) -- 2.30.2