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