1 doc_examplesdir = ${docdir}/examples
3 doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal
5 dist_doc_examples_qsbr_minimal_DATA = \
6 qsbr-minimal/Makefile \
7 qsbr-minimal/qsbr-minimal.c
9 dist_doc_examples_DATA = \
10 Makefile.examples.template
12 doc_examples_listdir = ${doc_examplesdir}/list
14 dist_doc_examples_list_DATA = \
16 list/Makefile.cds_list_add_rcu \
17 list/Makefile.cds_list_add_tail_rcu \
18 list/Makefile.cds_list_del_rcu \
19 list/Makefile.cds_list_for_each_rcu \
20 list/Makefile.cds_list_for_each_entry_rcu \
21 list/Makefile.cds_list_replace_rcu \
22 list/cds_list_add_rcu.c \
23 list/cds_list_add_tail_rcu.c \
24 list/cds_list_del_rcu.c \
25 list/cds_list_for_each_rcu.c \
26 list/cds_list_for_each_entry_rcu.c \
27 list/cds_list_replace_rcu.c
29 doc_examples_hlistdir = ${doc_examplesdir}/hlist
31 dist_doc_examples_hlist_DATA = \
33 hlist/Makefile.cds_hlist_add_head_rcu \
34 hlist/Makefile.cds_hlist_del_rcu \
35 hlist/Makefile.cds_hlist_for_each_rcu \
36 hlist/Makefile.cds_hlist_for_each_entry_rcu \
37 hlist/cds_hlist_add_head_rcu.c \
38 hlist/cds_hlist_del_rcu.c \
39 hlist/cds_hlist_for_each_rcu.c \
40 hlist/cds_hlist_for_each_entry_rcu.c
42 doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
44 dist_doc_examples_wfcqueue_DATA = \
46 wfcqueue/Makefile.cds_wfcq_enqueue \
47 wfcqueue/Makefile.cds_wfcq_dequeue \
48 wfcqueue/Makefile.cds_wfcq_splice \
49 wfcqueue/cds_wfcq_enqueue.c \
50 wfcqueue/cds_wfcq_dequeue.c \
51 wfcqueue/cds_wfcq_splice.c
53 doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
55 dist_doc_examples_wfstack_DATA = \
57 wfstack/Makefile.cds_wfs_push \
58 wfstack/Makefile.cds_wfs_pop \
59 wfstack/Makefile.cds_wfs_pop_all_blocking \
60 wfstack/cds_wfs_push.c \
61 wfstack/cds_wfs_pop.c \
62 wfstack/cds_wfs_pop_all_blocking.c
64 doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
66 dist_doc_examples_lfstack_DATA = \
68 lfstack/Makefile.cds_lfs_push \
69 lfstack/Makefile.cds_lfs_pop_blocking \
70 lfstack/Makefile.cds_lfs_pop_all_blocking \
71 lfstack/cds_lfs_push.c \
72 lfstack/cds_lfs_pop_blocking.c \
73 lfstack/cds_lfs_pop_all_blocking.c
76 # Don't build examples if shared libraries support was explicitly
79 SUBDIRS_PROXY = qsbr-minimal list hlist wfcqueue wfstack lfstack
82 for subdir in $(SUBDIRS_PROXY); do \
83 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
87 for subdir in $(SUBDIRS_PROXY); do \
88 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \