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