Alexandre Julliard : makefiles: Add makedep pragmas in all IDL source files.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 2 09:47:14 CST 2015


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov  2 21:23:58 2015 +0900

makefiles: Add makedep pragmas in all IDL source files.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dxdiagn/fil_data.idl           | 2 ++
 dlls/mshtml/nsiface.idl             | 2 ++
 dlls/msxml3/tests/xmlparser.idl     | 2 ++
 dlls/quartz/fil_data.idl            | 2 ++
 dlls/quartz/tests/fil_data.idl      | 2 ++
 dlls/scrrun/tests/scrrun.idl        | 3 +++
 dlls/vbscript/tests/vbsregexp55.idl | 2 ++
 dlls/wshom.ocx/tests/wshom.idl      | 2 ++
 tools/make_makefiles                | 2 ++
 9 files changed, 19 insertions(+)

diff --git a/dlls/dxdiagn/fil_data.idl b/dlls/dxdiagn/fil_data.idl
index 806c053..7e37a75 100644
--- a/dlls/dxdiagn/fil_data.idl
+++ b/dlls/dxdiagn/fil_data.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "objidl.idl";
 import "strmif.idl";
 import "unknwn.idl";
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index c0b120c..943cdb4 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -23,6 +23,8 @@
  * compatible with XPCOM, usable in C code.
  */
 
+#pragma makedep header
+
 cpp_quote("#define GECKO_VERSION \"2.40\"")
 cpp_quote("#define GECKO_VERSION_STRING \"Wine Gecko \" GECKO_VERSION")
 
diff --git a/dlls/msxml3/tests/xmlparser.idl b/dlls/msxml3/tests/xmlparser.idl
index a0ce97e..ba88afc 100644
--- a/dlls/msxml3/tests/xmlparser.idl
+++ b/dlls/msxml3/tests/xmlparser.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "unknwn.idl";
 import "objidl.idl";
 import "oaidl.idl";
diff --git a/dlls/quartz/fil_data.idl b/dlls/quartz/fil_data.idl
index 93cdf1e..ab93499 100644
--- a/dlls/quartz/fil_data.idl
+++ b/dlls/quartz/fil_data.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "objidl.idl";
 import "strmif.idl";
 import "unknwn.idl";
diff --git a/dlls/quartz/tests/fil_data.idl b/dlls/quartz/tests/fil_data.idl
index 93cdf1e..ab93499 100644
--- a/dlls/quartz/tests/fil_data.idl
+++ b/dlls/quartz/tests/fil_data.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "objidl.idl";
 import "strmif.idl";
 import "unknwn.idl";
diff --git a/dlls/scrrun/tests/scrrun.idl b/dlls/scrrun/tests/scrrun.idl
index 91e0151..86ac9e3 100644
--- a/dlls/scrrun/tests/scrrun.idl
+++ b/dlls/scrrun/tests/scrrun.idl
@@ -15,6 +15,9 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
+
+#pragma makedep header
+
 import "unknwn.idl";
 import "objidl.idl";
 import "oaidl.idl";
diff --git a/dlls/vbscript/tests/vbsregexp55.idl b/dlls/vbscript/tests/vbsregexp55.idl
index c0cf683..37dcfd1 100644
--- a/dlls/vbscript/tests/vbsregexp55.idl
+++ b/dlls/vbscript/tests/vbsregexp55.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "oaidl.idl";
 
 #include "vbscript_defs.h"
diff --git a/dlls/wshom.ocx/tests/wshom.idl b/dlls/wshom.ocx/tests/wshom.idl
index 77d64ce..c2bc416 100644
--- a/dlls/wshom.ocx/tests/wshom.idl
+++ b/dlls/wshom.ocx/tests/wshom.idl
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#pragma makedep header
+
 import "oaidl.idl";
 cpp_quote("#undef ExpandEnvironmentStrings")
 
diff --git a/tools/make_makefiles b/tools/make_makefiles
index e3cc722..7229d06 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -415,6 +415,8 @@ sub assign_sources_to_makefiles(@)
             }
             elsif ($name =~ /\.idl$/)
             {
+                my %flags = get_makedep_flags( $file );
+                die "no makedep flags specified in $file" unless %flags;
                 push @{${$make}{"=IDL_SRCS"}}, $name;
                 ${${$make}{"=flags"}}{"clean"} = 1;
             }




More information about the wine-cvs mailing list