1 doc_examplesdir = ${docdir}/examples
3 doc_examples_qsbr_minimaldir = ${doc_examplesdir}/qsbr-minimal
5 dist_doc_examples_qsbr_minimal_DATA = \
6 qsbr-minimal/Makefile \
7 qsbr-minimal/qsbr-minimal.c
9 dist_doc_examples_DATA = \
10 Makefile.examples.template
12 doc_examples_listdir = ${doc_examplesdir}/list
14 dist_doc_examples_list_DATA = \
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
29 doc_examples_wfcqueuedir = ${doc_examplesdir}/wfcqueue
31 dist_doc_examples_wfcqueue_DATA = \
33 wfcqueue/Makefile.cds_wfcq_enqueue \
34 wfcqueue/Makefile.cds_wfcq_dequeue \
35 wfcqueue/Makefile.cds_wfcq_splice \
36 wfcqueue/cds_wfcq_enqueue.c \
37 wfcqueue/cds_wfcq_dequeue.c \
38 wfcqueue/cds_wfcq_splice.c
40 doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
42 dist_doc_examples_wfstack_DATA = \
44 wfstack/Makefile.cds_wfs_push \
45 wfstack/Makefile.cds_wfs_pop \
46 wfstack/cds_wfs_push.c \
50 # Don't build examples if shared libraries support was explicitly
53 SUBDIRS_PROXY = qsbr-minimal list wfcqueue wfstack
56 for subdir in $(SUBDIRS_PROXY); do \
57 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
61 for subdir in $(SUBDIRS_PROXY); do \
62 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \