From d8cc1dccba88a01e3eaacf958f88a24b07bd869b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 2 Nov 2015 21:23:58 +0900 Subject: [PATCH] makefiles: Add makedep pragmas in all IDL source files. Signed-off-by: Alexandre Julliard --- 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 806c053429f..7e37a755d91 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 c0b120c57d9..943cdb4a3ab 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 a0ce97efd7a..ba88afc6edd 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 93cdf1e43dd..ab93499a8bc 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 93cdf1e43dd..ab93499a8bc 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 91e01517ae3..86ac9e320d7 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 c0cf68375ec..37dcfd1e10c 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 77d64ce2ae5..c2bc4162212 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 e3cc722f235..7229d061a5e 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; }