[ltt-dev] [PATCH] urcu: fix dependencies on libwfqueue.la

Mathieu Desnoyers compudj at krystal.dyndns.org
Thu Jun 9 10:15:41 EDT 2011


* Paolo Bonzini (pbonzini at redhat.com) wrote:
> Without this patch, "make -jN" usually fails for N as low as 4.

Merged, thanks!

Mathieu

> 
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> ---
>  Makefile.am |   15 +++++++++++----
>  1 files changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 702fd6f..c307a4c 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -34,19 +34,26 @@ lib_LTLIBRARIES = liburcu.la liburcu-qsbr.la liburcu-mb.la liburcu-signal.la \
>  		  libwfqueue.la libwfstack.la librculfqueue.la librculfstack.la
>  
>  liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
> -liburcu_la_CFLAGS = -lwfqueue
> +liburcu_la_LIBADD = -lwfqueue
> +liburcu_la_DEPENDENCIES = libwfqueue.la
>  
>  liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
> -liburcu_qsbr_la_CFLAGS = -lwfqueue
> +liburcu_qsbr_la_LIBADD = -lwfqueue
> +liburcu_qsbr_la_DEPENDENCIES = libwfqueue.la
>  
>  liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
> -liburcu_mb_la_CFLAGS = -DRCU_MB -lwfqueue
> +liburcu_mb_la_CFLAGS = -DRCU_MB
> +liburcu_mb_la_LIBADD = -lwfqueue
> +liburcu_mb_la_DEPENDENCIES = libwfqueue.la
>  
>  liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
> -liburcu_signal_la_CFLAGS = -DRCU_SIGNAL -lwfqueue
> +liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
> +liburcu_signal_la_LIBADD = -lwfqueue
> +liburcu_signal_la_DEPENDENCIES = libwfqueue.la
>  
>  liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
>  liburcu_bp_la_CFLAGS = -lwfqueue
> +liburcu_bp_la_DEPENDENCIES = libwfqueue.la
>  
>  libwfqueue_la_SOURCES = wfqueue.c $(COMPAT)
>  libwfstack_la_SOURCES = wfstack.c $(COMPAT)
> -- 
> 1.7.4.4
> 
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list