From e224628499d5396c5b2942ab43993ba99b207c4d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 13 Apr 2012 08:37:53 -0400 Subject: [PATCH] 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 --- Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 \ -- 2.34.1