doc/examples: add mb flavor
[urcu.git] / doc / examples / Makefile.am
CommitLineData
8bad63a0
MD
1doc_examplesdir = ${docdir}/examples
2
6df9f02d 3doc_examples_urcu_flavorsdir = ${doc_examplesdir}/urcu-flavors
8bad63a0 4
6df9f02d
MD
5dist_doc_examples_urcu_flavors_DATA = \
6 urcu-flavors/Makefile \
7 urcu-flavors/Makefile.qsbr \
94450481
MD
8 urcu-flavors/Makefile.mb \
9 urcu-flavors/qsbr.c \
10 urcu-flavors/mb.c
8bad63a0 11
f37f1d93
MD
12dist_doc_examples_DATA = \
13 Makefile.examples.template
14
15doc_examples_listdir = ${doc_examplesdir}/list
16
17dist_doc_examples_list_DATA = \
18 list/Makefile \
19 list/Makefile.cds_list_add_rcu \
05796604 20 list/Makefile.cds_list_add_tail_rcu \
06ced8d6 21 list/Makefile.cds_list_del_rcu \
17fb3188 22 list/Makefile.cds_list_for_each_rcu \
d427bff9 23 list/Makefile.cds_list_for_each_entry_rcu \
7eba9f88 24 list/Makefile.cds_list_replace_rcu \
06ced8d6 25 list/cds_list_add_rcu.c \
05796604 26 list/cds_list_add_tail_rcu.c \
7eba9f88 27 list/cds_list_del_rcu.c \
17fb3188 28 list/cds_list_for_each_rcu.c \
d427bff9 29 list/cds_list_for_each_entry_rcu.c \
7eba9f88 30 list/cds_list_replace_rcu.c
f37f1d93 31
474190bf
MD
32doc_examples_hlistdir = ${doc_examplesdir}/hlist
33
34dist_doc_examples_hlist_DATA = \
35 hlist/Makefile \
36 hlist/Makefile.cds_hlist_add_head_rcu \
37 hlist/Makefile.cds_hlist_del_rcu \
38 hlist/Makefile.cds_hlist_for_each_rcu \
39 hlist/Makefile.cds_hlist_for_each_entry_rcu \
40 hlist/cds_hlist_add_head_rcu.c \
41 hlist/cds_hlist_del_rcu.c \
42 hlist/cds_hlist_for_each_rcu.c \
43 hlist/cds_hlist_for_each_entry_rcu.c
44
48337075
MD
45doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
46
47dist_doc_examples_wfcqueue_DATA = \
0bee4069 48 wfcqueue/Makefile \
48337075 49 wfcqueue/Makefile.cds_wfcq_enqueue \
c83da169 50 wfcqueue/Makefile.cds_wfcq_dequeue \
8f09dfa7 51 wfcqueue/Makefile.cds_wfcq_splice \
c83da169 52 wfcqueue/cds_wfcq_enqueue.c \
8f09dfa7
MD
53 wfcqueue/cds_wfcq_dequeue.c \
54 wfcqueue/cds_wfcq_splice.c
48337075 55
3709f861
MD
56doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
57
58dist_doc_examples_wfstack_DATA = \
0bee4069 59 wfstack/Makefile \
3709f861 60 wfstack/Makefile.cds_wfs_push \
95bba308 61 wfstack/Makefile.cds_wfs_pop \
53a77191 62 wfstack/Makefile.cds_wfs_pop_all_blocking \
95bba308 63 wfstack/cds_wfs_push.c \
53a77191
MD
64 wfstack/cds_wfs_pop.c \
65 wfstack/cds_wfs_pop_all_blocking.c
3709f861 66
a5fb5b81
MD
67doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
68
69dist_doc_examples_lfstack_DATA = \
70 lfstack/Makefile \
71 lfstack/Makefile.cds_lfs_push \
72 lfstack/Makefile.cds_lfs_pop_blocking \
73 lfstack/Makefile.cds_lfs_pop_all_blocking \
74 lfstack/cds_lfs_push.c \
75 lfstack/cds_lfs_pop_blocking.c \
76 lfstack/cds_lfs_pop_all_blocking.c
77
c50fdd7c
MD
78if NO_SHARED
79# Don't build examples if shared libraries support was explicitly
80# disabled.
81else
94450481 82SUBDIRS_PROXY = urcu-flavors list hlist wfcqueue wfstack lfstack
c50fdd7c
MD
83
84all-local:
85 for subdir in $(SUBDIRS_PROXY); do \
828cd6e8 86 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all && cd ..; \
c50fdd7c
MD
87 done
88
89clean-local:
90 for subdir in $(SUBDIRS_PROXY); do \
828cd6e8 91 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean && cd ..; \
c50fdd7c 92 done
2f49a496 93endif
This page took 0.038751 seconds and 4 git commands to generate.