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