85d615853f7304a540fe2debda136815f665dd0c
[userspace-rcu.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_wfcqueuedir = ${doc_examplesdir}/wfcqueue
30
31 dist_doc_examples_wfcqueue_DATA = \
32 wfcqueue/Makefile \
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
39
40 doc_examples_wfstackdir = ${doc_examplesdir}/wfstack
41
42 dist_doc_examples_wfstack_DATA = \
43 wfstack/Makefile \
44 wfstack/Makefile.cds_wfs_push \
45 wfstack/Makefile.cds_wfs_pop \
46 wfstack/cds_wfs_push.c \
47 wfstack/cds_wfs_pop.c
48
49 if NO_SHARED
50 # Don't build examples if shared libraries support was explicitly
51 # disabled.
52 else
53 SUBDIRS_PROXY = qsbr-minimal list wfcqueue wfstack
54
55 all-local:
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 ..; \
58 done
59
60 clean-local:
61 for subdir in $(SUBDIRS_PROXY); do \
62 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
63 done
64 endif
This page took 0.048178 seconds and 4 git commands to generate.