aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2007-08-24 16:30:45 +0000
committerMichael Matz <matz@gcc.gnu.org>2007-08-24 16:30:45 +0000
commit48f9f863e485dd375da902a2b0bdbf99668e5de4 (patch)
tree21352b467634d62df0f296984eadef9f0ea3115e /gcc/Makefile.in
parent28dc6b33c4b8bfbd36866e084e2263ef384c1bbc (diff)
downloadgcc-48f9f863e485dd375da902a2b0bdbf99668e5de4.zip
gcc-48f9f863e485dd375da902a2b0bdbf99668e5de4.tar.gz
gcc-48f9f863e485dd375da902a2b0bdbf99668e5de4.tar.bz2
* Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst).
From-SVN: r127775
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 26d9a0d..9e78d35 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)))