Module: wine Branch: master Commit: 0d9078a96c5a0dbf6274038bd7ae11364e9e2047 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d9078a96c5a0dbf6274038bd7... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Oct 17 12:35:33 2008 +0200 make_makefiles: Add support for .rh files. --- tools/make_makefiles | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/make_makefiles b/tools/make_makefiles index 143805b..bd0f255 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",