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