Francois Gouget : winapi_check: gdi32.dll and gdi. exe have some extra sources in subdirectories.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 20 14:19:05 CST 2007


Module: wine
Branch: master
Commit: 2138bab79f4732baafb726233356f03fcc88d872
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2138bab79f4732baafb726233356f03fcc88d872

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Feb 20 15:51:30 2007 +0100

winapi_check: gdi32.dll and gdi.exe have some extra sources in subdirectories.

---

 tools/winapi/modules.pm |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/tools/winapi/modules.pm b/tools/winapi/modules.pm
index 14b29b8..cbf1a2a 100644
--- a/tools/winapi/modules.pm
+++ b/tools/winapi/modules.pm
@@ -110,6 +110,17 @@ sub find_spec_files($) {
         $$spec_file_found{$spec_file}++;
         $$spec_file2dir{$spec_file}{$allowed_dir}++;
         $$dir2spec_file{$allowed_dir}{$spec_file}++;
+        # gdi32.dll and gdi.exe have some extra sources in subdirectories
+        if ($spec_file =~ m!/gdi32\.spec$!)
+        {
+            $$spec_file2dir{$spec_file}{"$allowed_dir/enhmfdrv"}++;
+            $$dir2spec_file{"$allowed_dir/enhmfdrv"}{$spec_file}++;
+        }
+        if ($spec_file =~ m!/gdi(?:32|\.exe)\.spec$!)
+        {
+            $$spec_file2dir{$spec_file}{"$allowed_dir/mfdrv"}++;
+            $$dir2spec_file{"$allowed_dir/mfdrv"}{$spec_file}++;
+        }
     }
 
     return $spec_file_found;




More information about the wine-cvs mailing list