-autogenerate dxsdk headers as part of the build as requested
authorMarc Piulachs <marc.piulachs@live.com>
Wed, 7 May 2008 20:49:15 +0000 (20:49 +0000)
committerMarc Piulachs <marc.piulachs@live.com>
Wed, 7 May 2008 20:49:15 +0000 (20:49 +0000)
svn path=/trunk/; revision=33352

reactos/tools/rbuild/backend/mingw/modulehandler.cpp

index cd43bf3..bd2bdc9 100644 (file)
@@ -2301,8 +2301,12 @@ MingwModuleHandler::GetDefaultDependencies (
        if ( module.host == HostTrue )
                return;
 
-       if ( module.name != "psdk" )
+       if (module.name != "psdk" && 
+               module.name != "dxsdk")
+       {
                dependencies.push_back ( "$(PSDK_TARGET) $(psdk_HEADERS)" );
+               dependencies.push_back ( "$(DXSDK_TARGET) $(dxsdk_HEADERS)" );
+       }
 
        /* Check if any dependent library relies on the generated headers */
        for ( size_t i = 0; i < module.project.modules.size (); i++ )