From 0d9078a96c5a0dbf6274038bd7ae11364e9e2047 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 17 Oct 2008 12:35:33 +0200 Subject: [PATCH] make_makefiles: Add support for .rh files. --- tools/make_makefiles | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/make_makefiles b/tools/make_makefiles index 143805bafe2..bd0f2559120 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -491,11 +491,14 @@ sub update_includes() { if ($incl =~ /(.*)\//) { $subdirs{$1} = 1; } next if ($incl =~ /^wine\// && !$exported_wine_headers{$incl}); + next if ($incl =~ /\.in$/); if ($incl =~ /stdole2\.idl$/) { push @tlb_srcs, $incl; } elsif ($private_idl_headers{$incl}) { push @h_srcs, $incl; } elsif ($incl =~ /\.h$/) { push @h_srcs, $incl; } + elsif ($incl =~ /\.rh$/) { push @h_srcs, $incl; } elsif ($incl =~ /\.inl$/) { push @h_srcs, $incl; } elsif ($incl =~ /\.idl$/) { push @idl_srcs, $incl; } + else { die "unknown file $incl in include dir"; } } replace_in_file( "include/Makefile.in", '^IDL_H_SRCS\s*=', '^INSTALLDIRS', "IDL_H_SRCS = \\\n\t",