Compat futex
[urcu.git] / Makefile.am
index f7d64f67bdf10caf37910ff5be957872dbceb88b..e4858340f66514f8298cb16149810437cd59709d 100644 (file)
@@ -3,11 +3,12 @@ INCLUDES = -I$(top_builddir)/urcu
 
 AM_LDFLAGS=-lpthread
 
-SUBDIRS = tests
+SUBDIRS = tests
 
 include_HEADERS = urcu.h $(top_srcdir)/urcu-*.h
-nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h urcu/rculist.h urcu/system.h
-nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h
+nobase_dist_include_HEADERS = urcu/compiler.h urcu/hlist.h urcu/list.h \
+               urcu/rculist.h urcu/system.h urcu/urcu-futex.h
+nobase_nodist_include_HEADERS = urcu/arch.h urcu/uatomic_arch.h urcu/config.h
 
 EXTRA_DIST = $(top_srcdir)/urcu/arch_*.h $(top_srcdir)/urcu/uatomic_arch_*.h \
                gpl-2.0.txt lgpl-2.1.txt lgpl-relicensing.txt \
@@ -19,6 +20,9 @@ else
 COMPAT=
 endif
 
+if COMPAT_FUTEX
+COMPAT+=compat_futex.c
+endif
 
 lib_LTLIBRARIES = liburcu.la liburcu-mb.la liburcu-defer.la liburcu-qsbr.la liburcu-bp.la
 
@@ -33,7 +37,7 @@ liburcu_defer_la_SOURCES = urcu-defer.c $(COMPAT)
 
 liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
 
-*.h *.c: urcu/arch.h urcu/uatomic_arch.h
+$(top_srcdir)/*.h $(top_srcdir)/*.c: urcu/arch.h urcu/uatomic_arch.h
 
 urcu/arch.h: $(top_srcdir)/urcu/arch_@ARCHTYPE@.h
        $(MKDIR_P) $(top_builddir)/urcu
This page took 0.031092 seconds and 4 git commands to generate.