doc/examples: enhance rcu-flavor-qsbr example
[urcu.git] / doc / examples / Makefile.am
1 doc_examplesdir = ${docdir}/examples
2
3 doc_examples_rcu_flavor_qsbrdir = ${doc_examplesdir}/rcu-flavor-qsbr
4
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
9
10 dist_doc_examples_DATA = \
11 Makefile.examples.template
12
13 doc_examples_listdir = ${doc_examplesdir}/list
14
15 dist_doc_examples_list_DATA = \
16 list/Makefile \
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
29
30 doc_examples_hlistdir = ${doc_examplesdir}/hlist
31
32 dist_doc_examples_hlist_DATA = \
33 hlist/Makefile \
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
42
43 doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
44
45 dist_doc_examples_wfcqueue_DATA = \
46 wfcqueue/Makefile \
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
53
54 doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
55
56 dist_doc_examples_wfstack_DATA = \
57 wfstack/Makefile \
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
64
65 doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
66
67 dist_doc_examples_lfstack_DATA = \
68 lfstack/Makefile \
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
75
76 if NO_SHARED
77 # Don't build examples if shared libraries support was explicitly
78 # disabled.
79 else
80 SUBDIRS_PROXY = rcu-flavor-qsbr list hlist wfcqueue wfstack lfstack
81
82 all-local:
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 ..; \
85 done
86
87 clean-local:
88 for subdir in $(SUBDIRS_PROXY); do \
89 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \
90 done
91 endif
This page took 0.043903 seconds and 4 git commands to generate.