9471957f879ae613e7853b9d3f54c87b3d2091d9
[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_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/Makefile.cds_wfs_pop_all_blocking \
47 wfstack/cds_wfs_push.c \
48 wfstack/cds_wfs_pop.c \
49 wfstack/cds_wfs_pop_all_blocking.c
50
51 doc_examples_lfstackdir = ${doc_examplesdir}/lfstack
52
53 dist_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
62 if NO_SHARED
63 # Don't build examples if shared libraries support was explicitly
64 # disabled.
65 else
66 SUBDIRS_PROXY = qsbr-minimal list wfcqueue wfstack
67
68 all-local:
69 for subdir in $(SUBDIRS_PROXY); do \
70 cd $$subdir && $(MAKE) AM_CPPFLAGS="-I../../../urcu/ -I../../../" AM_LDFLAGS='-L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all; cd ..; \
71 done
72
73 clean-local:
74 for subdir in $(SUBDIRS_PROXY); do \
75 cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) clean; cd ..; \
76 done
77 endif
This page took 0.040826 seconds and 3 git commands to generate.