doc_examplesdir = ${docdir}/examples
-doc_examples_rcu_flavor_qsbrdir = ${doc_examplesdir}/rcu-flavor-qsbr
-
-dist_doc_examples_rcu_flavor_qsbr_DATA = \
- rcu-flavor-qsbr/Makefile \
- rcu-flavor-qsbr/rcu-flavor-qsbr.c
+doc_examples_urcu_flavorsdir = ${doc_examplesdir}/urcu-flavors
+
+dist_doc_examples_urcu_flavors_DATA = \
+ urcu-flavors/Makefile \
+ urcu-flavors/Makefile.qsbr \
+ urcu-flavors/Makefile.mb \
+ urcu-flavors/Makefile.membarrier \
+ urcu-flavors/Makefile.signal \
+ urcu-flavors/qsbr.c \
+ urcu-flavors/mb.c \
+ urcu-flavors/membarrier.c \
+ urcu-flavors/signal.c
dist_doc_examples_DATA = \
+ dist-files/Makefile \
Makefile.examples.template
doc_examples_listdir = ${doc_examplesdir}/list
# Don't build examples if shared libraries support was explicitly
# disabled.
else
-SUBDIRS_PROXY = rcu-flavor-qsbr list hlist wfcqueue wfstack lfstack
-
all-local:
- for subdir in $(SUBDIRS_PROXY); do \
- cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \
- done
+ $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
clean-local:
- for subdir in $(SUBDIRS_PROXY); do \
- cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \
- done
+ $(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean;
endif