Commit 1787e8f0 authored by Alexandre Julliard's avatar Alexandre Julliard

makedep: Add support for dll registration files.

parent 1a2837a0
...@@ -761,8 +761,9 @@ static void parse_file( INCL_FILE *pFile, int src ) ...@@ -761,8 +761,9 @@ static void parse_file( INCL_FILE *pFile, int src )
return; return;
} }
/* don't try to open .tlb files */ /* don't try to open .tlb or .res files */
if (strendswith( pFile->name, ".tlb" )) if (strendswith( pFile->name, ".tlb" ) ||
strendswith( pFile->name, ".res" ))
{ {
pFile->filename = xstrdup( pFile->name ); pFile->filename = xstrdup( pFile->name );
return; return;
...@@ -885,9 +886,14 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column ) ...@@ -885,9 +886,14 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column )
free( name ); free( name );
suffix++; suffix++;
} }
name = strmake( "%s_r.res", obj );
if (find_src_file( name )) *column += fprintf( file, " %s", name );
free( name );
*column += fprintf( file, ": %s", pFile->filename ); *column += fprintf( file, ": %s", pFile->filename );
} }
else if (!strcmp( ext, "tlb" )) else if (!strcmp( ext, "tlb" ) || !strcmp( ext, "res" ))
{ {
return 0; /* nothing to do for typelib files */ return 0; /* nothing to do for typelib files */
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment