[PATCH] build: make sure to declare the generated source files as BUILT_SOURCES

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Jun 20 19:24:09 CEST 2012


Thank you. Applied.

On 06/15/2012 09:19 PM, Diego Elio Pettenò wrote:

> This allows proper building when using parallel make on a multi-core
> system.
> 
> Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
> ---
>  src/Makefile.am |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 5550f3b..8b3b578 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -150,6 +150,9 @@ libcmd_p11tool_la_LIBADD += ../gl/libgnu.la $(INET_PTON_LIB)
>  
>  endif # ENABLE_PKCS11
>  
> +BUILT_SOURCES = ocsptool-args.c p11tool-args.c psk-args.c cli-debug-args.c \
> +		cli-args.c serv-args.c srptool-args.c certtool-args.c
> +
>  ocsptool-args.c: $(srcdir)/args-std.def $(srcdir)/ocsptool-args.def
>  	-autogen ocsptool-args.def
>  p11tool-args.c: $(srcdir)/args-std.def $(srcdir)/p11tool-args.def






More information about the Gnutls-devel mailing list