Make.rules.in: 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 winehq.org
Wed Oct 4 14:08:05 CDT 2006


Robert Shearman <rob at codeweavers.com> writes:

> This is useful for generated files such as *_i.c and *_p.c (when widl
> can generate them).
> diff --git a/Make.rules.in b/Make.rules.in
> index 9e7ec07..68544dc 100644
> --- a/Make.rules.in
> +++ b/Make.rules.in
> @@ -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 winehq.org



More information about the wine-devel mailing list