From: Mathieu Desnoyers Date: Fri, 13 Apr 2012 12:37:53 +0000 (-0400) Subject: Fix out-of-tree build X-Git-Tag: v0.7.0~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e224628499d5396c5b2942ab43993ba99b207c4d;p=urcu.git Fix out-of-tree build Wildcards in automake seems to require that we prepent $(top_srcdir) to get out-of-tree build to work. Other non-wildcards work fine without the $(top_srcdir) prefix, so leaving as-is. Fixes #94 Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile.am b/Makefile.am index a24cf60..e5facf7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,9 +15,10 @@ nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \ urcu/rculist.h urcu/rcuhlist.h urcu/system.h urcu/futex.h \ urcu/uatomic/generic.h urcu/arch/generic.h urcu/wfstack.h \ urcu/wfqueue.h urcu/rculfstack.h urcu/rculfqueue.h \ - urcu/ref.h urcu/map/*.h urcu/static/*.h urcu/cds.h \ - urcu/urcu_ref.h urcu/urcu-futex.h urcu/uatomic_arch.h \ - urcu/rculfhash.h + urcu/ref.h urcu/cds.h urcu/urcu_ref.h urcu/urcu-futex.h \ + urcu/uatomic_arch.h urcu/rculfhash.h \ + $(top_srcdir)/urcu/map/*.h \ + $(top_srcdir)/urcu/static/*.h nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic.h urcu/config.h EXTRA_DIST = $(top_srcdir)/urcu/arch/*.h $(top_srcdir)/urcu/uatomic/*.h \