Add a new make variable "C_GEN_SRCS" for C files that need to be generated before makedep can be run on them.

Alexandre Julliard julliard at
Wed Oct 4 14:08:05 CDT 2006

Robert Shearman <rob at> writes:

> This is useful for generated files such as *_i.c and *_p.c (when widl
> can generate them).
> diff --git a/ b/
> index 9e7ec07..68544dc 100644
> --- a/
> +++ b/
> @@ -8,6 +8,7 @@ # MODULE       : name of the module bein
>  #
>  # Each individual makefile may define the following additional variables:
>  # C_SRCS       : C sources for the module
> +# C_GEN_SRCS   : C sources that are generated for the module

You shouldn't need that. IDL files will be listed as sources and make
depend will be able to handle that properly, just like it handles idl
headers already.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list