hlist/rcuhlist update
[urcu.git] / doc / examples / Makefile.am
CommitLineData
8bad63a0
MD
1doc_examplesdir = ${docdir}/examples
2
3doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal
4
c50fdd7c 5dist_doc_examples_qsbr_minimal_DATA = \
8bad63a0
MD
6 qsbr-minimal/Makefile \
7 qsbr-minimal/qsbr-minimal.c
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
48337075
MD
29doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
30
31dist_doc_examples_wfcqueue_DATA = \
0bee4069 32 wfcqueue/Makefile \
48337075 33 wfcqueue/Makefile.cds_wfcq_enqueue \
c83da169 34 wfcqueue/Makefile.cds_wfcq_dequeue \
8f09dfa7 35 wfcqueue/Makefile.cds_wfcq_splice \
c83da169 36 wfcqueue/cds_wfcq_enqueue.c \
8f09dfa7
MD
37 wfcqueue/cds_wfcq_dequeue.c \
38 wfcqueue/cds_wfcq_splice.c
48337075 39
3709f861
MD
40doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
41
42dist_doc_examples_wfstack_DATA = \
0bee4069 43 wfstack/Makefile \
3709f861 44 wfstack/Makefile.cds_wfs_push \
95bba308 45 wfstack/Makefile.cds_wfs_pop \
53a77191 46 wfstack/Makefile.cds_wfs_pop_all_blocking \
95bba308 47 wfstack/cds_wfs_push.c \
53a77191
MD
48 wfstack/cds_wfs_pop.c \
49 wfstack/cds_wfs_pop_all_blocking.c
3709f861 50
a5fb5b81
MD
51doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
52
53dist_doc_examples_lfstack_DATA = \
54 lfstack/Makefile \
55 lfstack/Makefile.cds_lfs_push \
56 lfstack/Makefile.cds_lfs_pop_blocking \
57 lfstack/Makefile.cds_lfs_pop_all_blocking \
58 lfstack/cds_lfs_push.c \
59 lfstack/cds_lfs_pop_blocking.c \
60 lfstack/cds_lfs_pop_all_blocking.c
61
c50fdd7c
MD
62if NO_SHARED
63# Don't build examples if shared libraries support was explicitly
64# disabled.
65else
3709f861 66SUBDIRS_PROXY = qsbr-minimal list wfcqueue wfstack
c50fdd7c
MD
67
68all-local:
69 for subdir in $(SUBDIRS_PROXY); do \
b45f263b 70 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
c50fdd7c
MD
71 done
72
73clean-local:
74 for subdir in $(SUBDIRS_PROXY); do \
b45f263b 75 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
c50fdd7c 76 done
2f49a496 77endif
This page took 0.026536 seconds and 4 git commands to generate.