1 doc_examplesdir = ${docdir}/examples
3 doc_examples_rcu_flavor_qsbrdir = ${doc_examplesdir}/rcu-flavor-qsbr
5 dist_doc_examples_rcu_flavor_qsbr_DATA = \
6 rcu-flavor-qsbr/Makefile \
7 rcu-flavor-qsbr/Makefile.rcu-flavor-qsbr \
8 rcu-flavor-qsbr/rcu-flavor-qsbr.c
10 dist_doc_examples_DATA = \
11 Makefile.examples.template
13 doc_examples_listdir = ${doc_examplesdir}/list
15 dist_doc_examples_list_DATA = \
17 list/Makefile.cds_list_add_rcu \
18 list/Makefile.cds_list_add_tail_rcu \
19 list/Makefile.cds_list_del_rcu \
20 list/Makefile.cds_list_for_each_rcu \
21 list/Makefile.cds_list_for_each_entry_rcu \
22 list/Makefile.cds_list_replace_rcu \
23 list/cds_list_add_rcu.c \
24 list/cds_list_add_tail_rcu.c \
25 list/cds_list_del_rcu.c \
26 list/cds_list_for_each_rcu.c \
27 list/cds_list_for_each_entry_rcu.c \
28 list/cds_list_replace_rcu.c
30 doc_examples_hlistdir = ${doc_examplesdir}/hlist
32 dist_doc_examples_hlist_DATA = \
34 hlist/Makefile.cds_hlist_add_head_rcu \
35 hlist/Makefile.cds_hlist_del_rcu \
36 hlist/Makefile.cds_hlist_for_each_rcu \
37 hlist/Makefile.cds_hlist_for_each_entry_rcu \
38 hlist/cds_hlist_add_head_rcu.c \
39 hlist/cds_hlist_del_rcu.c \
40 hlist/cds_hlist_for_each_rcu.c \
41 hlist/cds_hlist_for_each_entry_rcu.c
43 doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
45 dist_doc_examples_wfcqueue_DATA = \
47 wfcqueue/Makefile.cds_wfcq_enqueue \
48 wfcqueue/Makefile.cds_wfcq_dequeue \
49 wfcqueue/Makefile.cds_wfcq_splice \
50 wfcqueue/cds_wfcq_enqueue.c \
51 wfcqueue/cds_wfcq_dequeue.c \
52 wfcqueue/cds_wfcq_splice.c
54 doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
56 dist_doc_examples_wfstack_DATA = \
58 wfstack/Makefile.cds_wfs_push \
59 wfstack/Makefile.cds_wfs_pop \
60 wfstack/Makefile.cds_wfs_pop_all_blocking \
61 wfstack/cds_wfs_push.c \
62 wfstack/cds_wfs_pop.c \
63 wfstack/cds_wfs_pop_all_blocking.c
65 doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
67 dist_doc_examples_lfstack_DATA = \
69 lfstack/Makefile.cds_lfs_push \
70 lfstack/Makefile.cds_lfs_pop_blocking \
71 lfstack/Makefile.cds_lfs_pop_all_blocking \
72 lfstack/cds_lfs_push.c \
73 lfstack/cds_lfs_pop_blocking.c \
74 lfstack/cds_lfs_pop_all_blocking.c
77 # Don't build examples if shared libraries support was explicitly
80 SUBDIRS_PROXY = rcu-flavor-qsbr list hlist wfcqueue wfstack lfstack
83 for subdir in $(SUBDIRS_PROXY); do \
84 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \
88 for subdir in $(SUBDIRS_PROXY); do \
89 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \